@import "./ui-polish.css";
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--navy:#112c48;--blue:#2364b4;--muted:#758394;--border:#e6ebef;--bg:#f7f9fb;--green:#448a76}*{box-sizing:border-box}body{margin:0;color:#203349;background:var(--bg);font-family:'DM Sans',Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}button{color:inherit}a{color:#2963a5;text-decoration:none}button{border:0;background:none}h1,h2,h3,.brand{font-family:'Manrope',Arial,sans-serif}h1{font-size:30px;letter-spacing:-1.15px;margin:9px 0 12px;font-weight:750}h2{font-size:21px;letter-spacing:-.5px;margin:12px 0}h3{font-size:16px;line-height:1.5}p{line-height:1.75;color:#6c7b8c}small{font-size:11px;color:var(--muted)}.app{display:flex;min-height:100vh}.sidebar{width:248px;position:fixed;inset-block:0;inset-inline-start:0;background:#fff;border-inline-end:1px solid var(--border);display:flex;flex-direction:column;z-index:20;padding:31px 19px 16px}.brand{display:flex;align-items:center;gap:10px;color:var(--navy);font-size:22px;font-weight:800;white-space:nowrap}.brandmark{background:var(--navy);color:#fff;display:grid;place-items:center;width:39px;height:42px;border-radius:10px}.brandlight{font-weight:500}.brand small{display:block;font-family:'DM Sans',sans-serif;font-size:6.8px;letter-spacing:1.3px;margin-top:5px;color:#7a8b9c}.workspace{margin:38px 1px 24px}.tiny{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#98a2ad}.workspace>button{display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:7px;padding:13px 10px;width:100%;margin-top:10px;font-size:12px;font-weight:600}.tag{font-size:9px;background:#eff3f7;padding:4px 6px;border-radius:4px;color:#728093;margin-inline-start:auto}nav{display:grid;gap:4px}nav button{display:flex;align-items:center;text-align:start;gap:13px;padding:11px 14px;border-radius:6px;font-size:12px;color:#758294;font-weight:500}nav button.active{background:#edf3fa;color:#245c9f;font-weight:700}nav button:nth-child(5){margin-top:13px}nav button:nth-child(10){margin-top:13px}nav button b{margin-inline-start:auto;background:#dce8f6;border-radius:4px;padding:2px 6px;font-size:10px}.sidebarfoot{margin-top:auto;padding-top:28px}.support{display:flex;gap:10px;padding:14px 8px;background:#f7f9fb;border-radius:7px;color:#7a8da0;align-items:center}.support p{font-size:10px;margin:0;color:#5e6d7e}.support small{display:block;font-size:9px;margin-top:2px}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid var(--border);margin-top:18px;padding:17px 0 0;width:100%;text-align:start;font-size:11px}.profile small{display:block;font-size:9px;margin-top:4px}.profile>svg{margin-inline-start:auto}.avatar{width:34px;height:34px;background:#e9eff7;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#59738d}.avatar.small{width:30px;height:30px;font-size:11px}.main{margin-inline-start:248px;width:calc(100% - 248px)}header{height:80px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb,.headeractions{display:flex;align-items:center;gap:13px;font-size:11px;color:#8b97a6}.breadcrumb strong{color:#4d6075;font-weight:500}.headeractions{gap:22px}.headeractions button{display:flex;align-items:center;gap:7px;font-size:11px}.saved{font-size:10px}.saved i{display:inline-block;width:5px;height:5px;background:#6eaa8e;border-radius:100%;margin-inline-end:5px}.muted{color:var(--muted)}main{max-width:1530px;margin:auto;padding:36px 42px 0}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#6e8bab}.sectiontop{display:flex;align-items:center;justify-content:space-between;gap:15px}.intro{font-size:12px;margin:0 0 26px}.date{font-size:10px;color:#8b96a2;text-transform:capitalize;white-space:nowrap}.wave{font-size:27px;color:#d1a766;margin-inline-start:7px}.dashboardgrid{display:grid;grid-template-columns:1.85fr 1fr;gap:22px;margin-top:3px}.hero{background:#143451;border-radius:11px;padding:29px 32px;position:relative;overflow:hidden;min-height:310px;color:white}.hero .eyebrow{font-size:8px;color:#9fb9d0;position:relative;z-index:2}.hero h2{font-size:31px;line-height:1.32;letter-spacing:-1px;margin:17px 0 12px;position:relative;z-index:2}.hero p{font-size:11px;color:#b8cbdc;position:relative;z-index:2}.whitebutton{background:#fff;border-radius:5px;padding:12px 17px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:22px;margin-top:8px;position:relative;z-index:2;color:#1f3f60}.herofooter{display:flex;gap:22px;margin-top:24px;color:#adc3d7;font-size:9px;position:relative;z-index:2}.herofooter span{display:flex;align-items:center;gap:6px}.roadart{position:absolute;right:-14px;top:50px;width:250px;height:300px;transform:rotate(-12deg);color:#92afbd}.roadart>svg{position:absolute;right:63px;top:95px;background:#24495f;border-radius:22px;transform:rotate(12deg);padding:14px;color:#c3d4db;box-shadow:0 20px 30px #071c2744}.roadline{position:absolute;right:50px;top:-140px;height:580px;width:90px;border-inline:3px solid #36576c;background:#1a3a50;transform:rotate(-20deg)}.roadline:after{content:"";position:absolute;left:45px;height:100%;border-left:2px dashed #77909a55}.landscape{position:absolute;right:80px;top:-50px;font-size:270px;color:#6d91a21a;font-weight:800}.panel{background:#fff;border:1px solid var(--border);border-radius:9px;padding:25px;margin-bottom:20px}.daily{margin-bottom:0;padding:24px}.iconbox{width:41px;height:41px;background:#eef3f9;color:#567ca4;border-radius:10px;display:inline-grid;place-items:center;flex-shrink:0}.iconbox.orange{background:#fff3e9;color:#c69154}.chip{font-size:8px;letter-spacing:1px;color:#74869a;background:#f4f6f8;border-radius:4px;padding:6px 8px;font-weight:600}.daily h2{font-size:22px;line-height:1.35;margin:15px 0 8px}.daily p{font-size:10px;margin:0 0 17px}.dailyrow{display:flex;gap:10px;align-items:center;font-size:10px;margin:15px 0}.dailyrow small{display:block;font-size:9px;margin-top:4px}.dailyrow>svg{margin-inline-start:auto;color:#a3b0bc}.number{width:23px;height:23px;display:grid;place-items:center;background:#f0f5fa;border:1px solid #e5edf5;border-radius:50%;font-size:9px;color:#6f8aa4}.textbutton{display:flex;align-items:center;gap:20px;color:#386b9e;font-size:11px;font-weight:600}.daily .textbutton{border-top:1px solid var(--border);padding-top:16px;width:100%;margin-top:18px;justify-content:space-between}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:23px 0 32px}.stat{border:1px solid var(--border);border-radius:8px;background:#fff;padding:19px 17px;display:flex;gap:13px;align-items:flex-start}.stat .iconbox{width:34px;height:34px;border-radius:8px}.stat span:not(.iconbox){font-size:10px;color:#7f8b99}.stat strong{display:block;font-size:25px;letter-spacing:-.7px;margin-top:7px}.stat small{display:block;font-size:9px;margin-top:5px}.sectionheading{margin-bottom:18px}.sectionheading h2{font-size:19px;margin:0 0 7px}.sectionheading p{font-size:11px;margin:0}.subtle{font-size:11px;display:inline-flex;align-items:center;gap:8px;color:#6f8195;padding:8px 0}.tracks{display:grid;grid-template-columns:1fr 1fr;gap:22px}.track{display:flex;background:white;text-align:start;border:1px solid var(--border);border-radius:9px;padding:0;overflow:hidden;transition:transform .2s}.track:hover{transform:translateY(-3px)}.trackvisual{min-width:132px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:#eaf0f5;color:#59778e;padding:20px 10px}.track:nth-child(2) .trackvisual{background:#ecf2ef;color:#6b8a7b}.trackvisual>span{font-size:6px;letter-spacing:1.3px}.trackbody{padding:21px;flex:1;display:block}.trackbody strong{font-size:17px}.trackbody>span:nth-child(2){font-size:10px;color:#7d8a98;display:block;margin:10px 0 24px}.trackmeta{font-size:8px;color:#8c99a6;display:flex;align-items:center;gap:8px}.trackmeta i{height:3px;width:3px;background:#b8c4cd;border-radius:50%}.infobar{display:flex;align-items:center;gap:14px;padding:17px 21px;background:#edf3f7;border:1px solid #e2eaf0;border-radius:8px;margin-top:24px;color:#668399}.infobar p{font-size:10px;margin:0;line-height:1.8}.infobar strong{font-weight:600;color:#536b80}.infobar button{margin-inline-start:auto;white-space:nowrap}footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);margin-top:29px;padding:19px 0 23px;font-size:9px;color:#9aa5b0}footer button{font-size:9px;color:#8393a1}.primary{display:inline-flex;align-items:center;justify-content:center;gap:14px;background:#215b96;color:#fff;padding:12px 18px;border-radius:6px;font-size:12px}.primary:hover{background:#194b80}.row{display:flex;gap:16px;align-items:center}.progress{height:6px;background:#edf1f5;border-radius:10px;overflow:hidden;margin:14px 0}.progress i{display:block;height:100%;background:#5a8bb4;border-radius:10px}.question{max-width:850px;margin:25px auto;padding:32px}.question h2{font-size:25px;line-height:1.5;margin:30px 0 15px}.arabic{font-size:20px;line-height:1.9;color:#57718b}.hint{padding:18px;background:#f1f5fa;border-radius:7px;margin:20px 0;font-size:13px}.hint p{margin:7px 0}.option{display:flex;text-align:start;align-items:center;gap:15px;border:1px solid #dce4ec;padding:16px;width:100%;margin:10px 0;border-radius:7px;background:white}.option>span{background:#f1f4f8;padding:7px 10px;border-radius:4px}.option>svg{margin-inline-start:auto}.option.selected{border-color:#3579b8;background:#eef5fd}.option.correct{border-color:#63a08b;background:#eff8f3}.option.wrong{border-color:#c77b76;background:#fdf2f1}.confidence{display:flex;align-items:center;gap:10px;font-size:12px;margin:22px 0}select{background:white;border:1px solid #dbe2e8;padding:9px;border-radius:5px;color:#526779}.feedback{border-top:1px solid var(--border);margin-top:24px;padding-top:15px}.feedback p{font-size:14px}.green{color:#3e8870}.result{text-align:center;margin-top:25px}.result>svg{color:#689584}.topicgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:25px}.topic{text-align:start}.topic .chip{float:right}.topic h2{font-size:20px;margin-top:24px}.topic p{font-size:12px}.tabs{display:flex;gap:12px;margin:20px 0}.tabs button{padding:10px 25px;border-radius:6px;border:1px solid var(--border)}.tabs .active{background:#1f527f;color:white}.lesson{max-width:900px;margin-top:25px;padding:35px}.lesson>svg{color:#6586a8}.lesson p{font-size:16px;line-height:1.95}.lesson p.arabic{font-size:22px}.search{display:flex;gap:12px;align-items:center;background:white;border:1px solid var(--border);border-radius:7px;padding:0 14px;max-width:450px;margin:20px 0;color:#8697a7}input,textarea{border:1px solid #dce4ec;border-radius:6px;padding:12px;background:white;width:100%;margin:8px 0;color:#344e68}input[type=checkbox]{width:auto}.search input{border:0;min-width:120px}.questionrow{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px}.questionrow h3{margin:12px 0 9px}.empty{text-align:center;padding:50px}.empty>svg{color:#659784}.metric{margin:26px 0}.setting{display:flex;justify-content:space-between;align-items:center;margin:20px 0;padding-bottom:15px;border-bottom:1px solid var(--border)}textarea{min-height:140px;font-family:monospace}label{display:block}form .primary{margin-top:10px}.notice{padding:14px;background:#e8f0f8;border:1px solid #cadaeb;margin-bottom:20px;border-radius:6px;display:flex;justify-content:space-between}.mobiletoggle{display:none}button:hover:not(.primary):not(.whitebutton){filter:brightness(.97)}
@media(min-width:1500px){main{padding-top:46px}.hero{min-height:340px}.hero h2{font-size:37px}.daily h2{font-size:25px}.roadart{right:35px}.trackvisual{min-width:165px}.trackbody{padding:26px}}
@media(max-width:1200px){.sidebar{width:220px;padding-inline:14px}.main{margin-inline-start:220px;width:calc(100% - 220px)}main{padding:28px 25px 0}header{padding:0 25px}.hero{padding:26px}.hero h2{font-size:27px}.roadart{opacity:.35;right:-70px}.stats{gap:10px}.stat{padding:14px 10px;gap:8px}.stat .iconbox{display:none}.trackvisual{min-width:100px}.trackbody{padding:15px}.trackmeta{font-size:7px;gap:4px}.date{display:none}.saved{display:none}.topicgrid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.dashboardgrid{grid-template-columns:1fr}.daily{display:none}.tracks{grid-template-columns:1fr}.hero{min-height:310px}.roadart{opacity:.75;right:0}.headeractions{gap:13px}h1{font-size:27px}.stats{grid-template-columns:1fr 1fr}.stat .iconbox{display:grid}.topicgrid{grid-template-columns:1fr}.stats .panel{margin:0}.sectiontop{flex-wrap:wrap}.trackvisual{min-width:135px}}
@media(max-width:680px){.sidebar{display:none;width:248px;box-shadow:20px 0 80px #17364e44}.sidebar.open{display:flex}.main{margin:0;width:100%}header{height:65px;padding:0 19px}.mobiletoggle{display:block}.breadcrumb{display:none}main{padding:25px 18px 0}h1{font-size:25px;line-height:1.4}.intro{font-size:12px}.hero{padding:26px 23px}.hero h2{font-size:30px}.hero .roadart{opacity:.25;right:-20px}.herofooter{gap:14px;font-size:8px}.stats{margin-bottom:27px}.stat strong{font-size:22px}.stat .iconbox{width:28px;height:28px}.sectionheading .subtle{display:none}.trackbody{padding:20px 16px}.trackbody>span:nth-child(2){line-height:1.7}.trackmeta{font-size:7px}.infobar{padding:15px;gap:10px}.infobar>svg{display:none}.infobar button{font-size:9px}.panel{padding:20px}.question{padding:20px}.question h2{font-size:21px}.question .row{gap:10px}.option{font-size:13px}.lesson p{font-size:14px}.questionrow{align-items:flex-start}.questionrow .row{flex-direction:column;gap:5px}.date{display:none}footer>span:nth-child(2){display:none}.row{flex-wrap:wrap}.search{max-width:100%;width:100%}.arabic{font-size:19px}}
/* Accessible Swedish learning workspace */
.coach{--coach-accent:#237c73}.coach-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.coach-top h1{font-size:31px}.coach-top p{margin:0 0 25px;font-size:14px}.coach-settings{background:white;border:1px solid var(--border);border-radius:10px;padding:12px 17px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:24px}.coach-settings label{display:flex;align-items:center;gap:8px;font-size:12px}.coach-settings select{font-size:12px;padding:8px;max-width:150px}.coach-settings input{accent-color:#237c73;width:17px;height:17px}.coach-welcome{background:linear-gradient(115deg,#11364b,#1b595a);border-radius:15px;padding:35px 36px;color:#fff;display:grid;grid-template-columns:1.45fr 1fr;gap:35px;position:relative;overflow:hidden}.coach-welcome:after{content:"";position:absolute;right:-80px;top:-170px;width:450px;height:450px;border:55px solid #ffffff05;border-radius:50%;pointer-events:none}.coach-badge{display:inline-flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1.3px;color:#b2d9d1}.coach-welcome h2{font-size:35px;line-height:1.32;letter-spacing:-1px;margin:18px 0}.coach-welcome p{color:#c3d8de;font-size:13px;line-height:1.85}.coach-welcome .coach-ar{color:#d7e9e5;font-size:18px;max-width:480px}.coach-welcome small{display:block;color:#a7c7cc;font-size:10px;margin-top:15px}.learning-ladder{display:flex;flex-direction:column;gap:13px;justify-content:center;position:relative;z-index:1}.learning-ladder>div{display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:10px;border:1px solid #ffffff18;background:#ffffff07;font-size:12px}.learning-ladder>div:last-child{background:#ffffff12}.learning-ladder span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#e1f0e9;background:#ffffff14;font-size:11px}.coach-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:23px 0 32px}.coach-metrics>button{background:white;border:1px solid var(--border);border-radius:10px;padding:20px;text-align:start;position:relative}.coach-metrics svg{width:20px;color:#7a9b9f;position:absolute;right:18px;top:22px}.coach-metrics strong{font-size:25px;display:block;color:#234b5b}.coach-metrics span{display:block;font-size:11px;margin-top:8px;color:#7a8b99}.coach-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.coach-choices>button{text-align:start;margin:0}.coach-choices h3{margin-top:20px}.coach-choices p{font-size:13px;min-height:66px}.coach-note{display:flex;align-items:flex-start;gap:15px;background:#edf3f6;padding:21px;border-radius:10px;margin:23px 0;font-size:12px;color:#577788}.coach-note svg{flex-shrink:0}.coach-note p{margin:6px 0 0;font-size:11px}.coach-library{display:flex;align-items:center;gap:23px}.coach-library h3{margin:10px 0}.coach-library p{margin:0 0 8px;font-size:12px}.coach-library .primary{margin-inline-start:auto;flex-shrink:0}.coach-count{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#ebf4f2;color:#438d80;flex-shrink:0}.coach-word{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.coach-word>button:first-child{display:flex;align-items:center;gap:10px;font-size:18px}.coach-word>span{font-size:20px;color:#4b7e79}.coach-word p{flex:1;font-size:13px}.coach-summary{text-align:center;padding:40px}.coach-summary .row{justify-content:center;margin-top:25px}.coach-score{display:block;font-size:45px;color:#348475;margin-top:30px}.coach-steps{display:flex;justify-content:center;gap:28px;margin:20px 0 28px}.coach-steps>span{display:flex;align-items:center;gap:8px;font-size:12px;color:#8a98a4}.coach-steps b{height:26px;width:26px;display:grid;place-items:center;border-radius:50%;background:#eaf0f4;font-size:11px}.coach-steps .now{color:#21645e;font-weight:700}.coach-steps .now b{background:#247d72;color:white}.coach-steps .done b{background:#dfefe8;color:#408574}.coach-exercise{max-width:850px;margin:0 auto;padding:34px}.coach-exercise h2{font-size:26px;margin:16px 0 25px}.coach-explain{background:#f0f7f5;padding:22px;border-radius:10px}.coach-explain h3{margin:0;color:#3e7970;font-size:13px}.coach-explain p{font-size:18px;color:#304b54;line-height:1.9}.coach-ar{font-size:21px!important;color:#547f7b!important;line-height:1.95!important}.coach-keyword{padding:20px 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);margin-bottom:20px}.coach-keyword>div{display:flex;align-items:center;gap:25px}.coach-keyword strong{font-size:22px}.coach-keyword span{font-size:21px;color:#648a84}.coach-keyword button{color:#437f79;padding:12px;background:#eff5f4;border-radius:50%}.coach-recall{display:flex;gap:12px;align-items:center;margin:25px 0;font-size:14px}.coach-recall input{width:19px;height:19px;accent-color:#247c71;flex-shrink:0}.coach-prompt{font-size:23px!important;line-height:1.75!important;color:#244253}.coach-prompt mark{background:#fff0bb;padding:2px 4px;border-radius:4px;color:#5e4c16}.coach-exercise input:not([type=checkbox]){font-size:17px;padding:16px;margin:12px 0 20px}.coach-exercise .option{font-size:16px;line-height:1.7;padding:17px}.coach-options{margin:22px 0}.coach-feedback{border-radius:10px;padding:23px;background:#f9f4e9;border:1px solid #eee1bd;margin-top:25px}.coach-feedback.positive{background:#edf7f2;border-color:#d7e8df}.coach-feedback p{font-size:15px;color:#50665f}.coach-feedback .primary{margin-top:17px}.coach-source{font-size:10px!important;color:#8a98a2!important;border-top:1px solid var(--border);padding-top:18px;margin-top:30px}.coach-large .coach-prompt{font-size:28px!important}.coach-large .coach-explain p,.coach-large .coach-feedback p,.coach-large .option{font-size:21px!important}.coach button,.coach select,.coach input{min-height:40px}.coach button:focus-visible{outline:3px solid #e4ab4b;outline-offset:3px}
@media(max-width:1150px){.coach-welcome{grid-template-columns:1fr;padding:30px}.learning-ladder{display:grid;grid-template-columns:1fr 1fr;gap:10px}.coach-choices{grid-template-columns:1fr}.coach-choices p{min-height:0}.coach-metrics{grid-template-columns:1fr 1fr}.coach-top{display:block}.coach-top>.subtle{margin-bottom:15px}}
@media(max-width:680px){.coach-top h1{font-size:26px}.coach-welcome{padding:26px 22px}.coach-welcome h2{font-size:30px}.coach-welcome p br{display:none}.learning-ladder{grid-template-columns:1fr}.learning-ladder>div{padding:10px;font-size:12px}.coach-settings{gap:10px;padding:12px}.coach-settings label{font-size:11px}.coach-settings select{max-width:135px}.coach-metrics{gap:10px}.coach-metrics>button{padding:17px}.coach-metrics span{font-size:10px}.coach-metrics svg{display:none}.coach-steps{gap:8px;justify-content:space-between}.coach-steps>span{font-size:9px;gap:5px;flex-direction:column}.coach-exercise{padding:22px 18px}.coach-exercise h2{font-size:23px}.coach-explain{padding:17px}.coach-explain p{font-size:17px}.coach-prompt{font-size:20px!important}.coach-keyword>div{gap:14px;flex-wrap:wrap}.coach-library{gap:12px;flex-wrap:wrap}.coach-library .primary{width:100%;margin:0}.coach-count{width:30px;height:30px}.coach-summary{padding:28px 20px}.coach-word{gap:15px}.coach-word p{flex-basis:100%}.coach-exercise .option{font-size:15px}.coach .primary{padding:13px 16px}.coach-recall{font-size:13px}.coach-large .coach-prompt{font-size:24px!important}}
.coach-exercise{scroll-margin-top:25px}.coach-timeline{display:flex;align-items:center;gap:9px;margin:25px 0;flex-wrap:wrap}.coach-timeline span{flex:1;min-width:100px;background:#e6eff7;border-radius:7px;padding:18px 12px;text-align:center;font-size:12px;color:#386287}.coach-timeline .rest{background:#e3f2eb;color:#337763}.coach-timeline b{color:#92a2ad;font-weight:400}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.coach-welcome .coach-ar{color:#d9eee7!important}
/* Premium visual refresh: quiet motion, high-contrast learning surfaces */
body{background:#f4f6fa}.coach{animation:scene-in .55s ease both}.coach-top .eyebrow{color:#8070bc;letter-spacing:2px}.coach-top h1{font-weight:800;font-size:34px;letter-spacing:-1.5px}.coach-top p{color:#748196}.coach-settings{box-shadow:0 5px 24px #14243b03;border-color:#e7eaf2;border-radius:14px}.coach-welcome{background:radial-gradient(ellipse at 90% 25%,#4b417c66,transparent 55%),radial-gradient(ellipse at 45% 100%,#235d6466,transparent 60%),#111e34;border:1px solid #24324a;border-radius:22px;box-shadow:0 18px 45px #15263e14;grid-template-columns:1.4fr 1fr;padding:42px;isolation:isolate;gap:15px 28px}.coach-welcome:before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#c3d3f018 1px,transparent 1px);background-size:27px 27px;mask-image:linear-gradient(90deg,transparent,#000);pointer-events:none}.coach-welcome:after{border-color:#aa9bff08;animation:orb-drift 14s ease-in-out infinite alternate}.coach-welcome h2{font-size:40px;letter-spacing:-1.4px;line-height:1.22}.coach-badge{color:#c5b8fa;letter-spacing:1.5px}.live-dot{width:6px;height:6px;display:inline-block;background:#a7d8bd;box-shadow:0 0 0 4px #a7d8bd15;border-radius:50%}.coach-welcome .whitebutton{border-radius:9px;background:#f3edff;color:#38265e;padding:15px 20px;font-weight:700;box-shadow:0 5px 20px #0002;transition:transform .25s,box-shadow .25s}.coach-welcome .whitebutton:hover{transform:translateY(-3px);box-shadow:0 12px 24px #0003}.coach-welcome .whitebutton svg{transition:transform .25s}.coach-welcome .whitebutton:hover svg{transform:translateX(4px)}.learning-ladder{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding-top:24px;border-top:1px solid #ffffff0f;margin-top:16px}.learning-ladder>div{padding:11px 10px;gap:8px;font-size:10px;border-color:#d8d5f015;background:#e7dfff06;border-radius:9px;transition:background .25s}.learning-ladder>div:hover{background:#ffffff12}.learning-ladder span{width:24px;height:24px;flex-shrink:0;background:#d6c5ff12;color:#cbbcf3}.learning-orbit{position:relative;min-height:290px;display:grid;place-items:center;align-self:center}.orbit-ring{position:absolute;border-radius:50%;border:1px solid #c1b3fa26}.ring-one{height:220px;width:220px;box-shadow:0 0 55px #b2a0ff0c inset;animation:orb-drift 9s ease-in-out infinite alternate}.ring-two{height:290px;width:290px;border-style:dashed;border-color:#c1b3fa15;animation:orbit-spin 90s linear infinite}.orbit-core{width:150px;height:150px;border-radius:34px;background:linear-gradient(140deg,#ffffff13,#c0a6ff06);border:1px solid #d8c8ff36;box-shadow:0 20px 60px #0003,inset 0 1px #ffffff25;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#d7cdfb;transform:rotate(-8deg);animation:core-float 7s ease-in-out infinite}.orbit-core span{font-size:8px;letter-spacing:2px}.orbit-pill{position:absolute;border-radius:30px;padding:10px 14px;border:1px solid #d1c6ff33;background:#263149;color:#dbe3f7;font-size:10px;box-shadow:0 8px 25px #0002;display:flex;align-items:center;gap:8px;animation:core-float 8s ease-in-out infinite}.pill-one{top:24px;right:-1px}.pill-two{bottom:18px;left:-10px;animation-delay:-3s}.pill-two svg{color:#9cd8c5}.orbit-spark{position:absolute;top:30px;left:25px;font-size:28px;color:#b1a0e5;animation:spark-turn 13s ease-in-out infinite}.voice-studio{display:flex;align-items:center;gap:16px;border-radius:14px;padding:18px 20px;background:#fff;border:1px solid #e5e6f0;margin-bottom:24px;box-shadow:0 6px 25px #453a8005}.voice-symbol{height:49px;width:49px;flex-shrink:0;display:grid;place-items:center;position:relative;border-radius:14px;background:#f1edfa;color:#8a72b5}.voice-symbol>svg{margin-top:-5px}.voice-bars{display:flex;gap:2px;height:8px;align-items:center;position:absolute;bottom:7px}.voice-bars i{display:block;height:3px;width:2px;border-radius:3px;background:#9a80c3}.voice-bars i:nth-child(2n){height:6px}.voice-bars.playing i{animation:voice-wave .65s ease-in-out infinite alternate}.voice-bars.playing i:nth-child(2n){animation-delay:-.3s}.voice-title{display:flex;flex-direction:column;gap:5px;flex:1}.voice-title .eyebrow{font-size:7px;letter-spacing:1.3px}.voice-title strong{font-size:12px;font-weight:600}.voice-title small{font-size:10px;color:#8490a3}.voice-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.voice-actions>button{display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid transparent;border-radius:7px;font-size:10px;color:#79869a;transition:all .2s}.voice-actions>button.voice-selected{background:#f0ebf8;color:#7658a6;border-color:#e4daf1}.voice-actions>button:last-child{border-color:#e8e9ef;color:#586a83;margin-left:5px}.voice-live,.voice-pending{font-size:7px;padding:3px 5px;border-radius:4px;background:#e8f4ee;color:#508b75}.voice-pending{background:#f4ede0;color:#9b8051}.voice-help{padding:20px;border:1px solid #e6daef;background:#f6f2fa;border-radius:12px;margin:-12px 0 24px;font-size:12px;animation:scene-in .3s ease}.voice-help p{font-size:12px}.coach-metrics>button,.coach-choices>button{transition:transform .25s,box-shadow .25s,border-color .25s;border-radius:14px}.coach-metrics>button:hover,.coach-choices>button:hover{transform:translateY(-5px);border-color:#cdc1e3;box-shadow:0 12px 28px #35245d09}.coach-choices .iconbox{background:#f0edf9;color:#8a73ae}.coach-choices .textbutton{color:#8062ab}.coach-choices .panel:nth-child(2) .iconbox{background:#eaf3f3;color:#6b9697}.coach-choices .panel:nth-child(3) .iconbox{background:#f8f0e7;color:#b69b79}.coach-exercise{animation:scene-in .35s ease;border-radius:17px;box-shadow:0 12px 45px #24334a05}.coach .primary{background:#71609b;border-radius:9px;transition:transform .2s,background .2s}.coach .primary:hover{background:#5f4e89;transform:translateY(-2px)}.coach .option{transition:background .2s,border-color .2s,transform .2s;border-radius:10px}.coach .option:not(:disabled):hover{transform:translateX(3px);border-color:#b7a5d5}.coach .option.selected{border-color:#8c75b6;background:#f5f1fa}.coach .option.correct{border-color:#74a68f;background:#edf7f1}.coach .option.wrong{border-color:#c08d89;background:#fbf1f0}.coach-feedback{animation:scene-in .3s ease}.coach .coach-steps .now b{background:#806aab}.coach-note{background:#eaf0f5;border-radius:12px}
@keyframes scene-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes core-float{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-10px) rotate(-2deg)}}
@keyframes orb-drift{from{transform:translate(0,0) scale(1)}to{transform:translate(-12px,10px) scale(1.04)}}
@keyframes orbit-spin{to{transform:rotate(360deg)}}
@keyframes spark-turn{50%{transform:rotate(85deg) scale(.8)}}
@keyframes voice-wave{to{height:9px}}
@media(max-width:1200px){.voice-studio{flex-wrap:wrap}.voice-actions{width:100%;padding-top:10px;border-top:1px solid #f0edf5}.voice-actions>button:last-child{margin-inline-start:auto}.coach-welcome{padding:30px;grid-template-columns:1fr}.learning-orbit{min-height:210px;margin-top:8px}.ring-one{height:170px;width:170px}.ring-two{height:215px;width:215px}.orbit-core{height:120px;width:120px;border-radius:28px}.pill-one{top:20px;right:calc(50% - 180px)}.pill-two{bottom:5px;left:calc(50% - 180px)}.orbit-spark{left:calc(50% - 90px);top:6px}.learning-ladder{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.coach-top h1{font-size:28px}.coach-welcome{padding:28px 23px;border-radius:18px}.coach-welcome h2{font-size:32px}.voice-studio{padding:15px;gap:11px}.voice-title strong{font-size:11px}.voice-title small{font-size:9px}.voice-title .eyebrow{font-size:6px}.voice-actions{gap:3px}.voice-actions>button{padding:8px;font-size:9px}.voice-actions>button:last-child{margin-left:auto}.learning-ladder>div{font-size:9px}.coach-settings{margin-bottom:17px}.coach-choices{gap:15px}.coach-choices>button{padding:24px}.coach-metrics>button:hover,.coach-choices>button:hover{transform:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Friendly lesson journey */
.coach-top h1{font-size:32px;letter-spacing:-1px;color:#25465e}.coach-top .eyebrow{color:#31a69e}.coach-settings{background:#fff;border:2px solid #e9eef0;box-shadow:none;margin-bottom:14px;padding:9px 15px}.voice-studio{padding:12px 17px;border:2px solid #e9eef0;box-shadow:none;margin-bottom:20px}.voice-symbol{background:#edf6f3;color:#45978c}.voice-actions>button.voice-selected{background:#eaf7f3;color:#318d7e;border-color:#d6eee6}.game-strip{display:flex;align-items:center;gap:23px;padding:10px 4px 23px;margin-bottom:13px;border-bottom:2px solid #e6edef;font-weight:800;color:#6c8191}.game-mode{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1.3px;margin-inline-end:auto}.flag-sv{display:inline-block;width:24px;height:17px;background:linear-gradient(transparent 38%,#ffda57 38% 58%,transparent 58%),linear-gradient(90deg,transparent 29%,#ffda57 29% 42%,transparent 42%),#4289c1;border-radius:4px;box-shadow:0 2px #32709d}.game-streak{color:#ed9a48;font-size:17px;white-space:nowrap}.game-xp{color:#a58bdf;font-size:17px;white-space:nowrap}.game-strip small{font-size:10px;color:#8c9cab;font-weight:600}.game-strip>button{font-size:11px;border:2px solid #e3ecec;border-radius:10px;padding:9px 13px;background:white;color:#4c9c92;font-weight:800}.journey-layout{display:grid;grid-template-columns:minmax(320px,1.7fr) minmax(240px,1fr);gap:26px;align-items:start}.journey-main{min-width:0}.unit-banner{background:#36b5a5;color:white;border:2px solid #2ca795;border-bottom:6px solid #239987;border-radius:15px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 6px 15px #2a9b8e0b}.unit-banner span{font-size:9px;letter-spacing:1.2px;color:#dcfff0;font-weight:800}.unit-banner h2{font-size:23px;margin:9px 0 6px;color:white;font-weight:800;letter-spacing:-.6px}.unit-banner p{font-size:11px;color:#e2fff7;margin:0}.unit-banner>button{color:#eafff9;border:2px solid #ffffff44;padding:10px;border-radius:11px;flex-shrink:0;transition:background .2s,transform .2s}.unit-banner>button:hover{background:#ffffff1a;transform:rotate(-5deg)}.path-intro{text-align:center;padding:27px 0 5px}.path-intro>span{font-size:8px;letter-spacing:2px;color:#9fb1bc;font-weight:800}.path-intro p{font-size:11px;margin:7px 0;color:#8d9daa}.lesson-road{position:relative;padding:20px 12px 0;overflow:hidden}.lesson-road:before{content:"";position:absolute;top:55px;bottom:200px;left:31%;border-left:6px dotted #dce8e9;z-index:0}.road-stop{position:relative;padding:10px 0 20px;z-index:1}.node-and-label{display:flex;align-items:center;gap:24px;position:relative;min-height:125px;margin-left:14%}.stop-1 .node-and-label{margin-left:24%}.stop-2 .node-and-label{margin-left:14%}.stop-3 .node-and-label{margin-left:5%}.stop-4 .node-and-label{margin-left:18%}.stop-5 .node-and-label{margin-left:28%}.node-wrap{position:relative;flex-shrink:0;padding-top:12px;min-width:86px;text-align:center}.lesson-node{width:76px;height:70px;display:grid;place-items:center;border-radius:45%;background:#9b87ca;border:3px solid #ab98d8;border-bottom:8px solid #7d66b1;color:#fff;box-shadow:inset 0 3px #ffffff25,0 5px 0 #dce5ea;transition:transform .15s,box-shadow .15s,border-bottom-width .15s;position:relative;z-index:2}.lesson-node:hover{transform:translateY(-4px);box-shadow:inset 0 3px #ffffff25,0 9px 0 #dce5ea}.lesson-node:active{transform:translateY(5px);border-bottom-width:3px;box-shadow:inset 0 3px #ffffff25,0 0 0 #dce5ea}.road-stop.current .lesson-node{background:#36b5a5;border-color:#57cbbc;border-bottom-color:#229786;box-shadow:0 0 0 7px #e1f3ef,0 0 0 10px #f4faf7}.road-stop.complete .lesson-node{background:#edbe51;border-color:#f6d074;border-bottom-color:#d29e37;color:#fff9de}.stop-3 .lesson-node,.stop-4 .lesson-node,.stop-5 .lesson-node{background:#729fc6;border-color:#8eb5d6;border-bottom-color:#5482aa}.road-stop.complete .lesson-node{background:#edbe51;border-color:#f6d074;border-bottom-color:#d29e37}.road-stop.current .lesson-node{background:#36b5a5;border-color:#57cbbc;border-bottom-color:#229786}.node-stars{margin-top:9px;font-size:13px;letter-spacing:2px;color:#cbd7df}.complete .node-stars{color:#e7b343}.node-label{display:flex;flex-direction:column;gap:8px;max-width:200px}.node-label>span{font-size:8px;letter-spacing:1.4px;color:#a0afbb;font-weight:800}.node-label>strong{font-size:15px;font-family:Manrope,sans-serif;font-weight:800;color:#506d80;line-height:1.5}.node-label>small{font-size:9px;color:#91a3b1;line-height:1.7}.current .node-label>strong{color:#249e90}.start-bubble{position:absolute;left:-3px;top:-27px;white-space:nowrap;padding:9px 10px;background:#fff;border:2px solid #dceae7;border-bottom-width:4px;border-radius:9px;font-size:8px;font-weight:900;color:#29a595;letter-spacing:.9px;animation:bubble-bob 3s ease-in-out infinite;z-index:3}.start-bubble:after{content:"";position:absolute;left:35px;bottom:-8px;width:10px;height:10px;background:#fff;border-right:2px solid #dceae7;border-bottom:2px solid #dceae7;transform:rotate(45deg)}.unit-divider{background:#eaf1f8;border:2px solid #d9e6f1;border-radius:13px;padding:20px 22px;margin:10px 0 30px;display:flex;flex-direction:column;gap:7px}.unit-divider>span{font-size:8px;font-weight:800;letter-spacing:1.4px;color:#86a3be}.unit-divider strong{font-size:20px;color:#587fa4;font-weight:800}.unit-divider small{font-size:10px;color:#93aabd}.road-finish{text-align:center;position:relative;background:var(--bg);padding:18px 20px 5px;margin-top:5px}.road-finish>span{display:block;font-size:36px;filter:saturate(.65);margin-bottom:12px}.road-finish>strong{font-size:13px;color:#68818f}.road-finish p{font-size:10px;max-width:290px;margin:10px auto}.path-side{display:grid;gap:20px;position:sticky;top:20px}.buddy-card,.daily-quest,.practice-pocket{border:2px solid #e3ebee;border-bottom:4px solid #dde7ea;border-radius:15px;padding:22px;background:#fff}.buddy-card{text-align:center;background:linear-gradient(#fff,#f8fcfb)}.buddy-speech{display:inline-block;border:2px solid #dfeee7;border-radius:13px;padding:11px 16px;font-size:12px;font-weight:700;color:#5b8276;line-height:1.7;background:#fff;position:relative}.buddy-speech:after{content:"";position:absolute;bottom:-8px;left:45%;width:13px;height:13px;background:#fff;transform:rotate(45deg);border-right:2px solid #dfeee7;border-bottom:2px solid #dfeee7}.viggo-buddy{width:168px;height:150px;display:block;margin:15px auto 0;animation:buddy-breathe 5s ease-in-out infinite;transform-origin:center bottom}.buddy-card h3{font-size:14px;font-weight:800;color:#4b6c7d;margin:10px 0}.buddy-card p{font-size:11px;line-height:1.9;margin:9px 0 20px;color:#8a9eaa}.game-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;border-radius:11px;padding:13px 11px;background:#36b5a5;border:2px solid #2daa9b;border-bottom:5px solid #239382;color:white;font-size:12px;font-weight:800;transition:transform .15s,border-bottom-width .15s;text-transform:uppercase;letter-spacing:.5px}.game-button:active{transform:translateY(3px);border-bottom-width:2px}.daily-quest h3,.practice-pocket h3{font-size:13px;color:#5a7486;font-weight:800;margin:0}.daily-quest select{font-size:9px;border:0;background:#f3f7f7;padding:7px;font-weight:700;color:#66897d}.daily-quest p{font-size:10px;margin:13px 0 17px;color:#8a9daa}.quest-progress{height:14px;background:#e7efed;border-radius:20px;overflow:hidden}.quest-progress>i{display:block;height:100%;background:#6ecbaa;border-radius:20px;position:relative;transition:width .5s ease}.quest-progress>i:after{content:"";position:absolute;top:3px;left:6px;right:6px;height:4px;border-radius:10px;background:#ffffff35}.daily-quest>.sectiontop:last-child{margin-top:10px}.daily-quest>.sectiontop:last-child span{font-size:8px;color:#8baa9e;font-weight:700}.daily-quest small{font-size:10px;color:#6b9080;font-weight:800}.practice-pocket h3{margin-bottom:16px}.practice-pocket>button{display:flex;align-items:center;gap:10px;width:100%;text-align:start;border-top:1px solid #edf1f3;padding:13px 0}.practice-pocket>button>span{font-size:21px}.practice-pocket>button>div{flex:1}.practice-pocket strong{font-size:10px;display:block;color:#678191}.practice-pocket small{font-size:8px;display:block;margin-top:5px}.practice-pocket svg{color:#b0c1c9}.session-gamebar{display:flex;align-items:center;gap:20px;margin:15px auto 20px;max-width:850px}.session-gamebar .quest-progress{flex:1}.session-gamebar>span{font-size:13px;font-weight:800;color:#ad8ccf;white-space:nowrap}.coach .primary{background:#36b5a5;border:2px solid #2daa9b;border-bottom:5px solid #239382;border-radius:11px;font-weight:800;letter-spacing:.2px}.coach .primary:hover{background:#32b09f;transform:none}.coach .primary:active{border-bottom-width:2px;transform:translateY(3px)}.coach .option{border:2px solid #e1e9ed;border-bottom:4px solid #dbe5e9}.coach .option.selected{background:#edf8f5;border-color:#72c7b4;border-bottom-color:#4ead9b;color:#368c7d}.coach .option.correct{background:#eef9ed;border-color:#a5d197;border-bottom-color:#8cbe7c}.coach .option.wrong{background:#fff4ed;border-color:#e7ba9c;border-bottom-color:#d49d79}.coach .option>span{border:2px solid #e0e8ed;background:white}.feedback-game{display:flex;align-items:center;gap:12px}.feedback-game>span{font-size:30px}.feedback-game h3{flex:1;font-size:17px}.feedback-game>b{font-size:15px;color:#86ac55;white-space:nowrap}.finish-celebration{font-size:36px;letter-spacing:12px;color:#e9be60;animation:celebrate-in .6s ease both}.earned-xp{display:inline-block;padding:10px 24px;border:2px solid #e9dcf3;border-bottom:5px solid #dac8e9;border-radius:12px;background:#f6effb;color:#a087bb!important;font-size:24px!important;font-weight:900}.coach-summary h2{font-weight:800}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes bubble-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes buddy-breathe{0%,100%{transform:rotate(-2deg) translateY(0)}50%{transform:rotate(2deg) translateY(-4px)}}
@keyframes celebrate-in{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}
@media(max-width:1150px){.journey-layout{grid-template-columns:minmax(270px,1fr) 235px;gap:16px}.unit-banner{padding:18px}.unit-banner h2{font-size:20px}.node-and-label{gap:15px;margin-left:5%}.stop-1 .node-and-label{margin-left:16%}.stop-2 .node-and-label{margin-left:5%}.stop-3 .node-and-label{margin-left:0}.stop-4 .node-and-label{margin-left:10%}.stop-5 .node-and-label{margin-left:16%}.node-label>strong{font-size:13px}.path-side{gap:15px}.buddy-card,.daily-quest,.practice-pocket{padding:17px}.game-mode{font-size:7px}.game-strip{gap:15px}.game-strip small{display:none}.game-strip>button{font-size:9px;padding:7px}.lesson-node{width:67px;height:63px}.node-wrap{min-width:73px}.start-bubble{font-size:7px;left:-7px}.viggo-buddy{width:140px}}
@media(max-width:850px){.journey-layout{grid-template-columns:1fr}.path-side{position:static;grid-template-columns:1fr 1fr;margin-top:20px}.buddy-card{grid-column:1/-1;display:grid;grid-template-columns:140px 1fr;text-align:start;gap:0 18px;align-items:center}.buddy-speech{grid-column:2;grid-row:1;font-size:11px;text-align:center}.viggo-buddy{grid-column:1;grid-row:1/4;margin:0}.buddy-card h3{grid-column:2;font-size:13px;margin-top:13px}.buddy-card p{grid-column:2;margin:5px 0;font-size:10px}.buddy-card .game-button{grid-column:1/-1;margin-top:17px}.journey-main{max-width:600px;width:100%;margin:auto}.game-mode{font-size:8px}.node-and-label{gap:25px}.lesson-node{width:76px;height:70px}.node-wrap{min-width:86px}.node-label>strong{font-size:15px}.path-side .daily-quest,.path-side .practice-pocket{padding:17px}.node-and-label{margin-left:17%}.stop-1 .node-and-label{margin-left:30%}.stop-2 .node-and-label{margin-left:17%}.stop-3 .node-and-label{margin-left:5%}.stop-4 .node-and-label{margin-left:20%}.stop-5 .node-and-label{margin-left:30%}.lesson-road:before{left:34%}}
@media(max-width:480px){.game-strip{gap:11px;flex-wrap:wrap}.game-mode{width:100%;margin-bottom:7px;font-size:8px}.game-strip small{display:inline;font-size:9px}.game-strip>button{margin-left:auto}.coach-top h1{font-size:26px}.coach-top p{font-size:12px}.path-side{grid-template-columns:1fr}.buddy-card{grid-template-columns:110px 1fr;gap:0 10px}.viggo-buddy{width:115px;height:120px}.buddy-speech{font-size:10px;padding:8px}.buddy-card h3{font-size:12px}.buddy-card p{font-size:10px}.unit-banner h2{font-size:19px}.unit-banner span{font-size:7px}.unit-banner p{font-size:10px}.unit-banner{padding:17px}.lesson-road{padding-left:0;padding-right:0}.node-label>strong{font-size:13px}.node-label>small{font-size:8px}.node-and-label{gap:17px}.stop-1 .node-and-label,.stop-5 .node-and-label{margin-left:23%}.node-and-label{margin-left:12%}.lesson-road:before{left:28%}.lesson-node{width:70px;height:65px}.node-wrap{min-width:78px}.node-stars{font-size:11px}.start-bubble{font-size:7px}.node-label{max-width:170px}.path-intro p{font-size:10px}.feedback-game{gap:8px}.feedback-game h3{font-size:14px}.feedback-game>span{font-size:23px}.feedback-game>b{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.learning-options{border:2px solid #e4ebed;border-bottom:4px solid #dce6e9;border-radius:13px;background:white;margin-bottom:20px;overflow:hidden}.learning-options>summary{display:flex;align-items:center;gap:12px;padding:13px 17px;list-style:none;cursor:pointer;color:#6e8996;font-size:11px;min-height:50px}.learning-options>summary::-webkit-details-marker{display:none}.learning-options>summary>svg:first-child{color:#5eaa9f}.learning-options>summary>span{font-size:10px;color:#a0b0b8;margin-inline-start:auto}.learning-options>summary>svg:last-child{color:#a7b7bd;transition:transform .2s}.learning-options[open]>summary>svg:last-child{transform:rotate(90deg)}.learning-options-body{padding:3px 13px 0}.learning-options .voice-studio{margin-bottom:13px}.learning-options .coach-settings{border-width:1px}.coach-top .subtle{font-size:10px}.coach-top p{margin-bottom:20px}.game-strip{padding-top:3px}.coach{--bg:#f7f9fb}
@media(max-width:680px){.learning-options>summary{font-size:11px;padding:11px 13px;gap:9px}.learning-options>summary>span{font-size:8px;max-width:120px;text-align:end;line-height:1.6}.learning-options-body{padding:0 8px}.game-strip{margin-top:0}.path-intro{padding-top:22px}.coach-top .subtle{margin-bottom:10px}}
/* Dimensional path and celebratory motion */
.journey-main{position:relative;border-radius:20px;background:radial-gradient(ellipse at 20% 35%,#dff2ed55,transparent 45%),radial-gradient(ellipse at 80% 75%,#e6e5f755,transparent 40%)}.unit-banner{background:linear-gradient(115deg,#37baa9,#2fac9e);box-shadow:0 5px 0 #23998b,0 12px 25px #29998715,inset 0 2px #ffffff20;position:relative;overflow:hidden}.unit-banner:after{content:"";position:absolute;right:-30px;top:-60px;width:190px;height:190px;border:28px solid #ffffff07;border-radius:50%;pointer-events:none}.unit-banner>button{box-shadow:0 3px 0 #238d7f44,inset 0 1px #ffffff20;background:#ffffff08}.level-pill{font-size:8px;letter-spacing:.7px;padding:6px 9px;border:2px solid #e7def2;border-bottom:3px solid #d8c9e8;border-radius:8px;color:#a089be;background:#f6f1fb;font-weight:900;white-space:nowrap}.node-wrap{perspective:500px}.lesson-node{transform:rotateX(12deg);box-shadow:inset 0 3px #ffffff40,inset 0 -2px #00000008,0 9px 0 #d3e2e4,0 17px 20px #3c69771b;isolation:isolate;transition:transform .2s cubic-bezier(.2,.8,.3,1.5),box-shadow .2s,border-bottom-width .2s}.lesson-node:before{content:"";position:absolute;left:12px;right:12px;top:6px;height:23%;background:linear-gradient(#ffffff25,transparent);border-radius:50%;pointer-events:none}.lesson-node>svg{filter:drop-shadow(0 2px 0 #00000012)}.lesson-node:not(:disabled):hover{transform:rotateX(4deg) translateY(-7px) scale(1.05);box-shadow:inset 0 3px #ffffff40,0 14px 0 #d3e2e4,0 25px 24px #3c697720}.lesson-node:not(:disabled):active{transform:rotateX(8deg) translateY(6px) scale(.98);box-shadow:inset 0 3px #ffffff25,0 2px 0 #d3e2e4;border-bottom-width:3px}.road-stop.current .lesson-node{box-shadow:0 0 0 7px #e2f4ef,0 0 0 10px #cfebe3,0 10px 0 #bbded5,0 17px 24px #219d8126}.road-stop.current .node-wrap:after{content:"";position:absolute;top:7px;left:-8px;width:86px;height:81px;border:2px solid #b5dfd3;border-radius:50%;animation:lesson-ripple 3s ease-out infinite;pointer-events:none;z-index:0}.road-stop.locked .lesson-node{opacity:1;background:linear-gradient(#e7edf0,#dbe4e8);border-color:#e8eef1;border-bottom-color:#c4d2d9;box-shadow:inset 0 3px #ffffff77,0 7px 0 #d2dfe4;color:#a8bac4;cursor:not-allowed;transform:rotateX(12deg)}.road-stop.locked .lesson-node>svg{filter:none}.road-stop.locked .node-label>strong{color:#a3b3be}.road-stop.locked .node-label>small{color:#adbcc6}.road-stop.locked .node-stars{color:#d8e1e6}.road-stop.complete .lesson-node{background:linear-gradient(130deg,#f6cf66,#edbc4d);border-color:#f8d981;border-bottom-color:#d3a13c;box-shadow:inset 0 3px #ffeda655,0 8px 0 #e9dec6,0 16px 20px #b38a3921}.road-stop.complete .node-stars{animation:star-appear .5s ease both}.road-stop.current .node-label>strong{font-weight:900}.lesson-road:before{border-width:7px;border-color:#d5e5e7}.buddy-card{position:relative;overflow:hidden;isolation:isolate;box-shadow:0 6px 17px #344b5d05}.buddy-aura{position:absolute;width:180px;height:180px;border-radius:50%;background:radial-gradient(#cff0e580,transparent 70%);top:65px;left:calc(50% - 90px);z-index:-1;animation:aura-breathe 6s ease-in-out infinite}.buddy-twinkle{position:absolute;color:#d4c1ed;font-size:20px;animation:twinkle 5s ease-in-out infinite;pointer-events:none}.twinkle-one{left:24px;top:90px}.twinkle-two{right:27px;top:135px;color:#eacb7c;font-size:26px;animation-delay:-2s}.viggo-buddy{filter:drop-shadow(0 8px 6px #38685b15);animation:buddy-breathe 5s ease-in-out infinite}.game-button{box-shadow:inset 0 2px #ffffff25,0 3px 0 #d1e7df;transition:transform .15s,box-shadow .15s,filter .15s}.game-button:hover{filter:brightness(1.04);box-shadow:inset 0 2px #ffffff35,0 5px 0 #d1e7df;transform:translateY(-2px)}.game-button:active{transform:translateY(3px);box-shadow:inset 0 2px #ffffff25,0 0 0 #d1e7df}.chapter-chest{display:flex;align-items:center;flex-direction:column;text-align:center;padding:30px 12px 15px;position:relative;margin-top:5px}.chapter-chest>button{position:relative;width:90px;height:78px;border:3px solid #eed395;border-bottom:9px solid #c99949;border-radius:19px;background:linear-gradient(130deg,#f9da87,#eebd5d);display:grid;place-items:center;color:#a7742a;box-shadow:inset 0 3px #fff2c5,0 7px 0 #e7e1d6,0 15px 25px #b28e401c;transform:rotate(-7deg);transition:transform .2s,box-shadow .2s}.chapter-chest>button:not(:disabled):hover{transform:rotate(4deg) translateY(-6px);box-shadow:inset 0 3px #fff2c5,0 13px 0 #e7e1d6,0 20px 30px #b28e4025}.chapter-chest>button:disabled{opacity:1;filter:saturate(.35);background:linear-gradient(130deg,#ede8da,#dfd6bc);border-color:#e5decc;border-bottom-color:#c8bfa7;color:#b1a68d;cursor:default}.chapter-chest.claimed>button{filter:none;background:#f6d984;color:#aa802e}.chapter-chest>strong{font-size:11px;color:#a69370;margin-top:20px}.chapter-chest>small{font-size:9px;color:#a7b4bb;margin-top:8px}.chest-halo{position:absolute;top:15px;width:160px;height:130px;border-radius:50%;background:radial-gradient(#f6e3ac55,transparent 65%);pointer-events:none}.coach-summary{position:relative;overflow:hidden;isolation:isolate}.confetti-rain{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:5}.confetti-rain i{position:absolute;left:calc(var(--piece)*5.5%);top:-20px;width:8px;height:14px;background:#82cbb8;border-radius:2px;animation:confetti-fall 2.3s cubic-bezier(.12,.4,.4,1) both;animation-delay:calc(var(--piece)*.035s)}.confetti-rain i:nth-child(3n){background:#e9cb73;width:7px;height:7px}.confetti-rain i:nth-child(3n + 1){background:#bda3db;transform:rotate(30deg)}.confetti-rain i:nth-child(4n){background:#7db5d4}.reward-overlay{position:fixed;inset:0;background:#1b334a77;backdrop-filter:blur(7px);display:grid;place-items:center;z-index:100;padding:25px;animation:scene-in .2s ease}.reward-modal{background:white;border:3px solid #e7eeea;border-bottom:7px solid #d7e2dc;box-shadow:0 25px 100px #10273735;border-radius:24px;padding:38px 30px;text-align:center;max-width:420px;width:100%;position:relative;animation:reward-pop .45s cubic-bezier(.2,.9,.25,1.3)}.reward-modal>svg{color:#edc561;filter:drop-shadow(0 4px 0 #dac28b);margin:8px}.reward-modal>h2{color:#426b63;font-size:28px;font-weight:900}.reward-modal>p{font-size:13px;line-height:1.9}.reward-modal>strong{display:block;font-size:34px;color:#a889c5;margin:25px 0}.answer-win>span{animation:answer-bounce .6s cubic-bezier(.2,.8,.3,1.5)}.answer-win>b{animation:xp-rise .5s ease both}.answer-grow>span{animation:grow-in .6s ease}.coach-exercise{animation:exercise-arrive .3s ease both}.coach-exercise .option{box-shadow:0 2px 0 #edf0f3;transition:transform .15s,background .15s,border-color .15s}.coach-exercise .option:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 4px 0 #e4ecee}.coach-exercise .option:not(:disabled):active{transform:translateY(2px);box-shadow:none}.session-gamebar .quest-progress{height:17px;border:2px solid #dce8e3;box-shadow:inset 0 2px #cadfd344}.session-gamebar .quest-progress>i{background:linear-gradient(90deg,#65cdb0,#8ed4a5)}.daily-quest .quest-progress>i{background:linear-gradient(90deg,#6cc6a8,#98d4ae)}.daily-quest{box-shadow:0 5px 17px #344b5d04}.start-bubble{box-shadow:0 4px 9px #42786907}
@keyframes lesson-ripple{0%{transform:scale(.95);opacity:0}30%{opacity:.65}100%{transform:scale(1.35);opacity:0}}
@keyframes aura-breathe{50%{transform:scale(1.15);opacity:.6}}
@keyframes twinkle{0%,100%{transform:scale(.85) rotate(0);opacity:.6}50%{transform:scale(1.1) rotate(30deg);opacity:1}}
@keyframes confetti-fall{0%{translate:0 -20px;rotate:0deg;opacity:0}10%{opacity:1}100%{translate:calc((var(--piece) - 9)*9px) 560px;rotate:540deg;opacity:0}}
@keyframes reward-pop{from{transform:scale(.8) translateY(20px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}
@keyframes answer-bounce{0%{transform:scale(.6) rotate(-20deg)}65%{transform:scale(1.25) rotate(10deg)}100%{transform:scale(1) rotate(0)}}
@keyframes xp-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes grow-in{from{transform:scale(.5)}to{transform:scale(1)}}
@keyframes exercise-arrive{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
@keyframes star-appear{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
@media(max-width:850px){.buddy-aura{left:0;top:15px}.twinkle-one{left:20px;top:10px}.twinkle-two{left:115px;top:140px;right:auto}.level-pill{font-size:7px;padding:5px 7px}.game-strip{gap:14px}.chapter-chest{margin-top:10px}}
@media(max-width:480px){.game-strip{gap:9px}.game-strip>button{font-size:8px}.game-streak,.game-xp{font-size:15px}.game-strip small{font-size:8px}.level-pill{font-size:6px}.reward-modal{padding:30px 20px}.reward-modal>h2{font-size:24px}.road-stop.current .node-wrap:after{width:80px;height:76px;left:-7px}.lesson-node:not(:disabled):hover{transform:rotateX(8deg)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti-rain{display:none}.lesson-node,.lesson-node:not(:disabled):hover{transform:none}}
.ykb-track-select{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 18px;padding:18px 20px;background:white;border:2px solid #e2ebec;border-bottom:4px solid #dbe7e8;border-radius:14px}.ykb-track-select strong{display:block;font-size:14px;color:#52717e;margin-top:7px}.ykb-track-select .eyebrow{font-size:7px}.track-switch{display:flex;background:#f3f7f7;border-radius:10px;padding:4px;gap:5px}.track-switch>button{display:flex;align-items:center;gap:8px;padding:11px 16px;font-size:12px;font-weight:800;color:#8aa0a9;border:2px solid transparent;border-radius:8px}.track-switch>button.chosen{background:#edf9f3;border-color:#8bcab9;border-bottom:4px solid #64ad99;color:#458d7b}.ykb-launchpad{background:white;border:2px solid #e1eeea;border-radius:14px;padding:21px;margin-top:20px}.ykb-launchpad .game-button{font-size:13px;padding:15px 16px;min-height:55px}.ykb-mix{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px;padding:11px;background:#f5f2fa;border:2px solid #e6def0;border-bottom:4px solid #d8c9e7;border-radius:10px;font-size:11px;color:#9a81b7;font-weight:800}.ykb-launchpad p{font-size:9px;text-align:center;margin:16px 0 0;color:#8caaa1;line-height:1.8}.ykb-topic-select{display:flex;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid #e1e9ec;margin-bottom:10px}.ykb-topic-select>label{flex:1;font-size:10px;color:#869da8}.ykb-topic-select select{display:block;width:100%;margin-top:8px;font-size:11px;background:white;border:2px solid #e2e9ed;border-radius:9px;padding:11px}.ykb-topic-select>button{font-size:10px;flex-shrink:0;align-self:end;margin-bottom:7px}.ykb-session-label{display:flex;align-items:center;justify-content:space-between;gap:15px;max-width:850px;margin:0 auto 20px}.ykb-session-label>span{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1px;font-weight:800;color:#64a79a}.ykb-session-label>small{font-size:9px;color:#a0afb7}.ykb-help-toggle{padding:11px 0!important;color:#9b84ba!important}.coach-exercise .coach-prompt{font-size:22px!important;line-height:1.8!important;margin:15px 0}.coach-exercise h2{font-size:22px;margin:15px 0 20px}.coach-large .coach-prompt{font-size:27px!important}.road-stop .node-label{max-width:240px}.road-stop .node-label>strong{font-size:13px}
@media(max-width:680px){.ykb-track-select{padding:15px;gap:10px}.ykb-track-select strong{font-size:12px}.track-switch>button{font-size:10px;padding:9px 11px;gap:5px}.ykb-launchpad{padding:17px}.ykb-launchpad .game-button{font-size:12px}.ykb-session-label{flex-wrap:wrap;gap:8px}.coach-exercise .coach-prompt{font-size:20px!important}.ykb-topic-select{gap:12px}.ykb-topic-select select{font-size:10px;padding:9px}.ykb-topic-select>button{font-size:9px;gap:5px}}
.coach-exercise>.subtle{display:flex;width:fit-content;margin:9px 0}.coach-exercise>.ykb-help-toggle{margin-top:3px}
.memory-hub{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;background:#eef5fb;border:2px solid #dce8f2;border-bottom:4px solid #d0dfeb;border-radius:14px;margin-top:20px}.memory-hub>div>span{font-size:24px;float:left;margin-right:12px}.memory-hub strong{font-size:13px;color:#597e9a}.memory-hub p{font-size:10px;margin:7px 0 0;color:#91a7b7}.memory-hub>button{display:flex;align-items:center;gap:9px;font-size:10px;color:#6789a3;font-weight:800;flex-shrink:0}.memory-list{margin-top:24px}.memory-list .panel{border-bottom:4px solid #e1e9ee}.memory-list p{font-size:12px}.arabic-question-tools{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:18px 0 14px}.arabic-question-tools button{display:flex;align-items:center;gap:10px;border:2px solid #e5eaf2;border-bottom:4px solid #d9e1eb;border-radius:10px;padding:10px 16px;font-size:15px;color:#6785a2;background:#f9fbfd}.arabic-question-tools button.enabled{background:#edf5fc;border-color:#c8dceb;color:#5b7f9e}.arabic-question-tools small{font-size:12px;color:#96a7b6}.arabic-question{padding:20px 24px;border:1px solid #dae6ee;background:#f4f8fc;border-radius:12px;margin-bottom:22px}.arabic-question>strong{font-size:13px;color:#8ca8bb;font-weight:500}.arabic-question>p{font-size:23px;line-height:1.9;color:#42617d;margin:8px 0 0}.answer-copy{flex:1}.answer-copy>strong{font-size:16px;font-weight:550;line-height:1.7;display:block}.answer-copy>small{display:block;font-size:19px;color:#718c9d;line-height:1.85;margin-top:5px;text-align:right}.coach-exercise .option{align-items:center;gap:15px}.coach-exercise .option>span{flex-shrink:0}.coach-exercise .option>svg{flex-shrink:0}.recall-confidence{border:0;border-top:1px solid #e5ecee;margin:27px 0 20px;padding:19px 0 0;display:flex;gap:10px;flex-wrap:wrap}.recall-confidence legend{font-size:12px;color:#6b8594;padding:0 10px 0 0}.recall-confidence legend>span{font-size:14px;color:#9aadb8;margin-left:12px}.recall-confidence>button{border:2px solid #e0e9ed;border-bottom:4px solid #d6e1e7;border-radius:10px;padding:10px 15px;background:white;flex:1;min-width:90px}.recall-confidence>button.chosen{background:#edf8f2;border-color:#a1cdb9;border-bottom-color:#85b59f}.recall-confidence strong{display:block;font-size:12px;color:#6d8b7c;font-weight:600}.recall-confidence small{display:block;font-size:14px;margin-top:7px;color:#90a99b}.arabic-explanation{background:#fff;border:1px solid #d5e6dc;border-radius:12px;margin:22px 0;padding:23px;text-align:right}.arabic-explanation>h3{font-size:22px;color:#508570;margin:0 0 18px}.arabic-explanation>p{font-size:20px!important;line-height:2;color:#527266!important}.arabic-explanation>h4{font-size:17px;color:#82a08f;margin:24px 0 4px}.arabic-explanation>button{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border:2px solid #d9e9df;border-bottom:4px solid #c9ddd2;border-radius:9px;color:#6c937c;font-size:16px;background:#f4faf6}.review-again{padding:15px 18px;background:#fff7e8;border:1px solid #ebdfc3;border-radius:10px;color:#ae9566;font-size:17px;line-height:1.8;margin:17px 0}.option-ar{display:block;font-size:18px;margin-top:7px;line-height:1.8;color:#7890a2}.coach-large .answer-copy>strong{font-size:21px}.coach-large .answer-copy>small,.coach-large .arabic-question p,.coach-large .arabic-explanation p{font-size:25px!important}
@media(max-width:680px){.memory-hub{padding:16px;gap:12px;flex-wrap:wrap}.memory-hub strong{font-size:12px}.memory-hub p{font-size:9px}.memory-hub>button{margin-left:auto;font-size:10px}.arabic-question-tools{gap:9px}.arabic-question-tools small{font-size:11px}.arabic-question-tools button{font-size:14px;padding:9px 12px}.arabic-question{padding:17px 18px}.arabic-question p{font-size:21px}.answer-copy>strong{font-size:15px}.answer-copy>small{font-size:18px}.recall-confidence{gap:7px}.recall-confidence>button{padding:10px 8px;min-width:70px}.recall-confidence strong{font-size:10px}.recall-confidence small{font-size:12px}.recall-confidence legend>span{font-size:12px;margin-left:6px}.arabic-explanation{padding:18px}.arabic-explanation>h3{font-size:20px}.arabic-explanation>p{font-size:19px!important}.arabic-explanation>button{font-size:14px;padding:10px 12px}}
.more-path{width:100%;display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;border:2px solid #dfe8ed;border-bottom:4px solid #d2e0e6;background:#fff;border-radius:12px;padding:15px;margin:20px 0;color:#74919e;font-size:12px;font-weight:700}.more-path small{flex-basis:100%;font-size:9px;color:#9fb2bc}.bank-search{font-size:12px;color:#8aa0ac;margin:22px 0}.bank-search input{display:block;padding:16px;border:2px solid #e0e9ef;border-radius:10px;font-size:14px;margin-top:10px}.road-finish{background:transparent}

/* Visual learning and comfortable reading */
.comfort-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0;color:#42556b}.comfort-bar>span{margin-right:auto}.comfort-bar button,.avatar-picker button,.guide-tabs button{padding:10px 16px;background:#fff;border:2px solid #d4e3e5;border-radius:14px;font-weight:750;color:#23465a}.comfort-bar button[aria-pressed=true],.avatar-picker button[aria-pressed=true],.guide-tabs button[aria-pressed=true]{background:#def6eb;border-color:#148276;color:#145b52}.mascot-stage{height:230px;display:flex;align-items:center;justify-content:center}.nilo-buddy{height:240px;width:240px;object-fit:contain;animation:nilo-float 4s ease-in-out infinite}.avatar-picker{display:flex;justify-content:center;gap:8px;margin:8px 0 20px}.question-scene{margin:16px 0 22px}.question-scene svg{width:100%;max-height:180px}.question-scene figcaption{font-size:12px;color:#4d6170;padding-top:5px}.scene-vehicle{animation:vehicle-arrive .6s ease-out}.understand-launch{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;border-radius:16px;background:#fff6dd;margin-bottom:20px}.question-guide{padding:24px;background:#f2faf7;border:2px solid #9ed5c3;border-radius:20px;margin:16px 0;line-height:1.8}.guide-tabs{display:flex;gap:8px;flex-wrap:wrap}.question-guide p[lang=ar]{font-size:21px;line-height:1.9}.question-guide small{display:block;color:#435d55}.film-library{background:#fff;border:2px solid #dae7e7;padding:24px;border-radius:24px;margin:22px 0}.film-library h3{font-size:24px;margin:8px 0}.film-library p{color:#475d6b;line-height:1.7}.film-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.film-choices button{display:grid;text-align:left;padding:18px;border:2px solid #cae5df;border-bottom-width:5px;border-radius:18px;background:#f0faf6;gap:7px;color:#244658}.film-choices button[aria-pressed=true]{border-color:#158478;background:#dff5ec}.film-choices span{font-size:30px}.film-choices strong{font-size:17px}.film-choices b{font-size:12px;color:#14756d}.film-player{margin-top:18px}.film-player video{display:block;width:100%;border-radius:18px;background:#183f50;max-height:390px}.film-player a{color:#0b6864;text-decoration:underline}.coach-calm{background:#fff!important;color:#203346}.coach-calm *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.coach-calm .buddy-aura,.coach-calm .buddy-twinkle,.coach-calm .confetti-rain{display:none}.coach-calm p,.coach-calm .coach-prompt,.coach-calm .answer-copy{line-height:1.9;letter-spacing:.015em}.coach-calm .coach-prompt{max-width:65ch;font-size:25px}.coach-calm .coach-exercise{box-shadow:none;border:2px solid #859aa5}.coach-calm .answer-copy strong{font-weight:650}.coach-calm .option{margin-bottom:14px}.coach button:focus-visible{outline:3px solid #1857a4;outline-offset:4px}@keyframes nilo-float{50%{transform:translateY(-8px) rotate(1deg)}}@keyframes vehicle-arrive{from{transform:translateX(-25px);opacity:.4}to{transform:translateX(0);opacity:1}}@media(prefers-reduced-motion:reduce){.nilo-buddy,.scene-vehicle{animation:none}}@media(max-width:600px){.comfort-bar>span{width:100%}.film-library{padding:16px}.film-choices{gap:8px}.film-choices button{padding:12px}.understand-launch{align-items:flex-start;flex-direction:column}.question-guide{padding:16px}.question-scene svg{max-height:140px}}


/* TR-os: one question, one decision, one clear next step. */
:root{--tr-green:#42b649;--tr-deep:#248a34;--tr-ink:#253e47}.brandlight{color:#5ec765!important}.coach-top h1{font-weight:850;letter-spacing:-1px}.game-button,.lesson-node{background:#42b649!important;border-color:#31943d!important;color:white!important}.unit-banner{background:linear-gradient(115deg,#218949,#45b95c)!important}.supplied-question{border:2px solid #cfe7c9;border-bottom:5px solid #add4a7;background:#f3fbef;border-radius:22px;padding:22px;display:grid;gap:9px;margin:16px 0}.supplied-question>span{font-size:10px;font-weight:800;letter-spacing:1px;color:#42793d}.supplied-question>strong{font-size:23px;color:#244b32}.supplied-question p{font-size:13px;margin:0;color:#536957}.supplied-question button{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:800;color:#297e34;background:white;border:2px solid #beddb8;border-radius:12px;padding:13px;margin-top:5px}.lesson-focus{position:fixed;inset:0;overflow-y:auto;background:#fff;z-index:80;padding:24px 30px 0;isolation:isolate;scrollbar-gutter:stable}.lesson-focus>.coach-top,.lesson-focus>.comfort-bar,.lesson-focus>.learning-options{display:none}.session-header{max-width:960px;margin:0 auto;display:flex;gap:22px;align-items:center;color:#71828c}.session-brand{font-size:25px;letter-spacing:-1px;color:#2f9942}.session-header>span{font-size:13px;font-weight:700;margin-left:auto}.session-exit{font-size:35px;line-height:1;width:42px;height:42px;border-radius:50%;color:#82909a;background:#f2f5f6}.session-reading{font-weight:800;font-size:17px;padding:9px 12px;border:2px solid #e3e9eb;border-radius:12px}.session-reading span{font-size:11px;margin-left:6px}.lesson-focus .session-gamebar{max-width:860px;margin:20px auto 22px}.lesson-focus .quest-progress{height:18px;background:#e9edef;border:0;box-shadow:none;border-radius:20px;overflow:hidden}.lesson-focus .quest-progress>i{background:#49ba4b;box-shadow:inset 0 4px #ffffff35}.lesson-focus .ykb-session-label{max-width:760px;margin:0 auto 14px}.lesson-focus .ykb-session-label>span{color:#54805c;font-size:10px}.lesson-focus .coach-exercise{max-width:760px;margin:0 auto!important;border:0;background:white;box-shadow:none!important;padding:8px 10px 0;border-radius:0}.lesson-focus .coach-exercise>.eyebrow{font-size:10px;letter-spacing:.8px;color:#6c8086}.exercise-instruction>span{display:none}.lesson-focus .exercise-instruction h2{font-size:26px;font-weight:850;line-height:1.4;color:#273e48;margin:8px 0 15px}.lesson-focus .question-scene{max-width:460px;margin:10px auto 18px}.lesson-focus .question-scene svg{max-height:130px}.lesson-focus .question-scene figcaption{display:none}.lesson-focus .coach-prompt{font-size:24px!important;line-height:1.5!important;font-weight:750;color:#243d46;max-width:680px;margin:16px 0 20px}.lesson-focus .coach-exercise>.chip{display:none}.lesson-focus .understand-launch{padding:10px 14px;background:#f5faf2;border:2px solid #dfebd6;gap:10px;border-radius:18px;margin:14px 0}.understand-launch img{object-fit:contain;flex-shrink:0}.lesson-focus .understand-launch>span{font-size:13px;flex:1;color:#526c4d}.lesson-focus .understand-launch button{font-weight:800;color:#397634;font-size:13px}.lesson-focus .coach-options{display:grid;gap:12px;margin:22px 0 12px}.lesson-focus .option{min-height:74px;padding:17px 20px;border:2px solid #dce3e6;border-bottom:5px solid #ccd6da;border-radius:17px;background:white;box-shadow:none!important;text-align:left;transition:background .15s,border-color .15s,transform .15s;color:#293f48}.lesson-focus .option:not(:disabled):hover{background:#f6faf4;border-color:#b8d9af;transform:translateY(-1px)}.lesson-focus .option.selected{background:#eef9e9;border-color:#64b84b;border-bottom-color:#41983a;color:#2c6b2b}.lesson-focus .option.correct{background:#e9f9de;border-color:#65b64a;color:#2e7024}.lesson-focus .option.wrong{background:#fff0ed;border-color:#e27d6b;color:#9b4436}.lesson-focus .option>span{width:31px;height:31px;border:2px solid #d9e2e5;background:#fff;border-radius:9px;display:grid;place-items:center;font-size:13px;font-weight:750;color:#6c7c86}.lesson-focus .option.selected>span{border-color:#78bd60;color:#398534}.lesson-focus .answer-copy>strong{font-size:18px;line-height:1.5;font-weight:650}.lesson-focus .answer-copy>small{font-size:18px;color:#506e77}.lesson-focus .arabic-question{background:#f3f8fc;border:1px solid #dce6ec;padding:14px 20px;margin-bottom:16px}.lesson-focus .arabic-question>p{font-size:21px;line-height:1.8;margin-top:4px;color:#34586c}.lesson-focus .arabic-question-tools{margin:12px 0;gap:10px}.lesson-focus .arabic-question-tools small{display:none}.lesson-focus .confidence-details{margin:15px 0;color:#60777e;font-size:12px}.confidence-details summary{cursor:pointer;padding:10px 0}.confidence-details .recall-confidence{margin:8px 0 12px}.lesson-action{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;padding:20px 0 24px;border-top:2px solid #e9edef;z-index:10;margin-top:20px;box-shadow:0 -14px 20px #ffffffd9}.lesson-action>span{font-size:12px;color:#62777b;line-height:1.6}.lesson-action>.primary{background:#43b649!important;border:0!important;border-bottom:5px solid #2b8c36!important;color:white!important;border-radius:14px;min-height:54px;min-width:190px;justify-content:center;font-size:14px;font-weight:850;text-transform:uppercase;letter-spacing:.7px;box-shadow:none!important}.lesson-action>.primary:disabled{background:#e4e9eb!important;border-bottom-color:#d1d9dc!important;color:#8a999f!important;opacity:1}.lesson-action>.primary:not(:disabled):active{transform:translateY(3px);border-bottom-width:2px!important}.lesson-focus .coach-feedback{border:0;border-radius:18px;background:#eff9e7;padding:22px 24px 0;margin:20px 0}.lesson-focus .coach-feedback.retry{background:#fff3e9}.lesson-focus .feedback-game{display:flex;align-items:center;gap:12px}.lesson-focus .feedback-game h3{font-size:20px;color:#357a2e;margin:0}.lesson-focus .feedback-game>b{margin-left:auto;font-size:17px}.lesson-focus .feedback-game>span{font-size:30px}.lesson-focus .coach-feedback>p{font-size:16px;line-height:1.75;color:#334e43}.feedback-details{border-top:1px solid #d4e3ce;margin-top:20px}.feedback-details summary{padding:17px 0;cursor:pointer;font-size:16px;font-weight:750;color:#346d3c;display:flex;justify-content:space-between;align-items:center;gap:12px}.lesson-focus .coach-feedback .lesson-action{background:inherit;box-shadow:none}.lesson-focus .coach-source{font-size:11px;line-height:1.7;color:#70818a;margin:15px 0 25px}.lesson-focus.coach-calm .coach-prompt{font-size:27px!important;line-height:1.8!important}.lesson-focus.coach-calm .option{min-height:85px}.lesson-focus.coach-large .answer-copy>strong{font-size:22px}.lesson-focus.coach-large .answer-copy>small{font-size:23px}@media(max-width:600px){.lesson-focus{padding:14px 18px 0}.session-header{gap:12px}.session-brand{font-size:23px}.session-reading{padding:7px 9px}.session-reading span{display:none}.session-header>span{font-size:12px}.lesson-focus .coach-exercise{padding:0}.lesson-focus .session-gamebar{margin:18px 0}.lesson-focus .ykb-session-label>small{display:none}.lesson-focus .question-scene svg{max-height:105px}.lesson-focus .coach-prompt{font-size:22px!important}.lesson-focus .understand-launch{flex-direction:row;align-items:center}.lesson-focus .understand-launch>span{display:none}.lesson-focus .understand-launch button{margin-left:auto}.lesson-focus .option{padding:14px;min-height:72px}.lesson-action{gap:10px;padding:15px 0 max(18px,env(safe-area-inset-bottom))}.lesson-action>span{max-width:120px;font-size:11px}.lesson-action>.primary{min-width:155px;font-size:12px}.lesson-focus .coach-feedback{padding:16px 16px 0}.lesson-focus .feedback-game h3{font-size:18px}}

.lesson-focus .session-header{position:sticky;top:-24px;padding:10px 0;background:#fff;z-index:15}.lesson-focus .question-scene{max-width:270px;margin:5px auto 8px}.lesson-focus .question-scene svg{max-height:76px}.lesson-focus .exercise-instruction h2{font-size:23px;margin:5px 0 8px}.lesson-focus .understand-launch{padding:6px 12px;margin:10px 0}.lesson-focus .understand-launch img{width:35px;height:35px}.lesson-focus .coach-exercise>.subtle{display:inline-flex;font-size:12px;margin:4px 14px 4px 0}.lesson-focus .coach-exercise>.ykb-help-toggle{display:none}.lesson-focus .coach-prompt{margin:12px 0}.lesson-focus .arabic-question{padding:9px 15px}.lesson-focus .arabic-question>strong{display:none}.lesson-focus .arabic-question>p{font-size:20px;margin:0}.lesson-focus .arabic-question-tools{display:inline-flex;margin:4px 0}.lesson-focus .arabic-question-tools button{font-size:13px;padding:6px 10px}.lesson-focus .question-guide{clear:both}.lesson-focus .guide-tabs button{font-size:12px;padding:8px 10px}.lesson-focus .question-guide p{font-size:17px}.lesson-focus .question-guide p[lang=ar]{font-size:21px}@media(max-width:600px){.lesson-focus .session-header{top:-14px}.lesson-focus .question-scene svg{max-height:64px}.lesson-focus .option{min-height:66px}.lesson-focus .coach-prompt{font-size:21px!important}}
@media(max-height:740px){.lesson-focus .question-scene{display:none}.lesson-focus .exercise-instruction{display:none}.lesson-focus .session-gamebar{margin:10px auto 12px}.lesson-focus .understand-launch{margin:8px 0}.lesson-focus .coach-prompt{margin:12px 0}.lesson-focus .ykb-session-label{margin-bottom:10px}}
.lesson-focus .coach-options .option{margin:0!important;width:100%}.lesson-focus .coach-options{gap:12px}@media(min-width:900px){.lesson-focus .coach-options{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-focus .coach-options .option{min-height:100px;align-items:center}.lesson-focus .coach-options .answer-copy>strong{font-size:17px}.lesson-focus .coach-options .answer-copy>small{font-size:18px}}
.external-practice{display:flex;gap:16px;margin:20px 0;padding:24px;border:2px solid #c9dbef;border-bottom:5px solid #b6cce3;border-radius:22px;background:#f1f7ff;color:#284b69}.external-practice-icon{display:grid;place-items:center;flex-shrink:0;width:50px;height:50px;border-radius:15px;background:#dceaff;color:#3874b2}.external-practice h3{font-size:21px;margin:7px 0 10px;color:#284b69}.external-practice p{font-size:14px;line-height:1.75;color:#415e76;margin:7px 0}.external-practice p[lang=ar]{font-size:18px;line-height:1.9}.external-practice small{display:block;line-height:1.7;color:#536b7b;font-size:12px}.external-practice a{display:flex;gap:10px;align-items:center;justify-content:space-between;text-decoration:none;font-size:14px;font-weight:800;border:2px solid #9cbddf;border-bottom:4px solid #7e9fc6;border-radius:13px;background:white;padding:14px 16px;margin-top:17px;color:#2d6399}.external-practice a:focus-visible{outline:3px solid #164f9b;outline-offset:4px}.external-practice a:hover{background:#e7f0ff}@media(max-width:600px){.external-practice{padding:18px;gap:12px}.external-practice-icon{width:36px;height:36px}.external-practice h3{font-size:19px}.external-practice a{font-size:12px;padding:12px}}

.external-practice .import-launch{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 18px;width:100%;background:#3174b6;border:2px solid #28629a;border-bottom:5px solid #225082;border-radius:14px;color:white;font-weight:800;font-size:14px;margin-top:18px}.external-practice .import-original-link{font-size:11px;border:0;background:none;padding:4px;justify-content:flex-start;margin-top:10px;color:#355d7e}.imported-bank{max-width:1080px;margin:auto}.imported-bank>.eyebrow{display:block;margin:25px 0 12px}.imported-bank>h2{font-size:34px;line-height:1.3}.import-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.import-overview>div{border:2px solid #e0e8e8;border-bottom:5px solid #d5e1df;background:#fff;border-radius:20px;padding:22px}.import-overview strong{display:block;font-size:31px;color:#2b7965}.import-overview span{font-size:12px;color:#546e6e;display:block;margin-top:8px}.import-key-note{font-size:13px;line-height:1.8;padding:17px 20px;border:1px solid #dfd9ba;background:#fffaf0;border-radius:16px;margin:20px 0;color:#65572f}.import-key-note p{margin:8px 0}.import-key-note p[lang=ar]{font-size:18px;line-height:1.8}.import-sets{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:25px 0}.import-sets>button{text-align:left;display:grid;gap:13px;border:2px solid #bcdcca;border-bottom:5px solid #9cc3ad;border-radius:18px;background:#f2faf5;color:#2b604a;padding:20px}.import-sets strong{font-size:19px}.import-sets small{font-size:12px}.import-sets span{font-size:12px;font-weight:800;display:flex;gap:8px;align-items:center}.import-tools{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin:25px 0 15px}.import-tools>label{display:flex;align-items:center;gap:12px;flex:1;min-width:220px;background:white;border:2px solid #d2e0e4;border-radius:14px;padding:10px 16px}.import-tools input{width:100%;border:0;background:transparent;outline-offset:4px;padding:8px;font-size:15px}.import-tools>button{display:flex;gap:8px;align-items:center;font-size:13px;border:2px solid #d2e0e4;border-radius:14px;padding:17px;background:white}.import-tools>button[aria-pressed=true]{background:#e5f6eb;border-color:#53a873}.import-list{margin:25px 0}.import-list article{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:20px;background:white;border:1px solid #dce7e9;border-radius:16px;margin:12px 0}.import-list small{color:#568178;font-size:10px;font-weight:800;letter-spacing:.7px}.import-list h3{font-size:17px;line-height:1.65;margin:8px 0 0;color:#2b4650}.import-list article>button{flex-shrink:0}.import-attribution{font-size:12px;color:#405f75;border-top:1px solid #d4e2e6;padding:18px 0;line-height:1.9;margin:22px 0 0}.import-attribution a{color:#255f97;text-decoration:underline;font-weight:750}.import-attribution small{font-size:11px}.import-label{display:flex;gap:8px;align-items:center;font-size:10px;font-weight:800;letter-spacing:.8px;color:#46766b;flex-wrap:wrap;margin:15px 0}.import-label button{display:flex;align-items:center;gap:8px;margin-left:auto;color:#496c8c;font-size:12px;letter-spacing:0;padding:9px;border:1px solid #d0e2e8;border-radius:10px}.import-question-image{display:block;max-width:100%;max-height:340px;height:auto;width:auto;margin:20px auto;object-fit:contain;border-radius:8px}.imported-session .import-key-note{font-size:12px;padding:10px 15px}.imported-session .lesson-action{margin-top:15px}.import-saved{display:flex;gap:15px;background:#eef5fc;border:1px solid #c7dbed;border-radius:17px;padding:18px;color:#315574;margin:18px 0;line-height:1.8}.import-saved>svg{flex-shrink:0}.import-saved strong{font-size:17px}.import-saved p{font-size:14px}.import-saved p[lang=ar]{font-size:19px}.import-summary{margin:20px 0;background:#f1faf6}.imported-bank button:focus-visible,.imported-bank a:focus-visible{outline:3px solid #1857a4;outline-offset:4px}@media(max-width:600px){.imported-bank>h2{font-size:28px}.import-overview{gap:8px}.import-overview>div{padding:14px 10px}.import-overview strong{font-size:25px}.import-overview span{font-size:10px}.import-list article{align-items:flex-start;flex-direction:column}.import-list h3{font-size:16px}.import-key-note{padding:15px}.imported-session .import-label{font-size:9px}.imported-session .import-label button{font-size:10px}.imported-session .coach-prompt{font-size:22px!important}.imported-session .lesson-action>.primary{min-width:165px}}


/* Playful 3D question cards and locally generated feedback sounds */
.game-audio{display:none}.sound-switch{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:2px solid #d7e3df;border-bottom:4px solid #c2d6cb;border-radius:12px;padding:9px 11px;background:#fff;color:#417453;font-size:12px;font-weight:800;white-space:nowrap}.sound-switch[aria-pressed=false]{color:#6f7f88;border-color:#e0e5e7;background:#f5f7f8}.sound-error{position:relative;z-index:20;max-width:760px;margin:8px auto;padding:12px 18px;border-radius:12px;background:#fff1d5;color:#72582b;font-size:13px}.playful-mode{background:radial-gradient(ellipse at 12% 4%,#eaf9ef 0,transparent 32%),radial-gradient(ellipse at 96% 50%,#edf4ff 0,transparent 35%),#fff!important}.playful-mode .session-header{border-bottom:1px solid #e1ece8;background:#fffefcf5}.playful-mode .coach-exercise.playful-card{background:transparent}.playful-scene{position:relative;display:flex;align-items:center;gap:14px;min-height:94px;padding:8px 20px 8px 8px;margin:8px 0 18px;border:2px solid #dbe9dd;border-bottom:5px solid #c3d9c9;border-radius:23px;background:linear-gradient(135deg,#f1faef,#ecf7ff);box-shadow:inset 0 2px #fff,0 8px 18px #2c6c4d08;isolation:isolate}.scene-nilo{position:relative;z-index:2;object-fit:contain;filter:drop-shadow(0 6px 3px #235f4c25);transform:rotate(-5deg);animation:scene-nilo-bob 3.8s ease-in-out infinite}.scene-message{position:relative;z-index:2;flex:1;min-width:0}.scene-message strong{display:block;font-size:17px;line-height:1.5;color:#365e46;font-weight:850}.scene-message>span{display:block;font-size:11px;color:#648173;margin-top:4px}.scene-mini-world{position:relative;width:102px;height:74px;flex-shrink:0;margin-left:8px;perspective:350px}.mini-road{position:absolute;inset:29px 0 0;border-radius:13px;background:linear-gradient(150deg,#a7d4bf,#72b39a);transform:rotateX(40deg) rotateZ(-18deg);box-shadow:0 6px 0 #579279,0 10px 8px #32684c20;border:2px solid #cee9da}.mini-road:after{content:"";position:absolute;left:10%;right:10%;top:45%;border-top:2px dashed white}.mini-vehicle{position:absolute;left:33px;top:10px;transform:rotate(-9deg);color:#237b67;filter:drop-shadow(2px 4px #d0ecdf);animation:mini-drive 4s ease-in-out infinite}.mini-token{position:absolute;display:grid;place-items:center;width:29px;height:29px;border:2px solid #fff5c4;border-bottom:4px solid #d6a949;border-radius:10px;color:#a98129;background:linear-gradient(135deg,#ffedaa,#ffd46e);box-shadow:0 4px 7px #8c762a12;transform:rotate(-12deg)}.token-star{top:0;left:0}.token-shield{top:36px;right:-6px;background:linear-gradient(135deg,#dcf7ff,#9bd9ed);border-color:#e5f9ff;border-bottom-color:#76b6cd;color:#4388a8;transform:rotate(10deg)}.playful-mode .question-scene{display:none}.playful-mode .understand-launch img{display:none}.playful-mode .understand-launch{background:#fffaf0;border-color:#eee0b9;border-bottom:4px solid #e3d2a3;border-radius:14px;min-height:40px}.playful-mode .coach-options{perspective:1000px;padding:2px 0 9px}.playful-mode .coach-options .option{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(155deg,#fff 20%,#f5f9fd)!important;border:2px solid #d6e0e5!important;border-bottom:7px solid #b5c7d1!important;border-radius:19px;box-shadow:inset 0 2px #fff,0 7px 0 #e6edf1,0 12px 15px #28495708!important;transform:translateY(0);transform-style:preserve-3d;transition:transform .16s ease,box-shadow .16s ease,border-color .16s,background .16s;min-height:88px}.playful-mode .coach-options .option:before{content:"";position:absolute;inset:0;border-radius:16px;background:linear-gradient(120deg,#ffffff70,transparent 45%);z-index:-1;pointer-events:none}.playful-mode .coach-options .option:not(:disabled):hover{transform:translateY(-3px) rotateX(2deg)!important;box-shadow:inset 0 2px #fff,0 10px 0 #dbe7ed,0 18px 22px #28495712!important;border-color:#afd1bd!important}.playful-mode .coach-options .option:not(:disabled):active{transform:translateY(6px)!important;box-shadow:inset 0 2px #fff,0 1px 0 #dbe7ed!important}.playful-mode .coach-options .option.selected{background:linear-gradient(145deg,#efffe6,#dcf4cc)!important;border-color:#92ce73!important;border-bottom-color:#65a64a!important;box-shadow:inset 0 2px #fff,0 6px 0 #d4e8c9,0 10px 15px #326c2520!important;transform:translateY(1px)}.playful-mode .coach-options .option>span{background:linear-gradient(145deg,#fff,#e5edf4);border:2px solid #d1dce4;border-bottom:4px solid #b7cad8;border-radius:11px;box-shadow:inset 0 2px #fff;color:#536e80;min-width:34px;height:37px}.playful-mode .coach-options .option.selected>span{background:linear-gradient(145deg,#fffbe5,#ffe5a0);border-color:#ecc86f;border-bottom-color:#c5a24e;color:#8a6825}.playful-mode .coach-options .option.correct{background:linear-gradient(145deg,#efffe2,#dbf6c7)!important;border-color:#76bb54!important;border-bottom-color:#4a9238!important;animation:correct-card-pop .42s ease-out both}.playful-mode .coach-options .option.wrong{background:linear-gradient(145deg,#fff4e8,#ffe2d7)!important;border-color:#dfa186!important;border-bottom-color:#bc8169!important;animation:gentle-card-nudge .35s ease-out both}.playful-mode .coach-options .option.correct>svg{border-radius:50%;background:#4c9e3a;color:white;padding:3px;width:26px;height:26px}.playful-mode .coach-options .answer-copy>strong{font-weight:700}.playful-mode .lesson-action>.primary{background:linear-gradient(160deg,#62c94d,#39a83c)!important;border:2px solid #39a13b!important;border-bottom:7px solid #267c2d!important;box-shadow:inset 0 2px #ffffff60,0 5px 0 #d9eacf!important;border-radius:16px}.playful-mode .lesson-action>.primary:disabled{background:#e7ecee!important;border-color:#dbe2e5!important;border-bottom-color:#c3cfd4!important;box-shadow:none!important;color:#8a999f!important}.playful-mode .lesson-action>.primary:not(:disabled):active{transform:translateY(4px);box-shadow:inset 0 2px #ffffff60,0 1px 0 #d9eacf!important;border-bottom-width:3px!important}.playful-mode .coach-feedback{border:2px solid #cce4b9!important;border-bottom:5px solid #b2d69b!important;box-shadow:inset 0 2px #fff,0 10px 20px #42682e08;border-radius:20px!important}.playful-mode .coach-feedback.retry{border-color:#efd4b5!important;border-bottom-color:#ddba93!important}.scene-correct{background:linear-gradient(135deg,#f2ffdf,#e6f9d8);border-color:#c5e0a6;border-bottom-color:#9cc676}.scene-correct .scene-nilo{animation:nilo-happy .6s ease-out both}.scene-wrong{background:linear-gradient(135deg,#fff8e7,#fff0df);border-color:#efdab9;border-bottom-color:#dcc397}.scene-wrong .scene-message strong{color:#825e35}.scene-saved{background:linear-gradient(135deg,#edf6ff,#e1eefb);border-color:#cadff0;border-bottom-color:#a6c5e0}.answer-sparkles{position:absolute;inset:-10px 0;pointer-events:none;overflow:hidden;z-index:3}.answer-sparkles i{position:absolute;left:calc(10% + var(--spark)*11%);top:60%;font-style:normal;color:#deb63e;font-size:17px;animation:sparkle-answer .8s ease-out both;animation-delay:calc(var(--spark)*.035s)}.scene-correct .mini-token{animation:token-spin .8s ease-out both}.scene-saved .mini-token{animation:correct-card-pop .45s ease-out both}.playful-mode.coach-calm{background:#fff!important}.playful-mode.coach-calm .scene-nilo,.playful-mode.coach-calm .mini-vehicle{animation:none!important}.playful-mode.coach-calm .answer-sparkles{display:none}.playful-mode.coach-calm .coach-options .option{transform:none!important;transition:none!important}.playful-mode .session-header .sound-switch{font-size:11px;padding:8px 10px}.session-header .sound-switch>span{margin:0}.playful-mode .coach-prompt{color:#254151!important}.playful-mode .lesson-action{background:#fffefc}.playful-mode .coach-options{row-gap:17px}.playful-mode .coach-source{font-size:11px}.imported-session .import-key-note{line-height:1.6}
@keyframes correct-card-pop{0%{transform:translateY(0) scale(1)}45%{transform:translateY(-4px) scale(1.015)}100%{transform:translateY(0) scale(1)}}@keyframes gentle-card-nudge{0%,100%{transform:translateX(0)}30%{transform:translateX(-4px)}65%{transform:translateX(4px)}}@keyframes scene-nilo-bob{50%{transform:translateY(-3px) rotate(3deg)}}@keyframes mini-drive{50%{transform:translateX(5px) translateY(-2px) rotate(-9deg)}}@keyframes nilo-happy{35%{transform:translateY(-13px) rotate(8deg)}70%{transform:translateY(0) rotate(-6deg)}100%{transform:translateY(0) rotate(0)}}@keyframes sparkle-answer{0%{opacity:0;transform:translateY(0) scale(.4)}25%{opacity:1}100%{opacity:0;transform:translateY(-65px) rotate(65deg) scale(1.1)}}@keyframes token-spin{0%{transform:rotate(-12deg)}50%{transform:translateY(-7px) rotate(18deg)}100%{transform:rotate(-12deg)}}
@media(max-width:680px){.playful-scene{min-height:78px;gap:8px;padding:5px 13px 5px 4px;margin-bottom:12px}.scene-mini-world{width:66px;height:60px;margin-left:4px}.mini-vehicle{left:19px;top:10px}.mini-road{inset:24px 0 0}.mini-token{width:23px;height:23px;border-radius:8px}.mini-token svg{width:14px}.token-shield{right:-7px;top:34px}.scene-nilo{width:64px;height:64px}.scene-message strong{font-size:14px}.scene-message>span{font-size:10px}.playful-mode .session-header{gap:9px}.playful-mode .session-header .sound-switch{padding:8px}.playful-mode .session-header .sound-switch span{display:none}.playful-mode .session-header>span{font-size:11px}.playful-mode .session-brand{font-size:22px}.playful-mode .coach-options .option{min-height:78px;padding:13px}.playful-mode .coach-options .option>span{min-width:31px;height:34px}.playful-mode .lesson-action>.primary{font-size:11px;min-width:155px}.playful-mode .lesson-action{padding-bottom:max(15px,env(safe-area-inset-bottom))}.playful-mode .import-label{margin:8px 0}}
@media(max-height:740px){.playful-scene{min-height:67px;margin:3px 0 12px}.scene-nilo{width:59px;height:59px}.scene-mini-world{height:54px}.scene-message>span{display:none}.playful-mode .coach-prompt{margin:10px 0 12px}.playful-mode .understand-launch{margin:6px 0}.playful-mode .coach-options .option{min-height:80px}}
@media(prefers-reduced-motion:reduce){.playful-mode *,.playful-scene *{animation:none!important;transition:none!important}.answer-sparkles{display:none}.playful-mode .coach-options .option:not(:disabled):hover{transform:none!important}}


/* Komarken is the primary journey: 65 short lessons, 325 original source entries. */
.coach:has(.imported-path-home)>.coach-top>.subtle{display:none}.coach:has(.imported-path-home)>.comfort-bar,.coach:has(.imported-path-home)>.learning-options{display:none}.import-home-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:2px solid #e2e9e7;padding:8px 0 18px;margin-bottom:24px}.import-home-tabs button{padding:11px 17px;font-size:13px;font-weight:800;border:2px solid transparent;border-radius:13px;color:#748c83}.import-home-tabs button[aria-pressed=true]{background:#eaf8e5;border-color:#add49d;border-bottom:4px solid #86b675;color:#397634}.import-journey-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px}.import-journey-hero{position:relative;border:2px solid #388b51;border-bottom:7px solid #26793e;background:linear-gradient(125deg,#3a9953,#63bc5f);border-radius:25px;padding:28px 165px 28px 28px;color:#fff;overflow:hidden;min-height:260px;box-shadow:inset 0 2px #ffffff35}.import-journey-hero>span{font-size:9px;letter-spacing:1.3px;font-weight:850;color:#e4f8dc}.import-journey-hero h2{font-size:31px;line-height:1.25;margin:14px 0 13px;font-weight:850;letter-spacing:-.7px;color:white}.import-journey-hero p{font-size:13px;line-height:1.8;color:#efffe9}.import-journey-hero .game-button{background:#fff!important;color:#387c32!important;border:2px solid #e5f2de!important;border-bottom:5px solid #c6deb7!important;justify-content:center;min-height:48px;font-size:12px;max-width:270px;margin-top:18px}.import-journey-hero>img{position:absolute;right:0;bottom:25px;width:175px;height:185px;object-fit:contain;filter:drop-shadow(0 10px 5px #16482935);animation:nilo-float 4s ease-in-out infinite}.import-progress-strip{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:18px 12px;font-size:11px;font-weight:800;color:#748d77}.journey-unit-picker{display:flex;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid #dfe8e2;margin-bottom:30px}.journey-unit-picker label{font-size:11px;font-weight:800;color:#527362;min-width:160px}.journey-unit-picker select{display:block;margin-top:7px;border:2px solid #ccded0;border-radius:10px;background:white;padding:10px 13px;color:#497051;font-size:12px;width:100%}.journey-unit-picker p{font-size:12px;color:#758a7c;line-height:1.8}.import-learning-road{position:relative;padding:15px 15px 25px;isolation:isolate}.import-learning-road:before{content:"";position:absolute;left:39%;top:35px;bottom:180px;border-left:8px dotted #d3e5d4;z-index:-1}.import-road-stop{position:relative;display:flex;align-items:center;justify-content:center;gap:22px;min-height:142px}.import-road-stop.curve-0{transform:translateX(-45px)}.import-road-stop.curve-1{transform:translateX(-15px)}.import-road-stop.curve-2{transform:translateX(35px)}.import-road-stop.curve-3{transform:translateX(0)}.import-node-wrap{position:relative;display:flex;align-items:center;flex-direction:column;flex-shrink:0}.import-lesson-node{display:grid;place-items:center;width:80px;height:74px;border:4px solid #c7d8d0;border-bottom:10px solid #b5c9bc;background:linear-gradient(145deg,#eff6f1,#dae8df);color:#8da898;border-radius:29px;box-shadow:inset 0 3px #fff8,0 6px #e0e9e0;transition:transform .15s,box-shadow .15s}.import-road-stop.current .import-lesson-node{background:linear-gradient(145deg,#78d15e,#48ad41);border-color:#5cb448;border-bottom-color:#318b32;color:white;box-shadow:inset 0 3px #b5ed9a,0 7px #d2e6c8,0 12px 25px #6cab4720}.import-road-stop.seen .import-lesson-node{background:linear-gradient(145deg,#ffe39a,#f6c65e);border-color:#e5bf65;border-bottom-color:#bf943f;color:#95702d}.import-lesson-node:hover{transform:translateY(-4px) rotate(-4deg)}.import-lesson-node:active{transform:translateY(5px);box-shadow:none}.import-node-stars{display:block;letter-spacing:5px;margin:13px 0 0;font-size:12px;color:#adc1ab}.import-road-stop.seen .import-node-stars{color:#cda94e}.import-road-label{max-width:215px;width:215px}.import-road-label>span{font-size:9px;letter-spacing:1px;font-weight:850;color:#96aaa0}.import-road-label strong{display:block;font-size:15px;color:#55755d;line-height:1.5;margin:6px 0}.import-road-label small{font-size:11px;line-height:1.7;color:#81998a}.import-unit-finish{text-align:center;max-width:350px;margin:25px auto 0;padding:25px;color:#b6a571}.import-unit-finish>svg{color:#d8ba6a}.import-unit-finish h3{font-size:19px;color:#7b8f7c;margin:15px 0 10px}.import-unit-finish p{font-size:12px;line-height:1.9;color:#97aa9d}.import-unit-finish button{margin:15px auto}.import-journey-side{display:flex;flex-direction:column;gap:20px}.import-preferences,.import-coverage{background:white;border:2px solid #e0e8e4;border-bottom:5px solid #d3dfd6;border-radius:20px;padding:22px}.import-preferences h3{font-size:17px;color:#536e5c;margin:0 0 18px}.import-preferences label{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.8;color:#657f6d;margin:11px 0}.import-preferences input{accent-color:#4a9b45}.import-preferences .sound-switch{margin-top:10px}.import-coverage summary{font-size:12px;line-height:1.7;font-weight:800;color:#64816c;cursor:pointer}.import-coverage p{font-size:11px;line-height:1.9;color:#708477}.import-question-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.import-question-tools button{display:inline-flex;align-items:center;gap:7px;font-size:12px;padding:9px 12px;background:#f6fafb;border:2px solid #d8e6ea;border-bottom:4px solid #c6d8dd;border-radius:11px;color:#5a7c8a;font-weight:750}.import-question-tools button[aria-pressed=true]{background:#eaf5fb;color:#477997;border-color:#b6d7e7}.key-term-list p{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #dce8e1}.key-term-list span{font-size:18px;text-align:right}.verified-answer-source{font-size:11px!important;color:#6f8b77!important}.verified-answer-source a{color:#427a67;text-decoration:underline}.library-question-ar{font-size:18px!important;color:#627d8b!important;line-height:1.9!important}.import-summary{border:2px solid #d6e6c9;border-bottom:6px solid #bad0a6;border-radius:25px;text-align:center;background:linear-gradient(135deg,#fafff2,#f2faf7);margin-bottom:25px}.import-summary>svg{color:#d0ad4e}.import-summary .row{justify-content:center;margin-top:20px}.imported-path-home>.import-home-tabs{margin-top:10px}
@media(max-width:1000px){.import-journey-layout{grid-template-columns:minmax(0,1fr)}.import-journey-side{display:grid;grid-template-columns:1fr 1fr}.import-coverage{grid-column:1/-1}.import-journey-hero h2{font-size:31px}.import-learning-road:before{left:39%}}
@media(max-width:600px){.import-home-tabs{gap:3px}.import-home-tabs button{font-size:11px;padding:9px 11px}.import-journey-hero{padding:24px 110px 23px 22px;min-height:245px}.import-journey-hero h2{font-size:26px}.import-journey-hero p{font-size:11px}.import-journey-hero>img{width:132px;height:150px;right:-12px;bottom:30px}.import-journey-hero .game-button{font-size:11px;padding:10px;gap:7px}.import-progress-strip{font-size:10px;gap:10px;padding:16px 5px}.journey-unit-picker{gap:12px}.journey-unit-picker p{font-size:10px}.journey-unit-picker label{min-width:145px}.import-road-stop{gap:18px;min-height:136px}.import-road-stop.curve-0{transform:translateX(-20px)}.import-road-stop.curve-1{transform:translateX(0)}.import-road-stop.curve-2{transform:translateX(24px)}.import-road-label{width:180px;max-width:180px}.import-road-label strong{font-size:13px}.import-road-label small{font-size:10px}.import-lesson-node{width:72px;height:67px;border-radius:25px}.import-learning-road:before{left:29%}.import-journey-side{grid-template-columns:1fr}.import-coverage{grid-column:auto}.import-preferences{padding:19px}.import-question-tools{gap:5px}.import-question-tools button{padding:8px 9px;font-size:11px}.import-summary h2{font-size:25px}.import-summary p{font-size:13px;line-height:1.8}}
@media(prefers-reduced-motion:reduce){.import-journey-hero>img,.import-lesson-node{animation:none!important;transition:none!important}}


/* Clearer question reading surface and contextual image support */
.imported-session.playful-mode{background:linear-gradient(135deg,#f1f8f4,#f4f8fc 65%,#f9f6ef)!important}.imported-session.playful-mode .coach-exercise{max-width:960px!important;padding:0 12px!important}.imported-session .playful-scene{min-height:68px;background:#ffffffa8;margin-bottom:16px}.imported-session .scene-mini-world{display:none}.imported-session .scene-nilo{width:55px;height:55px}.imported-session .scene-message strong{font-size:15px}.imported-session .import-label{margin:16px 0 12px;font-size:10px;letter-spacing:.7px}.question-reading-card{background:#fff;border:1px solid #dce7e3;border-bottom:4px solid #d0dfd8;box-shadow:0 12px 32px #294e3c07;border-radius:25px;padding:25px;margin-bottom:18px}.question-reading-card.has-context-art{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:center}.question-instruction{display:block;font-size:9px;letter-spacing:1.1px;font-weight:850;color:#839b91;margin-bottom:12px}.imported-session.playful-mode .question-reading-card .coach-prompt{font-size:24px!important;line-height:1.6!important;margin:0!important;font-weight:750;color:#284452!important}.question-media figure{margin:0}.context-art svg{display:block;width:100%;height:auto;border-radius:19px;box-shadow:0 6px 0 #dae7e5}.question-media figcaption{font-size:10px;line-height:1.6;color:#728f83;margin-top:12px;text-align:center}.source-picture-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin-top:20px}.question-image-button{display:flex;flex-direction:column;align-items:center;gap:13px;width:100%;padding:15px;background:#f7fafb;border:2px solid #e1e9e9;border-radius:18px;color:#688195}.question-image-button img{display:block;width:auto;height:auto;max-width:100%;max-height:285px;object-fit:contain}.question-image-button>span{display:flex;align-items:center;gap:8px;background:white;padding:7px 12px;border:1px solid #d7e2e8;border-radius:30px;font-size:11px;font-weight:750}.question-image-button:hover{border-color:#99c6b9;background:#f0f8f4}.question-image-button:focus-visible{outline:3px solid #2264a4;outline-offset:4px}.question-image-dialog{border:0;border-radius:22px;padding:20px;max-width:min(1100px,94vw);max-height:94vh;box-shadow:0 25px 100px #12283955;background:#fff}.question-image-dialog::backdrop{background:#142a3bba;backdrop-filter:blur(5px)}.question-image-dialog>img{display:block;max-width:100%;max-height:75vh;width:auto;height:auto;object-fit:contain;margin:15px auto}.question-image-dialog>p{font-size:12px;color:#6c8491;text-align:center}.image-dialog-close{display:flex;align-items:center;justify-content:center;gap:8px;margin-left:auto;background:#eff5f5;border:2px solid #dce7e5;border-radius:12px;padding:9px 14px;color:#41645f;font-weight:750}.imported-session .import-question-tools{background:#fff8;display:flex;padding:8px;border-radius:15px;border:1px solid #e1e9e7;gap:8px;margin:14px 0}.imported-session .import-question-tools button{background:#fff;min-height:40px;border:1px solid #d3e1e4;border-bottom:3px solid #c3d5d8;padding:8px 15px;font-size:12px;color:#597d87}.imported-session .arabic-question{padding:19px 23px!important;border:1px solid #d4e3ed!important;border-radius:18px!important;background:#edf5fb!important}.imported-session .arabic-question>p{font-size:22px!important;line-height:1.9!important;color:#3a6177!important}.imported-session .coach-options{gap:16px!important;margin-top:22px}.imported-session .coach-options .option{background:#fff!important;border-color:#d5e0e5!important;box-shadow:0 5px 0 #dde7eb,0 8px 18px #25496008!important;border-bottom-width:5px!important;padding:19px 21px!important;border-radius:19px;min-height:100px!important}.imported-session .coach-options .option .answer-copy>strong{font-size:18px!important;font-weight:650;line-height:1.65}.imported-session .coach-options .option .answer-copy>small{font-size:20px!important;line-height:1.8;margin-top:8px;color:#657f91}.imported-session .coach-options .option.selected{background:#f0fae9!important}.imported-session .coach-options .option.correct{background:#eaf9dc!important}.imported-session .coach-options .option.wrong{background:#fff0e9!important}.imported-session .lesson-action{padding:19px 18px 22px;border:1px solid #dce7e2;border-radius:20px 20px 0 0;background:#fffffff5!important;backdrop-filter:blur(8px);box-shadow:0 -8px 25px #28483e09;margin:22px -12px 0}.imported-session .import-attribution{font-size:11px;color:#789085;padding-top:17px;margin-top:23px}.imported-session.coach-large .question-reading-card .coach-prompt{font-size:28px!important}.imported-session.coach-calm{background:#fff!important}.imported-session.coach-calm .question-reading-card{box-shadow:none;border-color:#9aada4}
@media(min-width:900px){.imported-session .coach-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.imported-session.playful-mode .coach-exercise{padding:0!important}.question-reading-card{padding:19px;border-radius:21px}.question-reading-card.has-context-art{grid-template-columns:minmax(0,1fr);gap:17px}.illustration-media{max-width:360px;width:100%;justify-self:center}.context-art svg{max-height:140px}.question-media figcaption{font-size:9px;margin-top:8px}.imported-session.playful-mode .question-reading-card .coach-prompt{font-size:22px!important;line-height:1.65!important}.question-instruction{font-size:8px;margin-bottom:10px}.source-picture-grid{grid-template-columns:1fr}.question-image-button img{max-height:250px}.imported-session .coach-options .option{padding:16px!important;min-height:85px!important}.imported-session .coach-options .option .answer-copy>strong{font-size:18px!important}.imported-session .coach-options .option .answer-copy>small{font-size:20px!important}.imported-session .arabic-question>p{font-size:21px!important}.imported-session .import-question-tools{gap:6px;padding:7px;flex-wrap:wrap}.imported-session .import-question-tools button{padding:8px 10px;font-size:11px}.imported-session .lesson-action{margin:20px -7px 0;padding:15px 12px max(18px,env(safe-area-inset-bottom))}.imported-session .scene-message>span{display:none}}
@media(max-width:760px) and (max-height:760px){.illustration-media{max-width:250px}.context-art svg{max-height:95px}.question-media figcaption{font-size:8px}.question-reading-card{padding:16px}.question-reading-card.has-context-art{gap:13px}.imported-session .playful-scene{display:none}}


/* Fixed learning overlay must not inherit an animated containing block. */
.coach:has(.imported-session),.imported-session{animation:none!important;transform:none!important}.imported-session{height:100dvh!important;max-height:none!important;opacity:1!important}.question-image-dialog:not([open]){display:none}

/* Learning profile and question analysis */
.learning-profile{background:#fff;border:1px solid #e0e9e5;border-radius:17px;padding:18px;margin:16px 0;box-shadow:0 7px 22px #223d3108}.learning-profile h3{margin:0 0 5px;color:#315448;font-size:17px}.learning-profile>p{margin:0 0 13px;color:#71877e;font-size:12px;line-height:1.55}.profile-topic{display:grid;grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #edf1ef}.profile-topic strong,.profile-topic small{display:block}.profile-topic strong{font-size:12px;color:#324c44}.profile-topic small{font-size:10px;color:#7b8d85;margin-top:4px;line-height:1.5}.profile-meter{height:8px;border-radius:20px;background:#edf2ef;overflow:hidden}.profile-meter i{display:block;height:100%;background:linear-gradient(90deg,#78b59c,#4a9079);border-radius:inherit}.difficulty-check{background:#f3f7f5;border:1px solid #dbe7e1;border-radius:16px;padding:15px;margin:17px 0;color:#46615a}.difficulty-check>p{margin:0 0 10px;font-size:13px;line-height:1.55}.difficulty-check>div{display:flex;gap:8px;flex-wrap:wrap}.difficulty-check button{background:#fff;border:1px solid #d6e2dc;border-radius:30px;padding:8px 12px;color:#526b63;font-size:12px}.difficulty-check button.selected{background:#e5f4e9;border-color:#73ac8e;color:#285f49}.option-reasoning{margin:16px 0;padding:13px 16px;background:#f7faf8;border-radius:13px;color:#536c63;font-size:13px;line-height:1.6}.option-reasoning summary{cursor:pointer;font-weight:700}.option-reasoning p{margin:9px 0 0}.confidence-setting{display:flex;justify-content:space-between;align-items:center;gap:10px}.confidence-setting select{max-width:150px;border:1px solid #d6e2dc;border-radius:9px;padding:8px;background:white;color:#46615a}.question-guide{line-height:1.7}.question-guide p{margin:10px 0}.question-guide strong{color:#35594d}.imported-session .import-question-tools button[aria-label="Minska stödet"],.imported-session .import-question-tools button[aria-label="Visa stöd igen"]{font-weight:700}
@media(max-width:720px){.learning-profile{padding:15px}.profile-topic{grid-template-columns:minmax(0,1fr) 54px}.difficulty-check button{font-size:11px;padding:8px 10px}.confidence-setting{align-items:flex-start;flex-direction:column}.confidence-setting select{max-width:none;width:100%}}

.imported-session .confidence-inline{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:16px 2px 0;color:#557068;font-size:12px}.imported-session .confidence-inline select{border:1px solid #d6e2dc;border-radius:9px;padding:9px 11px;background:white;color:#46615a;font:inherit}@media(max-width:720px){.imported-session .confidence-inline{justify-content:space-between}}

/* Personal study plan, vocabulary and grounded exam practice */
.learning-tool-page{background:linear-gradient(145deg,#fff,#f6faf8);border:1px solid #e1eae5;border-radius:22px;padding:clamp(18px,3vw,34px);box-shadow:0 12px 35px #294b3e08}.learning-tool-page>.eyebrow{font-size:10px;letter-spacing:1.1px;color:#6b9585;font-weight:800}.learning-tool-page>h2{font-size:clamp(23px,3vw,32px);line-height:1.25;color:#294c40;margin:12px 0}.learning-tool-page>p{color:#71847c;line-height:1.7;max-width:760px}.plan-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:22px 0}.plan-form label{display:grid;gap:7px;color:#46635a;font-size:12px;font-weight:700}.plan-form input,.plan-form select{width:100%;min-height:43px;border:1px solid #d7e4dd;border-radius:10px;background:#fff;padding:9px 11px;color:#38564b;font:inherit}.plan-difficult{display:flex;flex-wrap:wrap;gap:9px;border:1px solid #e1eae5;border-radius:14px;padding:14px;margin:12px 0 17px}.plan-difficult legend{padding:0 5px;color:#45685a;font-size:12px;font-weight:700}.plan-difficult label{display:flex;align-items:center;gap:7px;border:1px solid #e3eae6;background:white;border-radius:30px;padding:7px 11px;font-size:11px;color:#546d62}.plan-saved{display:inline-block;margin:0 12px;color:#3a7758;font-size:12px}.week-plan{margin-top:28px}.week-plan h3{display:flex;align-items:center;gap:9px;color:#35594d}.week-plan>p,.tool-note{font-size:12px;color:#7a8b84}.week-plan article{display:grid;grid-template-columns:63px minmax(0,1fr) auto;align-items:center;gap:12px;border-top:1px solid #e7eeea;padding:12px 0}.week-plan article>span{font-size:11px;font-weight:800;color:#648779}.week-plan article strong,.week-plan article small{display:block}.week-plan article strong{font-size:13px;color:#36554a}.week-plan article small{font-size:11px;color:#809088;margin-top:4px}.glossary-tools{display:flex;gap:10px;align-items:center;margin:20px 0}.glossary-tools label{display:flex;align-items:center;gap:8px;flex:1;background:white;border:1px solid #dce7e2;border-radius:12px;padding:9px 12px;color:#799087}.glossary-tools input{width:100%;border:0;outline:0;font:inherit}.glossary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.glossary-card{background:white;border:1px solid #e0e9e4;border-radius:15px;padding:14px 16px}.glossary-card summary{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:8px;cursor:pointer;color:#3c5c50}.glossary-card summary strong{font-size:15px}.glossary-card summary span{font-size:13px}.glossary-card summary button{border:1px solid #e1e9e5;background:#f7faf8;border-radius:9px;padding:7px;color:#648776}.glossary-card p{font-size:13px;line-height:1.6;color:#627a6f}.glossary-card>small{display:block;font-size:11px;color:#82918a;line-height:1.6}.exam-limit{display:flex;align-items:center;gap:12px;background:#fff6e8;border:1px solid #f0dfc3;border-radius:15px;padding:14px 17px;color:#80653c;margin:20px 0}.exam-limit p{margin:0;font-size:13px;line-height:1.6}.exam-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.exam-grid article{display:grid;justify-items:start;gap:7px;background:white;border:1px solid #e1eae5;border-bottom:4px solid #d7e5dc;border-radius:16px;padding:17px}.exam-grid article>svg{color:#75a08b}.exam-grid h3{margin:3px 0;color:#35574b}.exam-grid p{font-size:12px;color:#74877e;line-height:1.6}.import-home-tabs button{white-space:nowrap}
@media(max-width:760px){.plan-form{grid-template-columns:1fr}.week-plan article{grid-template-columns:48px minmax(0,1fr);gap:8px}.week-plan article button{grid-column:2;justify-self:start}.glossary-tools{align-items:stretch;flex-direction:column}.import-home-tabs{overflow:auto;max-width:100%;padding-bottom:5px}}

.audio-speed{display:flex;align-items:center;gap:7px;padding:0 9px;color:#648077;font-size:11px}.audio-speed select{border:1px solid #d6e2dc;border-radius:8px;background:white;padding:7px;color:#45665a}.listening-prompt{justify-content:center;color:#557068;font-size:14px}.imported-session .import-question-tools{flex-wrap:wrap}

/* Driver decisions and source-grounded study search */
.scenario-card{background:#fff;border:1px solid #dfe9e4;border-radius:19px;padding:clamp(16px,2.8vw,26px);margin-top:18px;box-shadow:0 10px 26px #294b3e09}.scenario-top{display:flex;justify-content:space-between;color:#6d8a7e;font-size:11px;font-weight:800;letter-spacing:.4px;margin-bottom:12px}.scenario-card>svg{display:block;width:100%;height:auto;border-radius:20px}.scenario-card>h3{font-size:22px;color:#315447;margin:20px 0 6px}.scenario-card>p{font-size:15px;line-height:1.7;color:#536e63}.scenario-choices{display:grid;gap:10px;margin:18px 0}.scenario-choices button{background:#fff;border:1px solid #d7e4dd;border-bottom:4px solid #cbdad2;border-radius:13px;padding:14px;text-align:left;color:#405d50;font-weight:650;line-height:1.55}.scenario-choices button:disabled{opacity:.72}.scenario-feedback{background:#f1f8f3;border:1px solid #d4e7db;border-radius:14px;padding:16px;margin:16px 0;color:#3c5e4d;line-height:1.65}.scenario-feedback strong{font-size:17px}.scenario-feedback p{margin:8px 0}.scenario-card>small{font-size:11px;color:#809188}.tutor-search{display:flex;gap:10px;margin:22px 0;align-items:center}.tutor-search label{display:flex;align-items:center;gap:9px;flex:1;min-width:0;border:1px solid #d8e5df;background:#fff;border-radius:12px;padding:11px;color:#789087}.tutor-search input{border:0;outline:0;width:100%;font:inherit}.tutor-results{display:grid;gap:12px}.tutor-results>h3{color:#37584c}.tutor-results article{background:#fff;border:1px solid #e0e9e4;border-radius:15px;padding:16px}.tutor-results article>small{color:#819087}.tutor-results article h4{color:#355548;line-height:1.6}.tutor-results article p{font-size:13px;line-height:1.7;color:#5e7469}.tutor-results article a{color:#337557;font-size:12px;font-weight:700}.tutor-results article button{display:block;margin-top:12px}.tutor-source-note{display:flex;gap:9px;align-items:flex-start;background:#f2f7f4;border:1px solid #e0eae4;border-radius:12px;padding:13px;margin-top:22px;color:#6d8176;font-size:12px;line-height:1.6}.tutor-source-note svg{flex-shrink:0;color:#608a72}@media(max-width:680px){.tutor-search{flex-direction:column;align-items:stretch}.tutor-search label{min-height:44px}}

/* First-person truck-cab simulator: animated SVG, weather and event cues. */
.cockpit-stage{position:relative;isolation:isolate;overflow:hidden;border:1px solid #35454d;border-radius:20px;background:#24323a;box-shadow:0 18px 46px #10201d35;margin:14px 0 18px;color:#f6faf8}.cockpit-hud{position:absolute;z-index:2;top:12px;left:14px;right:14px;display:flex;justify-content:space-between;gap:8px;pointer-events:none}.cockpit-hud span{display:inline-flex;align-items:center;gap:7px;max-width:68%;padding:7px 10px;border:1px solid #ffffff38;border-radius:99px;background:#18252dba;color:#f7fbfa;font-size:10px;font-weight:800;letter-spacing:.08em;backdrop-filter:blur(8px)}.cockpit-hud span:last-child{max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hud-live{display:inline-block;width:7px;height:7px;border-radius:50%;background:#75e3a8;box-shadow:0 0 0 4px #75e3a82b;animation:hud-pulse 1.8s infinite}.cockpit-view{display:block;width:100%;height:auto;aspect-ratio:960/520}.roadside-trees{animation:roadside-drift 12s ease-in-out infinite alternate;transform-origin:center bottom}.scene-traffic{animation:traffic-sway 3.5s ease-in-out infinite;transform-origin:480px 235px}.scene-brakelights rect{animation:brake-pulse 1.1s ease-in-out infinite alternate}.cockpit-caption{position:absolute;z-index:2;left:14px;bottom:12px;display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #ffffff32;border-radius:10px;background:#17232cc9;color:#f4f7f5;font-size:10px;font-weight:850;letter-spacing:.1em}.cockpit-caption span{opacity:.6}.incident-ice .ice-glint path{animation:ice-shimmer 2.8s ease-in-out infinite alternate}.incident-rain .rain-streaks{animation:rain-fall .72s linear infinite}.incident-light .scene-signal circle:first-of-type{filter:drop-shadow(0 0 7px #ff514b);animation:signal-glow 1s ease-in-out infinite alternate}.incident-cargo .scene-alert{animation:alert-bob 1s ease-in-out infinite alternate;transform-origin:794px 120px}.incident-help .scene-alert{animation:alert-bob 1.1s ease-in-out infinite alternate;transform-origin:802px 118px}.incident-tired .fatigue-vignette{animation:fatigue-pulse 4s ease-in-out infinite alternate}.incident-check .scene-alert{filter:drop-shadow(0 0 12px #f0bf52)}.scenario-narration{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 4px}.scenario-narration h3{margin:3px 0 0!important}.scenario-event{padding:14px 16px;border-left:3px solid #5b9d86;border-radius:0 12px 12px 0;background:#eef5f1;color:#415e52!important;line-height:1.75}.scenario-prompt{margin:20px 0 8px;color:#294d40}.scenario-choices button{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.scenario-choices button:hover:not(:disabled){transform:translateY(-2px);border-color:#75aa91;box-shadow:0 7px 16px #264b3b16}.scenario-choices button:focus-visible{outline:3px solid #4f9b7c;outline-offset:2px}.scenario-outcome{padding:12px 14px;border-radius:11px;background:#ffffff9c}.scenario-source{display:inline-block;margin:5px 0 14px;color:#316c58;font-size:13px;font-weight:750}.scenario-feedback .primary{display:flex;align-items:center;gap:8px}.scenario-feedback:has(.scenario-outcome) .scenario-outcome strong{color:#376d54}.scenario-card .scenario-feedback[role=status]{animation:feedback-arrive .28s ease-out both}.voice-actions{display:flex;flex-wrap:wrap;gap:7px}.voice-story{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #cbdcd3;border-radius:11px;background:#fff;color:#36594a;padding:9px 12px;font-weight:750}.voice-story:hover{background:#f0f7f2}.play-story{border-color:#3f7e68;background:#3f7e68;color:white}.play-story:hover{background:#326c58}.voice-note{display:block;margin:8px 0;color:#71877c}.voice-error{color:#9b3c38!important;font-size:13px}.scenario-event,.scenario-feedback p{font-size:15px}.scenario-feedback[role=status]{border-left:4px solid #63a481}.scenario-card>small{display:block;margin-top:13px;line-height:1.6}
@keyframes hud-pulse{50%{box-shadow:0 0 0 7px #75e3a812;opacity:.7}}@keyframes roadside-drift{to{transform:translateX(5px)}}@keyframes traffic-sway{50%{transform:translateY(2px)}}@keyframes brake-pulse{to{opacity:.55}}@keyframes ice-shimmer{to{opacity:.36;transform:translateX(4px)}}@keyframes rain-fall{to{transform:translateY(15px)}}@keyframes signal-glow{to{opacity:.68}}@keyframes alert-bob{to{transform:translateY(-4px)}}@keyframes fatigue-pulse{to{opacity:.5}}@keyframes feedback-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:620px){.cockpit-stage{border-radius:14px;margin-inline:-2px}.cockpit-hud{top:8px;left:8px;right:8px}.cockpit-hud span{font-size:8px;padding:6px 8px}.cockpit-caption{left:8px;bottom:8px;font-size:8px;padding:6px 8px}.scenario-narration{align-items:flex-start;flex-direction:column}.voice-actions{width:100%}.voice-story{flex:1}.scenario-choices button{padding:13px}.scenario-event{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){.cockpit-stage *,.scenario-choices button,.scenario-feedback[role=status]{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Perspective-first driving booth: layered road plane, windshield, cab frame and sudden incidents. */
.cab-simulator-3d{position:relative;isolation:isolate;overflow:hidden;margin:14px 0 18px;padding:0 0 38px;border:1px solid #33424a;border-radius:20px;background:#172229;color:#f4f8f7;box-shadow:0 20px 55px #101c1b38;perspective:1100px}.sim-hud{position:absolute;z-index:10;top:12px;left:14px;right:14px;display:flex;justify-content:space-between;gap:8px;pointer-events:none}.sim-hud span{display:flex;align-items:center;gap:7px;max-width:70%;padding:7px 10px;border:1px solid #ffffff38;border-radius:99px;background:#15232bc9;color:#f7fbfa;font-size:10px;font-weight:850;letter-spacing:.09em;backdrop-filter:blur(8px)}.sim-hud span:first-child i{width:7px;height:7px;border-radius:50%;background:#78e4ad;box-shadow:0 0 0 4px #78e4ad28}.cab-world{position:relative;overflow:hidden;aspect-ratio:960/520;min-height:260px;transform-style:preserve-3d;background:#91b9c9}.world-sky{position:absolute;inset:0;background:linear-gradient(180deg,#7da7ba 0%,#b7d0d3 57%,#c1ccbb 100%);transform:translateZ(-150px) scale(1.3)}.world-sun{position:absolute;top:15%;right:19%;width:clamp(24px,5vw,48px);aspect-ratio:1;border-radius:50%;background:#ffe7ae;box-shadow:0 0 38px #ffe7ad88}.mountain{position:absolute;left:-5%;width:110%;clip-path:polygon(0 62%,8% 49%,15% 55%,23% 26%,30% 56%,38% 43%,48% 66%,57% 35%,65% 55%,77% 25%,86% 57%,94% 38%,100% 61%,100% 100%,0 100%)}.mountain.far{top:25%;height:35%;background:linear-gradient(145deg,#6b8981,#8ea59a);transform:translateZ(-90px) scale(1.15)}.mountain.near{top:33%;height:33%;background:linear-gradient(145deg,#536e65,#879887);transform:translateZ(-35px) scale(1.08)}.tree-line{position:absolute;left:0;right:0;top:48%;height:17%;background:linear-gradient(135deg,transparent 6%,#334e45 6% 8%,transparent 8% 14%,#405d4e 14% 16%,transparent 16% 24%,#354f46 24% 27%,transparent 27% 39%,#405b4b 39% 42%,transparent 42% 60%,#405c4f 60% 63%,transparent 63% 76%,#334b42 76% 79%,transparent 79%);transform:translateZ(-10px) scale(1.08)}.world-road{position:absolute;z-index:2;top:39%;left:50%;width:72%;height:112%;transform:translateX(-50%) rotateX(67deg);transform-origin:50% 0%;transform-style:preserve-3d;border-left:5px solid #d1d9d0;border-right:5px solid #d1d9d0;background:linear-gradient(90deg,#29343b,#505c63 49%,#29343b);box-shadow:0 -15px 45px #24353c40}.world-road:before{content:"";position:absolute;top:0;bottom:0;left:49%;width:2%;background:repeating-linear-gradient(to bottom,#f4efda 0 7%,transparent 7% 14%);animation:lane-flow .7s linear infinite}.lane-ribbon{position:absolute;left:8%;right:8%;top:0;bottom:0;border-left:2px solid #f2f0dfaa;border-right:2px solid #f2f0dfaa}.road-edge{position:absolute;top:0;bottom:0;width:9%;background:repeating-linear-gradient(to bottom,#f4f2df 0 10%,transparent 10% 20%);opacity:.64}.road-edge.left{left:3%}.road-edge.right{right:3%}.windshield-frame{position:absolute;z-index:5;inset:0;pointer-events:none}.frame-top{position:absolute;left:-4%;right:-4%;top:-5%;height:15%;background:linear-gradient(#172127,#27343a);border-bottom:4px solid #5e6d71;clip-path:polygon(0 0,100% 0,100% 72%,67% 100%,33% 100%,0 72%)}.frame-left,.frame-right{position:absolute;top:0;bottom:3%;width:8%;background:linear-gradient(90deg,#172127,#37464a);box-shadow:inset -5px 0 5px #0f171b55}.frame-left{left:-2%;transform:skewY(5deg)}.frame-right{right:-2%;transform:scaleX(-1) skewY(5deg)}.rearview-mirror{position:absolute;z-index:5;top:10%;left:50%;width:14%;height:3%;transform:translateX(-50%);border-radius:4px;background:linear-gradient(#11191e 0 35%,#82969a 35% 60%,#1d292e 60%);box-shadow:0 4px 6px #11191e77}.dash-3d{position:absolute;z-index:6;left:-4%;right:-4%;bottom:-5%;height:29%;transform:rotateX(-5deg);transform-origin:bottom center;background:linear-gradient(180deg,#3b484c 0%,#28343a 35%,#111a1f 100%);clip-path:polygon(0 18%,25% 0,50% 10%,75% 0,100% 18%,100% 100%,0 100%);box-shadow:0 -16px 28px #13202755}.dash-screen-3d{position:absolute;left:13%;top:23%;width:16%;height:32%;border:4px solid #172229;border-radius:7px;background:linear-gradient(135deg,#203a3a,#152c32);box-shadow:inset 0 0 9px #69dba258}.dash-screen-3d i,.dash-screen-3d b,.dash-screen-3d em{position:absolute;left:10%;right:10%;height:3px;border-radius:3px;background:#70d5a4}.dash-screen-3d i{top:23%}.dash-screen-3d b{top:43%;right:33%;background:#f1c560}.dash-screen-3d em{top:64%;right:24%;background:#79bdd0}.dash-vent{position:absolute;top:38%;width:11%;height:6%;border:2px solid #718085;border-radius:5px;background:repeating-linear-gradient(0deg,#172127 0 2px,#536269 2px 4px)}.vent-one{left:34%}.vent-two{right:34%}.steering-wheel-3d{position:absolute;top:6%;left:50%;width:clamp(68px,13vw,122px);aspect-ratio:1;transform:translateX(-50%) rotateX(20deg);border:clamp(8px,1.3vw,13px) solid #121a1e;border-radius:50%;box-shadow:inset 0 0 0 3px #7b898a,0 4px 12px #10181b}.steering-wheel-3d:before,.steering-wheel-3d:after{content:"";position:absolute;left:48%;top:48%;width:8%;height:42%;transform-origin:top;background:#738186}.steering-wheel-3d:after{transform:rotate(120deg);transform-origin:top}.steering-wheel-3d i{position:absolute;left:49%;top:48%;width:8%;height:42%;background:#738186}.steering-wheel-3d b{position:absolute;left:34%;top:43%;width:34%;height:27%;border-radius:50%;background:linear-gradient(145deg,#3e4c50,#1b2529);border:2px solid #728085}.sim-cue{position:absolute;z-index:8;left:50%;bottom:30%;transform:translateX(-50%);width:max-content;max-width:90%;padding:8px 12px;border:1px solid #ffffff30;border-radius:999px;background:#14232ac9;color:#f6faf8;text-align:center;font-size:clamp(10px,1.6vw,13px);font-weight:800;letter-spacing:.04em;backdrop-filter:blur(8px)}.cab-caption{position:absolute;z-index:8;bottom:10px;left:14px;display:flex;align-items:center;gap:7px;color:#e8efec;font-size:10px;font-weight:850;letter-spacing:.1em;text-shadow:0 2px 5px #000}.world-event{position:absolute;z-index:4;inset:0;pointer-events:none}.event-car{position:absolute;top:43%;left:50%;width:clamp(58px,9vw,100px);height:clamp(32px,4.5vw,49px);transform:translate(-50%,-50%);border-radius:12px 12px 7px 7px;background:linear-gradient(135deg,#648392,#273d4b);box-shadow:0 14px 15px #15212888;animation:event-approach .85s cubic-bezier(.18,.7,.28,1) both}.event-car span{position:absolute;left:12%;right:12%;top:-17%;height:35%;border-radius:12px 12px 0 0;background:#334a55;clip-path:polygon(18% 0,82% 0,100% 100%,0 100%)}.event-car i,.event-car b{position:absolute;bottom:17%;width:13%;height:20%;border-radius:3px;background:#ff4d42;box-shadow:0 0 12px #ff392b}.event-car i{left:4%}.event-car b{right:4%}.event-car em{position:absolute;left:42%;right:42%;bottom:-23%;height:16%;border-radius:0 0 5px 5px;background:#11191d}.event-traffic-light{position:absolute;top:18%;right:22%;width:clamp(19px,3vw,34px);height:clamp(58px,8vw,92px);border:4px solid #26343b;border-radius:12px;background:#1b272d;box-shadow:0 6px 14px #15212877;animation:event-pop .35s ease-out both}.event-traffic-light i{display:block;width:42%;aspect-ratio:1;margin:8% auto;border-radius:50%;background:#443f34}.event-traffic-light i:first-child{background:#ff4c43;box-shadow:0 0 17px #ff493d}.event-crash{position:absolute;top:41%;left:53%;width:clamp(66px,10vw,112px);height:clamp(35px,5vw,54px);transform:translate(-50%,-50%) rotate(7deg);animation:event-approach .7s ease-out both}.event-crash span{position:absolute;inset:20% 0 15%;border-radius:9px;background:linear-gradient(100deg,#b45140,#713d38);box-shadow:0 9px 17px #18232a88}.event-crash i{position:absolute;right:-8%;top:-40%;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#ffcc58;color:#273139;font-weight:950;font-style:normal}.event-crash b{position:absolute;inset:0;border:3px solid #ffde89;border-radius:9px;animation:hazard-flash .55s infinite alternate}.event-loose-cargo{position:absolute;top:39%;left:50%;width:clamp(31px,5vw,56px);aspect-ratio:1;transform:translate(-50%,-50%) rotate(12deg);border:3px solid #78583c;border-radius:5px;background:repeating-linear-gradient(90deg,#bd9361 0 45%,#8e6844 45% 51%);box-shadow:0 8px 14px #17212988;animation:cargo-slide .85s ease-out both}.event-loose-cargo i{position:absolute;right:-18px;top:-22px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#f3bb4a;color:#273139;font-style:normal;font-weight:900}.event-ice{position:absolute;left:15%;right:15%;top:66%;height:3px;background:#e3fbff;filter:drop-shadow(0 0 8px #d7f7ff);transform:perspective(180px) rotateX(25deg);animation:ice-reveal .7s ease-out both}.event-ice i{position:absolute;top:-4px;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 12px #dbf7ff}.event-ice i:nth-child(1){left:22%}.event-ice i:nth-child(2){left:55%}.event-ice i:nth-child(3){left:78%}.event-check{position:absolute;right:15%;top:22%;display:flex;align-items:center;gap:5px;padding:6px 9px;border:2px solid #dca843;border-radius:8px;background:#1c2b30;color:#ffd268;font-size:9px;font-weight:900;animation:event-pop .4s ease-out both}.event-check i{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#e8ad3f;color:#172127;font-style:normal}.event-fatigue{position:absolute;inset:0;background:#17212733;animation:fatigue-blink 1s ease-in-out 2 alternate}.event-fatigue i{position:absolute;top:42%;left:40%;width:20%;height:3px;background:#fff8;filter:blur(4px)}.event-fatigue span{position:absolute;inset:0;background:radial-gradient(ellipse at center,transparent 30%,#111b24a8 100%)}.event-rain{position:absolute;inset:0;overflow:hidden;animation:rain-screen .5s linear 3}.event-rain i{position:absolute;top:-15%;left:calc(var(--drop, 0)*1%);width:2px;height:32px;background:#e5f5f7aa;transform:rotate(16deg);animation:raindrop .65s linear infinite}.event-rain i:nth-child(1){left:5%}.event-rain i:nth-child(2){left:11%;animation-delay:-.3s}.event-rain i:nth-child(3){left:16%;animation-delay:-.1s}.event-rain i:nth-child(4){left:22%;animation-delay:-.5s}.event-rain i:nth-child(5){left:28%;animation-delay:-.2s}.event-rain i:nth-child(6){left:34%;animation-delay:-.4s}.event-rain i:nth-child(7){left:39%;animation-delay:-.1s}.event-rain i:nth-child(8){left:45%;animation-delay:-.6s}.event-rain i:nth-child(9){left:51%;animation-delay:-.25s}.event-rain i:nth-child(10){left:57%;animation-delay:-.45s}.event-rain i:nth-child(11){left:63%;animation-delay:-.15s}.event-rain i:nth-child(12){left:69%;animation-delay:-.5s}.event-rain i:nth-child(13){left:75%;animation-delay:-.3s}.event-rain i:nth-child(14){left:81%;animation-delay:-.55s}.event-rain i:nth-child(15){left:87%;animation-delay:-.2s}.event-rain i:nth-child(16){left:93%;animation-delay:-.4s}.event-rain i:nth-child(n+17){display:none}.event-active .world-road{animation:road-hit .34s ease-out 1}.incident-ice.event-active .cab-world{animation:truck-slip .5s ease-out 1}.incident-brake.event-active .cab-world,.incident-help.event-active .cab-world{animation:cab-jolt .25s ease-out 1}.event-waiting .world-road:before{animation-duration:2s}.scenario-wait-note{margin:14px 0;padding:11px 13px;border-radius:10px;background:#eff5f0;color:#527366;font-size:13px;font-weight:700}.scenario-event.event-copy-waiting{color:#71857c!important}.scenario-event.event-copy-active{animation:feedback-arrive .25s ease-out both;border-left-color:#e5a94b}.scenario-narration .eyebrow{color:#6d8a7e}.play-story:disabled{opacity:.45;cursor:not-allowed}
@keyframes lane-flow{to{background-position:0 56px}}@keyframes event-approach{from{opacity:0;transform:translate(-50%,-30%) scale(.42)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes event-pop{from{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}@keyframes cargo-slide{from{opacity:0;transform:translate(-50%,-60%) rotate(-15deg)}to{opacity:1;transform:translate(-50%,-50%) rotate(12deg)}}@keyframes ice-reveal{from{opacity:0;transform:perspective(180px) rotateX(25deg) scaleX(.15)}to{opacity:1;transform:perspective(180px) rotateX(25deg) scaleX(1)}}@keyframes hazard-flash{to{opacity:.25}}@keyframes fatigue-blink{to{opacity:.45}}@keyframes raindrop{to{transform:translateY(440px) rotate(16deg)}}@keyframes rain-screen{50%{filter:blur(1px) brightness(.9)}}@keyframes road-hit{50%{transform:translateX(-50%) rotateX(67deg) translateY(5px)}}@keyframes truck-slip{35%{transform:translateX(-1%) rotate(-.6deg)}70%{transform:translateX(1%) rotate(.6deg)}}@keyframes cab-jolt{35%{transform:translateX(-.7%)}70%{transform:translateX(.7%)}}
@media(max-width:620px){.cab-simulator-3d{margin-inline:-2px;border-radius:14px}.cab-world{min-height:220px}.sim-hud{top:8px;left:8px;right:8px}.sim-hud span{font-size:8px;padding:6px 8px}.cab-caption{left:9px;font-size:8px}.sim-cue{bottom:29%}.world-road{width:86%;top:40%}}
@media(prefers-reduced-motion:reduce){.cab-simulator-3d *,.cab-world,.world-road,.scenario-event{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Fullscreen three-beat simulator flow. */
.sim-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 12px}.sim-phase-label{color:#567265;font-size:11px;font-weight:900;letter-spacing:.1em}.fullscreen-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid #477d68;border-radius:10px;background:#39755d;color:#fff;padding:10px 14px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.fullscreen-toggle:hover{background:#2e674f}.scenario-immersive:fullscreen,.scenario-immersive.is-immersive:not(:fullscreen){position:fixed;inset:0;z-index:2147483000;width:100vw;height:100dvh;max-height:100dvh;overflow:auto;box-sizing:border-box;margin:0;padding:clamp(10px,2vh,24px) clamp(12px,3vw,48px);border:0;border-radius:0;background:#111c22;color:#edf5f1}.scenario-immersive:fullscreen .scenario-top,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-top{color:#a9c3b7}.scenario-immersive:fullscreen .scenario-narration .eyebrow,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-narration .eyebrow{color:#a9c3b7}.scenario-immersive:fullscreen .scenario-narration h3,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-narration h3,.scenario-immersive:fullscreen .scenario-prompt,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-prompt{color:#f2f7f4}.scenario-immersive:fullscreen .scenario-event,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-event{background:#20323a;color:#e3eee9!important;border-left-color:#e4b253}.scenario-immersive:fullscreen .scenario-choices button,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-choices button{background:#223139;color:#f0f7f4;border-color:#42545a;border-bottom-color:#34474c}.scenario-immersive:fullscreen .scenario-wait-note,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-wait-note{background:#1d3036;color:#c4ddd0}.scenario-immersive:fullscreen .scenario-feedback,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-feedback{background:#21332e;color:#edf7f1;border-color:#446453}.scenario-immersive:fullscreen .scenario-source,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-source{color:#a8e4c1}.scenario-immersive:fullscreen .cab-simulator-3d,.scenario-immersive.is-immersive:not(:fullscreen) .cab-simulator-3d{width:100%;margin:0 0 12px}.scenario-immersive:fullscreen .cab-world,.scenario-immersive.is-immersive:not(:fullscreen) .cab-world{height:min(55vh,640px);min-height:260px;aspect-ratio:auto}.scenario-immersive:fullscreen .scenario-narration,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-narration{margin:8px 0 3px}.scenario-immersive:fullscreen .scenario-event,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-event{padding:10px 14px;margin:8px 0}.scenario-immersive:fullscreen .scenario-choices,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-choices{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin:10px 0}.scenario-immersive:fullscreen .scenario-choices button,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-choices button{min-height:64px;font-size:15px}.scenario-immersive:fullscreen>small,.scenario-immersive.is-immersive:not(:fullscreen)>small{color:#aabbb3}.scenario-immersive:fullscreen .scenario-feedback,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-feedback{max-width:1050px;margin-inline:auto}.scenario-immersive:fullscreen .sim-cue,.scenario-immersive.is-immersive:not(:fullscreen) .sim-cue{bottom:27%}.scenario-immersive:fullscreen .scenario-outcome,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-outcome{background:#152822}.scenario-immersive:fullscreen .voice-story,.scenario-immersive.is-immersive:not(:fullscreen) .voice-story{background:#26383c;color:#e6f3ec;border-color:#57766b}.scenario-immersive:fullscreen .voice-story.play-story,.scenario-immersive.is-immersive:not(:fullscreen) .voice-story.play-story{background:#39755d}.scenario-immersive:fullscreen .voice-note,.scenario-immersive.is-immersive:not(:fullscreen) .voice-note{color:#aabbb3}
@media(max-height:760px) and (min-width:700px){.scenario-immersive:fullscreen .cab-world,.scenario-immersive.is-immersive:not(:fullscreen) .cab-world{height:48vh;min-height:210px}.scenario-immersive:fullscreen .cockpit-stage,.scenario-immersive.is-immersive:not(:fullscreen) .cockpit-stage{padding-bottom:28px}}
@media(max-width:620px){.sim-toolbar{align-items:flex-start;flex-direction:column}.fullscreen-toggle{width:100%;justify-content:center}.scenario-immersive:fullscreen,.scenario-immersive.is-immersive:not(:fullscreen){padding:10px}.scenario-immersive:fullscreen .cab-world,.scenario-immersive.is-immersive:not(:fullscreen) .cab-world{height:42vh;min-height:225px}.scenario-immersive:fullscreen .scenario-narration,.scenario-immersive.is-immersive:not(:fullscreen) .scenario-narration{gap:6px}}

/* Extra depth and detail for the full-screen driver perspective. */
.world-sky{background:linear-gradient(180deg,#75a5bc 0%,#a9c9d0 43%,#c8d3c5 72%,#84958a 100%)}
.world-sky:before{content:"";position:absolute;inset:8% 0 36%;opacity:.38;background:radial-gradient(ellipse 13% 18% at 16% 28%,#fff 0 40%,transparent 72%),radial-gradient(ellipse 11% 15% at 24% 24%,#fff 0 38%,transparent 72%),radial-gradient(ellipse 16% 20% at 71% 24%,#eff7f4 0 38%,transparent 72%),radial-gradient(ellipse 11% 14% at 80% 29%,#eff7f4 0 38%,transparent 72%);filter:blur(5px)}
.world-sky:after{content:"";position:absolute;left:0;right:0;bottom:20%;height:24%;background:linear-gradient(180deg,transparent,#91a58f88 75%,#61796a99);filter:blur(8px)}
.tree-line{z-index:1;top:43%;height:24%;display:flex;align-items:flex-end;justify-content:space-around;gap:1.2%;background:none;transform:translateZ(-4px) scale(1.05);filter:drop-shadow(0 7px 4px #253e3540);animation:forest-parallax 9s ease-in-out infinite alternate}
.tree-line i{position:relative;display:block;flex:0 0 4.2%;height:88%;clip-path:polygon(50% 0,62% 21%,57% 21%,73% 43%,65% 42%,84% 67%,73% 66%,96% 91%,100% 100%,0 100%,4% 91%,27% 66%,16% 67%,35% 42%,27% 43%,43% 21%,38% 21%);background:linear-gradient(90deg,#294b41,#456958 42%,#27483d 75%,#18392f);transform:translateZ(calc(var(--depth, 0)*1px))}
.tree-line i:nth-child(3n){height:72%;filter:brightness(.82)}.tree-line i:nth-child(4n){height:100%;flex-basis:5%;background:linear-gradient(90deg,#1c4036,#3d6652 44%,#1c3b32)}.tree-line i:nth-child(5n){height:64%;filter:brightness(1.12)}
.tree-line i:after{content:"";position:absolute;left:44%;bottom:0;width:13%;height:18%;background:linear-gradient(90deg,#493c2c,#685442,#423626)}
.world-road{background:repeating-linear-gradient(0deg,#3d474c 0 8px,#424d52 8px 10px),linear-gradient(90deg,#252e33,#505c61 50%,#252e33);box-shadow:inset 10px 0 17px #18232888,inset -10px 0 17px #18232888,0 -15px 45px #24353c40}
.lane-ribbon{border-left:2px solid #f6f3e8bb;border-right:2px solid #f6f3e8bb;box-shadow:0 0 5px #fff4}
.cab-world:after{content:"";position:absolute;z-index:4;inset:0;pointer-events:none;background:linear-gradient(116deg,#ffffff16 0 7%,transparent 21% 72%,#d7f0ed0d 83%,transparent 94%),linear-gradient(180deg,#fff1 0%,transparent 22% 75%,#111b2330 100%);mix-blend-mode:screen}
.frame-top{background:linear-gradient(180deg,#10191e 0%,#26343a 62%,#56676a 100%);box-shadow:0 5px 12px #10181c66}
.frame-left,.frame-right{background:linear-gradient(90deg,#111a1f 0%,#263439 55%,#526165 100%)}
.dash-3d{background:repeating-linear-gradient(178deg,#344247 0 2px,#2d393e 2px 5px),linear-gradient(180deg,#445155 0%,#263238 38%,#11191e 100%);box-shadow:0 -16px 28px #13202777,inset 0 4px 3px #82909566}
.steering-wheel-3d{box-shadow:inset 0 0 0 3px #8d9998,0 5px 13px #10181bcc,0 0 0 2px #080e11}
@keyframes forest-parallax{from{transform:translate3d(-.5%,0,-4px) scale(1.05)}to{transform:translate3d(.6%,0,-4px) scale(1.05)}}
@media(prefers-reduced-motion:reduce){.tree-line{animation:none}}

/* Give the road a converging vanishing point, as seen through a real cab windshield. */
.world-road{top:37%;left:0;width:100%;height:68%;transform:none;transform-origin:50% 0%;border:0;background:repeating-linear-gradient(0deg,#3d474c 0 8px,#424d52 8px 10px),linear-gradient(90deg,#252e33,#505c61 50%,#252e33);clip-path:polygon(47.3% 0,52.7% 0,100% 100%,0 100%);box-shadow:none}
.world-road:before{left:49.5%;width:1%;background:repeating-linear-gradient(to bottom,#f4efda 0 5%,transparent 5% 12%);filter:drop-shadow(0 0 2px #fff7)}
.road-edge{display:none}.lane-ribbon{left:18%;right:18%;border-left:2px solid #f2f0df99;border-right:2px solid #f2f0df99}

/* Real road photography replaces the illustrated landscape in driving scenarios. */
.cab-world{background-color:#172229;background-image:url("https://images.unsplash.com/photo-1647146174543-41ab2cf53b33?auto=format&fit=crop&w=2000&q=88"),linear-gradient(180deg,#75a5bc 0%,#a9c9d0 43%,#536c5c 72%,#202c31 100%);background-position:center 56%,center;background-size:cover,cover;background-repeat:no-repeat}
.cab-world .world-sky,.cab-world .world-road,.cab-world .tree-line{display:none}
.cab-world .windshield-frame{opacity:.12}
.cab-world .frame-top,.cab-world .frame-left,.cab-world .frame-right,.cab-world .rearview-mirror{display:none}
.cab-world .dash-3d{height:27%;bottom:-6%;background:linear-gradient(180deg,#465155 0%,#293439 19%,#171f23 74%,#0c1215 100%);clip-path:polygon(0 25%,25% 0,50% 13%,75% 0,100% 25%,100% 100%,0 100%);box-shadow:0 -19px 40px #10191c88,inset 0 3px 5px #9ca9a944}
.cab-world .steering-wheel-3d{width:clamp(90px,16vw,155px);border-color:#141a1c;box-shadow:inset 0 0 0 3px #869091,0 8px 18px #090e11cc,0 0 0 2px #080e11}
.cab-world .dash-screen-3d{box-shadow:inset 0 0 10px #69dba258,0 1px 2px #090f12}
.cab-caption a{color:#dae9e4;text-decoration:underline;text-underline-offset:2px;font-size:9px}
.question-list-image-wrap{flex:0 0 116px;display:grid;gap:6px;justify-items:center;align-self:center;color:#638276;text-align:center}
.question-list-image{display:block;width:116px;height:78px;object-fit:contain;background:#f5f8f8;border:1px solid #dce6e5;border-radius:10px;padding:5px}
.question-list-image-wrap small{font-size:9px;font-weight:750}
.question-image-fallback{display:grid;place-items:center;min-height:120px;padding:16px;border:1px dashed #b5c9c0;border-radius:14px;color:#356b55;background:#f2f8f4;text-align:center;font-weight:750;text-decoration:underline}
@media(max-width:600px){.question-list-image-wrap{flex-basis:88px}.question-list-image{width:88px;height:68px}.cab-caption{flex-wrap:wrap;max-width:90%;line-height:1.5}.cab-caption a{font-size:8px}}

.cab-world .dash-3d{background:none;clip-path:none;overflow:visible;box-shadow:none}
.cab-world .dash-3d:before{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;background:linear-gradient(180deg,#465155 0%,#293439 19%,#171f23 74%,#0c1215 100%);clip-path:polygon(0 25%,25% 0,50% 13%,75% 0,100% 25%,100% 100%,0 100%);box-shadow:0 -19px 40px #10191c88,inset 0 3px 5px #9ca9a944}
.cab-world .dash-screen-3d,.cab-world .dash-vent{z-index:1}
.cab-world .steering-wheel-3d{z-index:2;top:-40%;width:clamp(110px,19vw,205px)}
.event-waiting .cab-world{background-size:108% 108%,cover;animation:real-road-drift 13s ease-in-out infinite alternate}
@keyframes real-road-drift{from{background-position:50% 54%,center}to{background-position:52% 59%,center}}
@media(prefers-reduced-motion:reduce){.event-waiting .cab-world{animation:none}}


/* Real truck cabin photo: use its actual steering wheel and dashboard, without CSS props. */
.cab-world{background-color:#151b1d;background-image:linear-gradient(180deg,#0c141c12 35%,#0c141cc9 100%),url("https://images.unsplash.com/photo-1790910287217-911cf13b2fcd?auto=format&fit=crop&w=2000&q=88");background-position:center,center 48%;background-size:cover,cover;background-repeat:no-repeat;transform:translateZ(0);}
.cab-world .world-sky,.cab-world .world-road,.cab-world .tree-line,.cab-world .dash-3d{display:none!important}
.cab-world .windshield-frame{opacity:0!important}
.cab-world:after{content:"";position:absolute;z-index:3;inset:0;pointer-events:none;background:linear-gradient(180deg,#10192344 0%,transparent 24% 57%,#0b111aa8 100%),linear-gradient(90deg,#0a111633,transparent 22% 78%,#0a111633);mix-blend-mode:normal}
.cab-world .world-event{z-index:4}
.cab-world .world-event>*:not(.event-rain){display:none!important}
.event-waiting .cab-world{animation:photo-cab-motion 12s ease-in-out infinite alternate}
.event-active .cab-world{animation:photo-reaction .45s ease-out 1}
.incident-rain.event-active .cab-world:after{background:linear-gradient(180deg,#10192355,transparent 25% 56%,#0b111ab8 100%),linear-gradient(90deg,#0a111644,transparent 22% 78%,#0a111644);backdrop-filter:blur(.35px)}
.incident-ice.event-active .cab-world{filter:saturate(.72) brightness(.9)}
.incident-brake.event-active .cab-world:after,.incident-help.event-active .cab-world:after{background:linear-gradient(180deg,#240e0e3c 0%,transparent 44%,#0b111aa8 100%),radial-gradient(ellipse at 51% 58%,#ff563044 0 8%,transparent 49%)}
.incident-tired.event-active .cab-world:after{background:radial-gradient(ellipse at center,transparent 32%,#080d15ad 100%)}
.incident-light.event-active .cab-world:after{background:linear-gradient(180deg,#10192355,transparent 26% 52%,#0b111ab8 100%),radial-gradient(ellipse at 54% 52%,#e43a3224 0 6%,transparent 42%)}
.incident-cargo.event-active .cab-world{animation:photo-reaction .26s ease-out 1}
@keyframes photo-cab-motion{from{background-position:center,49.7% 48%}to{background-position:center,50.3% 48.7%}}
@keyframes photo-reaction{0%{transform:translateX(0)}28%{transform:translateX(-.5%) rotate(-.12deg)}66%{transform:translateX(.35%) rotate(.1deg)}100%{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.event-waiting .cab-world,.event-active .cab-world{animation:none;transition:none}}

/* Scene-specific physical cues on the real photographed windshield. */
.cab-world:before{content:"";position:absolute;z-index:4;inset:0;pointer-events:none;opacity:0;transition:opacity .25s ease;background:transparent}
.incident-ice.event-active .cab-world{filter:saturate(.7) brightness(.91)}
.incident-ice.event-active .cab-world:before{opacity:1;background:linear-gradient(158deg,transparent 58%,#e4f8ff12 66%,#d6f7ff66 72%,#f5fdff4d 75%,#b8e5f044 80%,transparent 86%),radial-gradient(ellipse at 10% 92%,#e5f8ff77 0%,transparent 39%),radial-gradient(ellipse at 94% 88%,#e5f8ff66 0%,transparent 34%);filter:blur(1.5px)}
.incident-brake.event-active .cab-world:before{opacity:1;background:radial-gradient(ellipse 4% 6% at 46% 54%,#ff473da8 0 20%,#fb372e55 48%,transparent 100%),radial-gradient(ellipse 4% 6% at 52% 54%,#ff473da8 0 20%,#fb372e55 48%,transparent 100%);animation:tail-light-flash .4s ease-in-out 2 alternate}
.incident-help.event-active .cab-world:before{opacity:1;background:radial-gradient(ellipse 8% 12% at 53% 52%,#ffca5555 0 16%,transparent 100%),radial-gradient(ellipse 5% 7% at 48% 51%,#e9423c55 0 22%,transparent 100%);animation:hazard-pulse .6s ease-in-out 2 alternate}
.incident-tired.event-active .cab-world:after{background:radial-gradient(ellipse at center,transparent 30%,#080d15d9 100%);animation:fatigue-vignette .8s ease-in-out 2 alternate}
.incident-light.event-active .cab-world:before{opacity:1;background:radial-gradient(ellipse 7% 13% at 78% 34%,#f2231e99 0 17%,#f2231e3d 45%,transparent 100%);filter:blur(2px)}
@keyframes tail-light-flash{to{opacity:.42}}@keyframes hazard-pulse{to{opacity:.45}}@keyframes fatigue-vignette{to{opacity:.58}}
@media(prefers-reduced-motion:reduce){.cab-world:before{transition:none}.incident-brake.event-active .cab-world:before,.incident-help.event-active .cab-world:before,.incident-tired.event-active .cab-world:after{animation:none}}

/* Faster, clearer entry to a 13-question YKB practice step. */
.import-journey-hero h2{max-width:13ch}.import-journey-hero p{max-width:54ch;font-size:15px;line-height:1.75}.import-journey-hero .game-button{min-height:54px;font-size:14px;box-shadow:0 5px 0 #c6deb7,0 10px 20px #174c2330;transition:transform .15s,box-shadow .15s}.import-journey-hero .game-button:hover{transform:translateY(-2px);box-shadow:0 7px 0 #c6deb7,0 14px 24px #174c2330}.import-journey-hero .game-button:active{transform:translateY(3px);box-shadow:0 2px 0 #c6deb7}
/* Keep Nilo visible and responsive beside every question, including short screens. */
.imported-session .playful-scene{display:flex!important;min-height:94px;padding:8px 16px 8px 8px;gap:12px;margin:8px 0 16px;background:linear-gradient(112deg,#eff9ec,#f1f8ff 70%,#fffaf0);border-color:#d5e7d7;border-radius:20px;overflow:hidden}
.imported-session .scene-nilo{width:88px!important;height:88px!important;flex:0 0 88px;animation:nilo-question-bob 2.5s ease-in-out infinite;transform-origin:50% 85%}
.imported-session .scene-message strong{font-size:15px;line-height:1.35}
.imported-session .scene-message>span{display:block!important;font-size:12px;line-height:1.5;color:#58746a;margin-top:3px}
.nilo-speech-button{display:inline-flex;align-items:center;gap:5px;margin-top:5px;padding:4px 8px;border:1px solid #c8ddd0;border-radius:9px;background:#fff;color:#38745a;font-size:10px;font-weight:800;cursor:pointer}
.nilo-speech-button:hover{background:#e5f5e8;transform:translateY(-1px)}
.imported-session .scene-wrong .scene-nilo{animation:nilo-think 1s ease-in-out 1}
.imported-session .scene-correct .scene-nilo{animation:nilo-happy .65s ease-out 2}
.voice-status-note{flex:1 1 100%;font-size:10px;line-height:1.5;color:#74887f;padding:1px 3px}
@keyframes nilo-question-bob{0%,100%{transform:translateY(1px) rotate(-2deg)}50%{transform:translateY(-5px) rotate(2deg)}}
@keyframes nilo-think{0%,100%{transform:rotate(0)}35%{transform:rotate(-7deg) translateY(-2px)}70%{transform:rotate(5deg)}}
@media(max-width:760px) and (max-height:760px){.imported-session .playful-scene{display:flex!important;min-height:70px}.imported-session .scene-nilo{width:64px!important;height:64px!important;flex-basis:64px}.imported-session .scene-message>span{display:block!important;font-size:10px}}
@media(max-width:600px){.imported-session .playful-scene{min-height:75px;padding:5px 8px;gap:6px}.imported-session .scene-nilo{width:62px!important;height:62px!important;flex-basis:62px}.imported-session .scene-message strong{font-size:13px}.imported-session .scene-message>span{font-size:10px}.nilo-speech-button{font-size:9px;padding:3px 6px}.voice-status-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){.imported-session .scene-nilo{animation:none!important}.nilo-speech-button{transition:none}}

.imported-session .scene-speaking .scene-nilo{animation:nilo-speaking .24s ease-in-out infinite alternate!important;filter:drop-shadow(0 0 10px #7fceac88)}
.imported-session .scene-speaking .scene-message{animation:voice-bubble 1s ease-in-out infinite alternate}
@keyframes nilo-speaking{from{transform:translateY(0) rotate(-2deg) scale(1)}to{transform:translateY(-3px) rotate(2deg) scale(1.035)}}
@keyframes voice-bubble{to{filter:brightness(1.04)}}
@media(prefers-reduced-motion:reduce){.imported-session .scene-speaking .scene-nilo,.imported-session .scene-speaking .scene-message{animation:none!important}}

/* Nilo stays available as a friendly, context-aware study companion on every page. */
.nilo-companion{position:fixed;right:clamp(14px,2vw,28px);bottom:clamp(14px,2vh,24px);z-index:900;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:inherit}
.nilo-companion-toggle{position:relative;display:grid;place-items:center;width:74px;height:74px;padding:4px;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#a5e5ca,#6cc4ab);box-shadow:0 8px 24px #183f3138,0 4px 0 #53a88f;cursor:pointer;animation:nilo-global-float 3s ease-in-out infinite;transition:transform .18s,box-shadow .18s}
.nilo-companion-toggle:hover{transform:translateY(-4px) rotate(-3deg);box-shadow:0 13px 28px #183f3140,0 4px 0 #53a88f}
.nilo-companion-toggle img{width:62px;height:62px;object-fit:contain;filter:drop-shadow(0 3px 2px #28524424)}
.nilo-companion-pulse{position:absolute;right:2px;top:4px;width:12px;height:12px;border:2px solid white;border-radius:50%;background:#5bc77b;box-shadow:0 0 0 4px #5bc77b2c;animation:nilo-pulse 1.8s ease-out infinite}
.nilo-companion-hint{position:absolute;right:69px;bottom:11px;display:flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid #dce9e3;border-radius:12px;background:white;color:#396c58;font-size:11px;font-weight:850;white-space:nowrap;box-shadow:0 5px 16px #25433718}
.nilo-companion-card{width:min(310px,calc(100vw - 28px));padding:17px 18px 15px;border:2px solid #d8e9dd;border-bottom:5px solid #c2dbc9;border-radius:19px;background:#fff;box-shadow:0 16px 42px #173c2e28;animation:nilo-card-arrive .2s ease-out}
.nilo-companion-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#285c48;font-size:14px}
.nilo-companion-heading button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #e1e9e4;border-radius:50%;background:#f7faf8;color:#6c8175;cursor:pointer}
.nilo-companion-card p{margin:10px 0 13px;color:#506b5c;font-size:13px;line-height:1.65}
.nilo-companion-listen{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:9px 12px;border:2px solid #49a58b;border-bottom-width:4px;border-radius:12px;background:#59b99c;color:#fff;font-size:12px;font-weight:850;cursor:pointer;transition:transform .15s,filter .15s}
.nilo-companion-listen:hover{filter:brightness(.96);transform:translateY(-1px)}
.nilo-companion-listen:active{transform:translateY(2px);border-bottom-width:2px}
.nilo-companion button:focus-visible{outline:3px solid #e4ab4b;outline-offset:3px}
@keyframes nilo-global-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}
@keyframes nilo-pulse{0%{box-shadow:0 0 0 0 #5bc77b72}100%{box-shadow:0 0 0 8px #5bc77b00}}
@keyframes nilo-card-arrive{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:600px){.nilo-companion{right:11px;bottom:12px}.nilo-companion-toggle{width:62px;height:62px}.nilo-companion-toggle img{width:52px;height:52px}.nilo-companion-hint{right:56px}.nilo-companion-card{width:min(285px,calc(100vw - 22px))}}
@media(prefers-reduced-motion:reduce){.nilo-companion-toggle,.nilo-companion-pulse{animation:none}.nilo-companion-card{animation:none}}

/* Nilo is drawn in the interface and animates as a character, not a flat portrait. */
.nilo-companion{gap:10px}
.nilo-companion-toggle{width:91px;height:99px;padding:5px 7px 0;border:0;border-radius:0;background:transparent;box-shadow:none;animation:none;overflow:visible}
.nilo-companion-toggle:hover{transform:translateY(-4px) rotate(-2deg);box-shadow:none}
.nilo-mascot{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 8px 7px #173d3030);transform-origin:50% 85%;animation:nilo-character-idle 2.8s ease-in-out infinite}
.nilo-companion-toggle .nilo-mascot{width:88px;height:96px}
.nilo-left-arm{transform-box:fill-box;transform-origin:85% 85%;animation:nilo-wave 3.8s ease-in-out infinite}
.nilo-right-arm{transform-box:fill-box;transform-origin:15% 85%;animation:nilo-arm-swing 2.8s ease-in-out infinite}
.nilo-blink{opacity:0;transform-box:fill-box;transform-origin:center;animation:nilo-blink 4.7s linear infinite}
.nilo-mouth{transform-box:fill-box;transform-origin:center;transition:transform .12s}
.nilo-mascot.talking .nilo-mouth{animation:nilo-talk .24s ease-in-out infinite alternate}
.nilo-mascot.talking .nilo-body{filter:brightness(1.06)}
.nilo-spark{transform-origin:101px 31px;animation:nilo-sparkle 2.4s ease-in-out infinite}
.nilo-companion.is-speaking .nilo-left-arm,.nilo-companion.is-speaking .nilo-right-arm{animation-duration:.38s}
.nilo-companion.is-speaking .nilo-mascot{filter:drop-shadow(0 0 8px #67c8a66b) drop-shadow(0 8px 7px #173d3030)}
.nilo-companion.is-open .nilo-companion-toggle{animation:nilo-character-nod .55s ease-out 1}
.nilo-companion-teaser{width:min(225px,calc(100vw - 105px));padding:11px 13px;border:2px solid #dcebe1;border-bottom:4px solid #c8dfce;border-radius:16px;background:#fff;box-shadow:0 8px 25px #173c2e19;animation:nilo-card-arrive .28s ease-out}
.nilo-companion-teaser strong{display:block;color:#28674f;font-size:12px}
.nilo-companion-teaser span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-top:4px;color:#526b5e;font-size:11px;line-height:1.5}
.nilo-companion-teaser small{display:block;margin-top:7px;color:#3b9274;font-size:9px;font-weight:850;letter-spacing:.02em}
.nilo-companion-pulse{right:9px;top:5px;width:14px;height:14px;box-shadow:0 0 0 4px #5bc77b2c}
.nilo-companion-card{width:min(340px,calc(100vw - 28px));padding:14px 16px 15px;border-radius:21px}
.nilo-card-top{display:flex;align-items:center;gap:11px}
.nilo-card-mascot{width:52px;height:58px;flex:0 0 52px}
.nilo-card-mascot .nilo-mascot{animation-duration:2.2s}
.nilo-companion-heading{flex:1}
.nilo-live-label{display:inline-flex;align-items:center;gap:7px;color:#688276;font-size:9px;font-weight:900;letter-spacing:.12em}
.nilo-live-label i{width:7px;height:7px;border-radius:50%;background:#50bb86;box-shadow:0 0 0 3px #50bb8623;animation:nilo-pulse 1.8s ease-out infinite}
.nilo-companion-heading button{flex:0 0 30px}
.nilo-card-title{display:block;margin-top:7px;color:#285c48;font-size:15px}
.nilo-companion-card p{min-height:55px;margin:7px 0 10px;color:#506b5c;font-size:12px;line-height:1.65}
.nilo-coach-actions{display:flex;gap:7px;margin:0 0 10px}
.nilo-coach-actions button{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-height:35px;padding:6px 8px;border:1px solid #dce9e1;border-bottom:3px solid #d0e0d4;border-radius:10px;background:#f8fbf8;color:#47715c;font-size:10px;font-weight:850;cursor:pointer;transition:transform .15s,background .15s}
.nilo-coach-actions button:hover{transform:translateY(-2px);background:#edf8f0}
.nilo-coach-actions button[aria-pressed=true]{border-color:#74b89b;background:#e7f6ec;color:#287652}
.nilo-companion-listen{min-height:41px}
.nilo-companion.is-speaking .nilo-companion-listen{background:#398c72}
@keyframes nilo-character-idle{0%,100%{transform:translateY(1px) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}
@keyframes nilo-wave{0%,70%,100%{transform:rotate(0)}77%,89%{transform:rotate(-20deg)}83%,95%{transform:rotate(10deg)}}
@keyframes nilo-arm-swing{0%,100%{transform:rotate(0)}50%{transform:rotate(-7deg)}}
@keyframes nilo-blink{0%,7%,100%{opacity:0}3%,4.5%{opacity:1}}
@keyframes nilo-talk{from{transform:scaleY(.85)}to{transform:scaleY(1.65)}}
@keyframes nilo-sparkle{0%,100%{opacity:.55;transform:scale(.85) rotate(-8deg)}50%{opacity:1;transform:scale(1.15) rotate(8deg)}}
@keyframes nilo-character-nod{0%,100%{transform:translateY(0)}35%{transform:translateY(-5px) rotate(3deg)}70%{transform:translateY(1px) rotate(-2deg)}}
@media(max-width:600px){.nilo-companion{right:8px;bottom:9px;gap:7px}.nilo-companion-toggle{width:75px;height:83px}.nilo-companion-toggle .nilo-mascot{width:77px;height:84px}.nilo-companion-teaser{width:min(205px,calc(100vw - 88px));padding:9px 11px}.nilo-companion-teaser span{font-size:10px}.nilo-companion-card{width:min(310px,calc(100vw - 20px));padding:12px}.nilo-coach-actions{gap:5px}.nilo-coach-actions button{font-size:9px;padding:5px}}
@media(prefers-reduced-motion:reduce){.nilo-companion-toggle,.nilo-companion-pulse,.nilo-mascot,.nilo-left-arm,.nilo-right-arm,.nilo-blink,.nilo-spark,.nilo-live-label i{animation:none!important}.nilo-companion-card,.nilo-companion-teaser{animation:none!important}.nilo-coach-actions button,.nilo-companion-listen{transition:none}}

.nilo-companion-teaser{display:block;text-align:start;cursor:pointer;font-family:inherit}

/* Unified Nilo and a calmer, clearer YKB home screen. */
.import-journey-hero{min-height:292px;padding:32px 235px 31px 36px;border:1px solid #2d726b;border-bottom:7px solid #1b645d;border-radius:27px;background:radial-gradient(ellipse at 82% 15%,#b7ffd331,transparent 33%),radial-gradient(ellipse at 15% 110%,#73db7f3b,transparent 42%),linear-gradient(122deg,#194a65 0%,#247d73 57%,#43a962 100%);box-shadow:0 18px 42px #175b4b20,inset 0 1px #ffffff55}
.import-journey-hero:before{content:"";position:absolute;right:150px;top:-108px;width:310px;height:310px;border:1px solid #ffffff26;border-radius:50%;box-shadow:0 0 0 29px #ffffff08,0 0 0 58px #ffffff06;pointer-events:none}
.import-journey-hero>span{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid #d5ffe83b;border-radius:30px;background:#123d4266;color:#ddfff0;font-size:9px;letter-spacing:1.2px}
.import-journey-hero h2{position:relative;z-index:1;max-width:16ch;margin:16px 0 10px;font-size:clamp(28px,3vw,38px);line-height:1.17;letter-spacing:-1.1px}
.import-journey-hero p{position:relative;z-index:1;max-width:47ch;margin:0;color:#e4f5ee;font-size:13px;line-height:1.75}
.import-journey-hero .game-button{position:relative;z-index:2;min-height:50px;margin-top:18px;padding:12px 17px;border-color:#f5fff7!important;border-bottom-color:#c6ead1!important;border-radius:14px!important;background:#f7fff8!important;color:#246d55!important;box-shadow:0 5px 0 #b5dfc4,0 12px 24px #113b3c42!important;font-size:13px}
.import-hero-mascot{position:absolute;right:26px;bottom:9px;z-index:1;width:155px;height:185px;filter:drop-shadow(0 12px 10px #0c353c52);animation:hero-nilo-bob 3.1s ease-in-out infinite}
.import-hero-mascot .nilo-mascot{width:100%;height:100%;animation:none}
.import-hero-speech{position:absolute;z-index:2;right:22px;top:24px;max-width:170px;padding:10px 13px;border:1px solid #e9fff1;border-radius:15px 15px 4px 15px;background:#f8fff9;color:#2a6e59;font-size:10px;font-weight:850;box-shadow:0 7px 18px #123c3a25;animation:hero-bubble 2.6s ease-in-out infinite}
.import-progress-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0 4px;padding:0;border:0}
.import-progress-strip>span{display:flex;align-items:center;justify-content:center;gap:7px;min-height:47px;padding:9px;border:1px solid #e0e9e3;border-bottom:3px solid #d6e3d9;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbf8);color:#62796a;font-size:10px;box-shadow:0 4px 13px #214e3707}
.journey-unit-picker{margin:20px 0 12px;padding:16px 17px;border:1px solid #e0eae2;border-radius:16px;background:#fbfdfb;box-shadow:0 6px 20px #214e3706}
.journey-unit-picker p{margin:0;color:#748579}
.import-learning-road{padding-top:24px}
.import-road-stop{transition:transform .2s}
.import-road-label strong{color:#415e4d}
.import-road-stop.current .import-road-label strong{color:#28764d}
.import-home-tabs{position:sticky;top:0;z-index:5;gap:6px;padding:9px 7px;margin:0 0 19px;border:1px solid #e5ece7;border-radius:16px;background:#f8fbf9ed;backdrop-filter:blur(12px);box-shadow:0 5px 18px #1e41300b}
.import-home-tabs button{padding:10px 13px;border-radius:11px;font-size:11px;transition:transform .16s,background .16s,color .16s}
.import-home-tabs button:hover{transform:translateY(-1px);background:#eef6f0;color:#426651}
.import-home-tabs button[aria-pressed=true]{border-color:#d4ead3;border-bottom-width:3px;background:#e8f7e8;color:#337947}
.imported-session .scene-nilo{display:grid;place-items:center;overflow:visible}
.imported-session .scene-nilo .nilo-mascot{width:100%;height:100%;filter:drop-shadow(0 5px 4px #204b3a26)}
.imported-session .scene-speaking .scene-nilo .nilo-mascot{filter:drop-shadow(0 0 10px #7fceac88)}
.mascot-stage .nilo-buddy{width:240px;height:240px}
.understand-launch-mascot{display:grid;place-items:center;width:48px;height:54px;flex:0 0 48px}
.understand-launch-mascot .nilo-mascot{width:48px;height:54px}
@keyframes hero-nilo-bob{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@keyframes hero-bubble{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-width:760px){.import-journey-hero{min-height:258px;padding:26px 155px 25px 22px;border-radius:21px}.import-journey-hero h2{max-width:12ch;font-size:28px}.import-journey-hero p{max-width:36ch;font-size:11px}.import-hero-mascot{right:2px;bottom:0;width:130px;height:160px}.import-hero-speech{right:8px;top:12px;max-width:145px;padding:8px 10px;font-size:9px}.import-progress-strip>span{font-size:9px}.import-home-tabs{position:relative;top:auto}}
@media(max-width:460px){.import-journey-hero{min-height:248px;padding:24px 118px 21px 18px}.import-journey-hero h2{font-size:24px}.import-journey-hero .game-button{min-height:44px;font-size:11px;padding:10px}.import-hero-mascot{right:-10px;width:115px;height:145px}.import-hero-speech{right:3px;top:9px;max-width:122px;font-size:8px;padding:7px}.import-progress-strip{grid-template-columns:1fr}.import-progress-strip>span{justify-content:flex-start;padding-inline:13px}}
@media(prefers-reduced-motion:reduce){.import-hero-mascot,.import-hero-speech{animation:none!important}}
/* Nilo's truck-avatar and YKB study cockpit. */
.nilo-ai-chat{margin:7px 0 11px;padding:10px;border:1px solid #d9e8e0;border-radius:14px;background:linear-gradient(145deg,#f6fbf8,#f1f7f5)}
.nilo-ai-title{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:7px;color:#315d54;font-size:10px;font-weight:900}
.nilo-ai-title span{display:flex;align-items:center;gap:5px}
.nilo-ai-title button{padding:4px 7px;border:1px solid #d5e4dc;border-radius:7px;background:white;color:#59786a;font-size:9px;font-weight:800;cursor:pointer}
.nilo-ai-chat form{display:flex;gap:6px}
.nilo-ai-chat input{min-width:0;flex:1;height:37px;padding:0 10px;border:1px solid #d5e2dc;border-radius:10px;background:#fff;color:#294b40;font:inherit;font-size:11px;outline:none}
.nilo-ai-chat input:focus{border-color:#55aa8c;box-shadow:0 0 0 3px #55aa8c25}
.nilo-ai-chat form>button{display:grid;place-items:center;width:38px;height:37px;border:1px solid #347f68;border-bottom-width:3px;border-radius:10px;background:linear-gradient(145deg,#5dc3a0,#359878);color:white;cursor:pointer}
.nilo-ai-chat form>button:disabled{opacity:.5;cursor:default}
.nilo-ai-answer{max-height:150px;overflow:auto;margin:9px 0 0!important;padding:9px 10px;border-left:3px solid #58ad8e;border-radius:4px 10px 10px 4px;background:white;color:#365b4e!important;font-size:11px!important;line-height:1.7!important;white-space:pre-line}
.nilo-ai-error{display:block;margin-top:7px;color:#8b594b;font-size:10px;line-height:1.5}
.nilo-loading{animation:nilo-load .9s linear infinite}
.nilo-wheel{transform-box:fill-box;transform-origin:center}
.nilo-mascot.talking .nilo-wheel{animation:nilo-wheel-roll .55s linear infinite}
.nilo-mascot.talking .nilo-left-arm{animation-duration:.6s}
.nilo-mascot.talking .nilo-right-arm{animation-duration:.6s}
.import-journey-hero{isolation:isolate;background-image:linear-gradient(90deg,#17486112 1px,transparent 1px),linear-gradient(#17486112 1px,transparent 1px),radial-gradient(ellipse at 78% 35%,#b2ffe64c,transparent 32%),linear-gradient(122deg,#194b64,#237a72 56%,#3fa366);background-size:28px 28px,28px 28px,auto,auto}
.import-journey-hero:after{content:"YKB · STUDIECOCKPIT";position:absolute;right:22px;bottom:18px;padding:6px 9px;border:1px solid #ffffff45;border-radius:8px;background:#102f3c55;color:#dcfff1;font:800 8px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.12em;z-index:1}
.import-hero-mascot{z-index:2;filter:drop-shadow(0 14px 12px #0c353c63);animation:hero-nilo-engine 2.8s ease-in-out infinite}
.import-hero-mascot:before{content:"NILO · YKB-COACH";position:absolute;right:-13px;top:5px;padding:6px 7px;border:1px solid #d8fff170;border-radius:8px;background:#113d3dcc;color:#d7fff0;font:800 7px/1 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;letter-spacing:.07em;box-shadow:0 4px 12px #123c3a30;animation:hero-bubble 2.4s ease-in-out infinite}
.import-hero-mascot .nilo-wheel{transform-box:fill-box;transform-origin:center;animation:nilo-wheel-roll 8s linear infinite}
.import-journey-hero .import-hero-speech{border-radius:13px 13px 4px 13px;box-shadow:0 8px 18px #113b3c35}
@keyframes nilo-wheel-roll{to{transform:rotate(360deg)}}
@keyframes nilo-load{to{transform:rotate(360deg)}}
@keyframes hero-nilo-engine{0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-5px) rotate(.5deg)}}
@media(max-width:760px){.import-journey-hero:after{right:8px;bottom:8px;font-size:7px}.import-hero-mascot:before{right:-3px;top:-1px;font-size:6px}.nilo-ai-chat{padding:8px}}
@media(prefers-reduced-motion:reduce){.nilo-loading,.nilo-wheel,.nilo-mascot.talking .nilo-wheel,.import-hero-mascot,.import-hero-mascot:before{animation:none!important}}
.nilo-ai-status{display:block;margin:0 0 7px;color:#748b7e;font-size:9px;line-height:1.35}
.nilo-ai-status:before{content:"";display:inline-block;width:6px;height:6px;margin:0 5px 1px 0;border-radius:50%;background:#8eb69e}
.nilo-ai-privacy{display:block;margin:-4px 0 7px;color:#89988e;font-size:8px;line-height:1.35}
/* Nilo's opened help panel: clear hierarchy, comfortable sizing, and readable status. */
.nilo-companion-card{width:min(370px,calc(100vw - 24px));max-height:min(72dvh,620px);overflow-y:auto;overscroll-behavior:contain;padding:15px 17px 14px;border:1px solid #d6e7df;border-bottom:5px solid #bdd7cb;border-radius:24px;background:linear-gradient(155deg,#fff 0%,#fbfdfb 65%,#f3faf6 100%);box-shadow:0 22px 56px #13372e35,0 3px 0 #fff inset;scrollbar-color:#b6d4c5 transparent;scrollbar-width:thin}
.nilo-card-top{gap:12px;padding:2px 1px 10px;border-bottom:1px solid #e8f0eb}
.nilo-card-mascot{display:grid;place-items:center;width:62px;height:56px;flex:0 0 62px;border:1px solid #d2e9de;border-radius:16px;background:radial-gradient(circle at 50% 38%,#fff 0 25%,#dff6eb 70%);overflow:hidden}
.nilo-card-mascot .nilo-mascot{width:66px;height:59px;animation:nilo-character-idle 2.8s ease-in-out infinite}
.nilo-live-label{padding:6px 8px;border:1px solid #e0eee6;border-radius:20px;background:#f4faf6;color:#447562;font-size:9px;letter-spacing:.08em}
.nilo-live-label i{background:#43aa7b;box-shadow:0 0 0 3px #43aa7b22}
.nilo-companion-heading button{width:34px;height:34px;background:#fff;color:#59786a;transition:background .15s,transform .15s}
.nilo-companion-heading button:hover{background:#eff7f2;transform:rotate(90deg)}
.nilo-card-title{display:block;margin:12px 0 2px;color:#204d42;font-size:17px;letter-spacing:-.02em}
.nilo-card-subtitle{display:block;margin:0;color:#7a9184;font-size:10px;line-height:1.5}
.nilo-companion-card>p{min-height:0;margin:9px 0 11px;padding:10px 12px;border-left:3px solid #70b99a;border-radius:4px 12px 12px 4px;background:#f3f9f5;color:#3b5d4e;font-size:12px;line-height:1.65}
.nilo-coach-actions{gap:7px;margin:0 0 10px}
.nilo-coach-actions button{min-height:39px;border-radius:12px;background:#fff;font-size:10px}
.nilo-ai-chat{margin:0 0 10px;padding:11px 12px;border:1px solid #dbe9e1;border-radius:16px;background:#f7fbf8;box-shadow:0 2px 4px #1b563408 inset}
.nilo-ai-title{font-size:11px;color:#2f6253}
.nilo-ai-status{margin:0 0 6px;padding-left:11px;color:#71877a;font-size:9px}
.nilo-ai-status:before{margin-left:-11px}
.nilo-ai-privacy{margin:0 0 8px;color:#88978d;font-size:8px}
.nilo-ai-chat input{height:42px;border-radius:12px;font-size:12px}
.nilo-ai-chat form>button{width:42px;height:42px;border-radius:12px}
.nilo-ai-chat form>button:not(:disabled):hover{filter:brightness(1.06);transform:translateY(-1px)}
.nilo-ai-answer{max-height:180px;padding:11px 12px;font-size:12px!important}
.nilo-companion-listen{min-height:44px;border-radius:13px;font-size:12px}
.nilo-companion-toggle .nilo-mascot{width:96px;height:86px;filter:drop-shadow(0 7px 5px #173d3034)}
.nilo-companion-toggle{width:100px;height:88px;transform-origin:75% 80%}
.nilo-companion-toggle:hover{transform:translateY(-5px) scale(1.04)}
.nilo-companion.is-open .nilo-companion-toggle{animation:nilo-character-nod .48s ease-out 1}
.nilo-companion.is-open .nilo-companion-pulse{background:#e7ad54;box-shadow:0 0 0 4px #e7ad5430}
@media(max-width:600px){.nilo-companion{right:10px;bottom:10px;gap:7px}.nilo-companion-card{width:min(350px,calc(100vw - 20px));max-height:calc(100dvh - 116px);padding:12px 13px;border-radius:20px}.nilo-card-mascot{width:54px;height:50px;flex-basis:54px}.nilo-card-mascot .nilo-mascot{width:58px;height:52px}.nilo-card-title{font-size:15px}.nilo-coach-actions button{min-height:37px}.nilo-companion-toggle{width:83px;height:72px}.nilo-companion-toggle .nilo-mascot{width:80px;height:72px}}
@media(prefers-reduced-motion:reduce){.nilo-companion-heading button,.nilo-ai-chat form>button{transition:none}}
.nilo-companion-card.mood-simple .nilo-card-title{color:#287251}
.nilo-companion-card.mood-hint .nilo-card-title{color:#896526}
.nilo-companion-card.mood-cheer .nilo-card-title{color:#744b86}
.nilo-companion-card.mood-hint>p{border-left-color:#e6b95c;background:#fffaf0}
/* Small expression changes make Nilo respond without changing the character. */
.nilo-mood-thinking .nilo-left-arm{animation:nilo-think 1.2s ease-in-out infinite}
.nilo-mood-teaching .nilo-right-arm{animation:nilo-teach 1s ease-in-out infinite alternate}
.nilo-mood-celebrating{animation:nilo-celebrate .7s ease-in-out infinite alternate}
.nilo-celebrate-stars{opacity:0;transform-origin:center;transition:opacity .2s}
.nilo-mood-celebrating .nilo-celebrate-stars{opacity:1;animation:nilo-sparkle 1.1s ease-in-out infinite}
@keyframes nilo-teach{from{transform:rotate(-1deg)}to{transform:rotate(-15deg) translateY(-2px)}}
@keyframes nilo-celebrate{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-6px) rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.nilo-mood-thinking .nilo-left-arm,.nilo-mood-teaching .nilo-right-arm,.nilo-mood-celebrating,.nilo-mood-celebrating .nilo-celebrate-stars{animation:none!important}}
.nilo-ai-chat[dir="rtl"] .nilo-ai-answer{border-right:3px solid #58ad8e;border-left:0;border-radius:10px 4px 4px 10px;text-align:right}
.nilo-ai-chat[dir="rtl"] .nilo-ai-status,.nilo-ai-chat[dir="rtl"] .nilo-ai-privacy{text-align:right}
.nilo-suggested-questions{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 8px}
.nilo-suggested-questions button{padding:5px 8px;border:1px solid #dcebe1;border-radius:9px;background:#fff;color:#5d796b;font-family:inherit;font-size:9px;font-weight:700;line-height:1.3;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.nilo-suggested-questions button:hover{transform:translateY(-1px);border-color:#9ccab2;background:#eff8f2}
.nilo-card-mascot .nilo-mood-celebrating{animation:nilo-celebrate .7s ease-in-out infinite alternate}
@media(max-width:420px){.nilo-suggested-questions{gap:4px}.nilo-suggested-questions button{padding:5px 6px;font-size:8px}}
.nilo-suggested-questions button{font-family:inherit;font-size:9px;font-weight:700;line-height:1.3}
/* A question session already has its own inline Nilo. Keep the floating coach
   away from answer controls while the learner is choosing or checking. */
.coach.lesson-focus>.nilo-companion{display:none!important}
.coach:has(.imported-session)>.nilo-companion{display:none!important}
.concept-map-page{padding:18px 2px 30px}
.concept-map-page>.eyebrow{display:flex;align-items:center;gap:7px;color:#527b6b}
.concept-map-page>h2{margin:10px 0 5px;color:#254c42;font-size:26px;letter-spacing:-.03em}
.concept-map-intro{max-width:62ch;color:#71877b;font-size:13px;line-height:1.7}
.concept-map-layout{display:grid;grid-template-columns:minmax(220px,.78fr) minmax(0,1.22fr);gap:16px;margin-top:18px}
.concept-map-nodes{display:grid;gap:9px;align-content:start}
.concept-map-nodes button{display:grid;grid-template-columns:34px 1fr;align-items:center;column-gap:10px;padding:11px;border:1px solid #e0e9e3;border-bottom:3px solid #d5e1d8;border-radius:14px;background:#fff;color:#426355;text-align:left;cursor:pointer;transition:transform .16s,border-color .16s,background .16s}
.concept-map-nodes button:hover{transform:translateX(2px);border-color:#add3bd}
.concept-map-nodes button.active{border-color:#77b899;border-bottom-color:#5e9f7e;background:#eff9f2;box-shadow:0 5px 16px #2a735212}
.concept-map-nodes button>span{grid-row:span 2;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eaf3ed;color:#4d8065;font-weight:900;font-size:11px}
.concept-map-nodes button strong{font-size:12px}
.concept-map-nodes button small{margin-top:3px;color:#82978b;font-size:10px;text-align:right}
.concept-map-detail{min-height:290px;padding:21px;border:1px solid #dce9e1;border-bottom:5px solid #cfe0d4;border-radius:20px;background:linear-gradient(145deg,#fff,#f6fbf7)}
.concept-map-kicker{font-size:9px;letter-spacing:.12em;font-weight:900;color:#7b9c89}
.concept-map-detail h3{margin:8px 0;color:#2f6853;font-size:20px}
.concept-map-detail>p{color:#617a6c;line-height:1.8;font-size:13px}
.concept-map-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:16px 0;padding:12px;border:1px dashed #c4dbcd;border-radius:13px;background:#f4faf5}
.concept-map-links>span:first-child{width:100%;font-size:10px;font-weight:850;color:#557a65}
.concept-chip{display:inline-flex;align-items:center;gap:7px;padding:6px 8px;border:1px solid #d5e8db;border-radius:18px;background:white;color:#4b6f5c;font-size:10px}
.concept-chip b{color:#8eb19b}
.concept-map-questions{margin-top:15px;padding:14px;border-radius:14px;background:#edf6f0;color:#406950}
.concept-map-questions>strong{font-size:12px}
.concept-map-questions p{margin:5px 0 10px;color:#708579;font-size:11px;line-height:1.6}
.concept-map-questions .primary{min-height:38px;padding:8px 11px;font-size:11px}
.concept-map-source{display:block;margin-top:12px;color:#98a79d;font-size:9px;line-height:1.5}
@media(max-width:700px){.concept-map-layout{grid-template-columns:1fr}.concept-map-nodes{grid-template-columns:repeat(2,minmax(0,1fr))}.concept-map-nodes button{grid-template-columns:28px 1fr;padding:8px;gap:7px}.concept-map-nodes button>span{width:25px;height:25px}.concept-map-nodes button strong{font-size:10px}.concept-map-detail{min-height:0;padding:16px}}
.tutor-result-category{display:grid;gap:11px;padding:14px;border:1px solid #e1e9e4;border-radius:16px;background:#f7faf8}.tutor-result-category>h4{margin:1px 3px;color:#557664;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.tutor-result-category article{margin:0}.tutor-results article button+button{margin-inline-start:8px}.tutor-results article button:disabled{opacity:.55;cursor:not-allowed}

/* TR-os learning path: playful, tactile lesson map with original brand styling */
.imported-path-home:has(.import-journey-hero){--path-green:#58bd55;--path-deep:#27894e;--path-ink:#224552;--path-muted:#6c8790;color:var(--path-ink)}
.imported-path-home .import-journey-layout:has(.import-journey-hero){grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start}
.imported-path-home .import-journey-hero{min-height:285px;padding:32px 200px 30px 34px;border:0;border-bottom:8px solid #1d705c;border-radius:30px;background:radial-gradient(ellipse at 75% 30%,#d4ff8c44,transparent 31%),linear-gradient(125deg,#176078 0%,#17897d 53%,#58b95d 100%);box-shadow:0 16px 35px #17607820,inset 0 2px #ffffff55;animation:tr-os-arrive .5s cubic-bezier(.2,.8,.2,1) both}
.imported-path-home .import-journey-hero>span{display:inline-flex;padding:7px 11px;border:1px solid #ffffff47;border-radius:999px;background:#0c4a5340;font-size:10px;letter-spacing:.11em}
.imported-path-home .import-journey-hero h2{max-width:12ch;margin:16px 0 10px;font-size:clamp(30px,3.6vw,42px);line-height:1.08;letter-spacing:-1.2px;text-shadow:0 2px 12px #0b42462a}
.imported-path-home .import-journey-hero p{max-width:44ch;font-size:14px;line-height:1.65;color:#f3fff4}
.imported-path-home .import-journey-hero .game-button{min-height:54px;padding:0 20px;border:0!important;border-bottom:5px solid #d0e7bf!important;border-radius:16px;box-shadow:0 4px 16px #0b3c382b;transition:transform .16s,box-shadow .16s}
.imported-path-home .import-journey-hero .game-button:hover{transform:translateY(-3px);box-shadow:0 7px 20px #0b3c383d}
.imported-path-home .import-hero-mascot{right:13px;bottom:3px;width:175px;height:192px;filter:drop-shadow(0 11px 12px #092e3240);animation:tr-os-mascot-bob 3.7s ease-in-out infinite}
.imported-path-home .import-hero-speech{right:12px;top:22px;max-width:170px;border:1px solid #ffffff8a;background:#fffffff2;color:#315962;font-size:11px;box-shadow:0 8px 22px #143d3440}
.imported-path-home .import-journey-hero:after{content:"YKB · LASTBIL & BUSS";right:auto;left:34px;bottom:13px;padding:5px 8px;border-radius:999px;border-color:#ffffff32;background:#0f46544a;font-size:8px}
.imported-path-home .import-progress-strip{gap:12px;margin:16px 0 14px}
.imported-path-home .import-progress-strip>span{min-height:55px;border:1px solid #e3ede7;border-bottom:4px solid #d5e5d9;border-radius:17px;background:linear-gradient(180deg,#fff,#f5faf6);color:#496770;font-size:12px;font-weight:850;box-shadow:0 6px 15px #204d3909}
.journey-progress-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,220px);align-items:center;gap:17px;margin:8px 0 14px;padding:17px 19px;border:1px solid #e4ece5;border-radius:20px;background:#fff;box-shadow:0 7px 20px #234a3808}
.journey-progress-copy{display:grid;gap:4px}.journey-kicker{font-size:9px;font-weight:900;letter-spacing:.13em;color:#64a674}.journey-progress-copy strong{font-size:16px;color:#294f59}.journey-progress-copy small{font-size:11px;color:#758b8b}
.journey-progress-meter{height:13px;overflow:hidden;border:1px solid #dce9df;border-radius:999px;background:#edf4ef;box-shadow:inset 0 2px 4px #173d2911}.journey-progress-meter i{display:block;height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#80d34e,#27a987);box-shadow:inset 0 2px #ffffff73;transition:width .6s cubic-bezier(.2,.8,.2,1)}
.imported-path-home .journey-unit-picker{margin:10px 0 0;padding:16px 18px;border:1px solid #e2ece6;border-radius:18px;background:#fff}
.imported-path-home .journey-unit-picker label{font-size:12px;font-weight:900;color:#456671}.imported-path-home .journey-unit-picker select{min-height:42px;border:2px solid #dce9e1;border-radius:12px;background:#fbfdfb;color:#315762;font-weight:800}
.imported-path-home .journey-unit-picker p{max-width:none;margin:0;color:#809397;font-size:11px}
.imported-path-home .import-learning-road{margin-top:12px;padding:20px 18px 25px;border:1px solid #e7efe9;border-radius:25px;background:radial-gradient(ellipse at 48% 4%,#eaf6df 0,transparent 47%),linear-gradient(180deg,#fbfdfb,#f5f9f6);overflow:hidden}
.imported-path-home .import-learning-road:before{left:38%;top:59px;bottom:175px;border:0;width:10px;border-radius:99px;background:repeating-linear-gradient(to bottom,#c9dfc9 0 9px,transparent 9px 17px);opacity:.95}
.imported-path-home .import-road-stop{min-height:142px;gap:4px;animation:tr-os-arrive .35s both;animation-delay:calc(var(--step-index,0)*35ms)}
.imported-path-home .import-road-stop.curve-0{transform:translateX(-18px)}.imported-path-home .import-road-stop.curve-1{transform:translateX(35px)}.imported-path-home .import-road-stop.curve-2{transform:translateX(4px)}.imported-path-home .import-road-stop.curve-3{transform:translateX(-34px)}
.imported-path-home .import-lesson-node{width:78px;height:76px;border:3px solid #ceded4;border-bottom-width:9px;border-radius:28px;background:linear-gradient(145deg,#fff,#e7f0e9);color:#6d9884;box-shadow:0 5px 0 #dce9df,0 10px 20px #284a3610,inset 0 2px #fff;transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s,filter .18s}
.imported-path-home .import-lesson-node:not(:disabled):hover{transform:translateY(-4px) rotate(-2deg) scale(1.04);filter:saturate(1.1);box-shadow:0 9px 0 #dce9df,0 14px 24px #284a3618,inset 0 2px #fff}
.imported-path-home .import-road-stop.current .import-lesson-node{border-color:#67bf52;border-bottom-color:#319644;background:linear-gradient(145deg,#a7ed69,#42b85d 72%,#279b68);box-shadow:inset 0 3px #d8ffb2,0 7px 0 #d2e7c7,0 13px 25px #47a85435;animation:tr-os-node-breathe 2.2s ease-in-out infinite}
.imported-path-home .import-road-stop.seen .import-lesson-node{border-color:#86c78e;border-bottom-color:#69aa77;background:linear-gradient(145deg,#ecffe8,#bce9b6);color:#388453;box-shadow:0 5px 0 #d9ebd5,0 9px 16px #284a360c}
.imported-path-home .import-node-stars{margin-top:5px;font-size:10px;letter-spacing:2px;color:#b6c9ba}
.imported-path-home .import-road-label{max-width:230px;width:230px;padding:12px 15px;border:1px solid #e4ede6;border-radius:16px;background:#ffffffde;box-shadow:0 5px 15px #244b3608}
.imported-path-home .import-road-label>span{font-size:9px;color:#69a076}.imported-path-home .import-road-label strong{margin:4px 0;color:#315964;font-size:15px}.imported-path-home .import-road-label small{font-size:10px;color:#789095}
.imported-path-home .import-road-stop.current .import-road-label{border-color:#b8dbb0;background:#f8fff4;box-shadow:0 7px 18px #61a55213}
.imported-path-home .import-road-stop.current .import-road-label strong{color:#328b48}
.imported-path-home .start-bubble{padding:7px 10px;border:2px solid #fff;border-radius:999px;background:#287e5b;color:#fff;font-size:8px;font-weight:950;letter-spacing:.05em;box-shadow:0 5px 12px #21483327}
.imported-path-home .import-unit-finish{max-width:390px;border:1px dashed #d9e7dc;border-radius:22px;background:#ffffffbd}
.imported-path-home .import-journey-side{gap:12px;padding-top:2px}
.imported-path-home .daily-quest,.imported-path-home .import-coverage{border:1px solid #e3ece5;border-radius:21px;background:#fff;box-shadow:0 8px 22px #244b3609}
.imported-path-home .daily-quest{padding:20px}.imported-path-home .daily-quest h3{font-size:15px;color:#315964}.imported-path-home .daily-quest p{font-size:11px;line-height:1.7;color:#778d8d}.imported-path-home .quest-progress{height:12px;border-radius:99px;background:#edf4ef}.imported-path-home .quest-progress>i{border-radius:99px;background:linear-gradient(90deg,#81d34f,#23a987)}
.imported-path-home .import-coverage{padding:14px 16px}.imported-path-home .import-coverage summary{font-size:12px;font-weight:850;color:#4d7378}.imported-path-home .import-coverage p{font-size:10px;line-height:1.75;color:#789095}
@keyframes tr-os-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes tr-os-mascot-bob{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}
@keyframes tr-os-node-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.035)}}
@media(max-width:1000px){.imported-path-home .import-journey-layout:has(.import-journey-hero){grid-template-columns:minmax(0,1fr)}.imported-path-home .import-journey-side{grid-template-columns:1fr 1fr}.imported-path-home .daily-quest{grid-column:1}.imported-path-home .import-coverage{grid-column:2}}
@media(max-width:680px){.imported-path-home .import-journey-hero{min-height:275px;padding:25px 125px 34px 20px;border-radius:23px}.imported-path-home .import-journey-hero h2{font-size:29px}.imported-path-home .import-journey-hero p{font-size:12px}.imported-path-home .import-journey-hero>span{font-size:8px}.imported-path-home .import-hero-mascot{right:-7px;width:133px;height:158px}.imported-path-home .import-hero-speech{right:3px;top:10px;max-width:132px;font-size:9px}.imported-path-home .import-journey-hero:after{left:20px;bottom:10px;font-size:7px}.journey-progress-card{grid-template-columns:1fr;gap:12px;padding:15px}.journey-progress-copy strong{font-size:14px}.journey-progress-meter{height:11px}.imported-path-home .import-learning-road{padding:15px 8px 20px}.imported-path-home .import-learning-road:before{left:30%;width:8px}.imported-path-home .import-road-stop{min-height:137px;gap:12px}.imported-path-home .import-road-stop.curve-0{transform:translateX(-12px)}.imported-path-home .import-road-stop.curve-1{transform:translateX(10px)}.imported-path-home .import-road-stop.curve-2{transform:translateX(24px)}.imported-path-home .import-road-stop.curve-3{transform:translateX(1px)}.imported-path-home .import-lesson-node{width:68px;height:66px;border-radius:24px}.imported-path-home .import-road-label{width:min(62vw,225px);padding:10px 11px}.imported-path-home .import-road-label strong{font-size:13px}.imported-path-home .import-road-label small{font-size:9px}.imported-path-home .start-bubble{font-size:7px}.imported-path-home .import-journey-side{grid-template-columns:1fr}.imported-path-home .daily-quest,.imported-path-home .import-coverage{grid-column:auto}.imported-path-home .import-progress-strip{gap:7px}.imported-path-home .import-progress-strip>span{min-height:49px;padding:7px 4px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.imported-path-home .import-journey-hero,.imported-path-home .import-hero-mascot,.imported-path-home .import-lesson-node{animation:none!important;transition:none!important}}

/* Fullscreen YKB question mode: keep the question, its picture, every option and action in view. */
.imported-session{height:100dvh!important;min-height:0!important;overflow:hidden!important;padding:12px 22px max(10px,env(safe-area-inset-bottom))!important;display:flex;flex-direction:column;}
.imported-session .session-header{width:min(100%,1120px);min-height:40px;flex:0 0 auto;margin:0 auto;gap:15px}
.imported-session .session-brand{font-size:21px}
.imported-session .session-gamebar{width:min(100%,980px);flex:0 0 auto;margin:8px auto 10px;gap:12px}
.imported-session .session-gamebar .quest-progress{height:12px}
.imported-session .coach-exercise{width:min(100%,1120px)!important;max-width:1120px!important;min-height:0;flex:1 1 auto;margin:0 auto!important;padding:0 12px!important;overflow:hidden;display:flex;flex-direction:column;gap:6px}
.imported-session .playful-scene{flex:0 0 auto;min-height:45px;height:45px;margin:0 0 3px;display:flex;align-items:center;padding:3px 12px}
.imported-session .scene-nilo{width:40px;height:40px}
.imported-session .scene-message strong{font-size:12px}
.imported-session .scene-message p{font-size:10px;margin:2px 0}
.imported-session .import-label{flex:0 0 auto;margin:2px 0 4px;font-size:9px}
.imported-session .question-reading-card,.imported-session .question-reading-card.has-context-art,.imported-session .question-reading-card.has-source-image{flex:0 1 auto;min-height:0;margin:0;padding:12px 15px;border-radius:18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,230px);gap:14px;align-items:center;overflow:auto}
.imported-session .question-reading-card .question-heading-block{min-width:0}
.imported-session .question-instruction{font-size:8px;margin:0 0 5px}
.imported-session.playful-mode .question-reading-card .coach-prompt{font-size:clamp(16px,1.65vw,21px)!important;line-height:1.35!important;margin:0!important}
.imported-session .question-media{min-width:0;max-height:120px;overflow:hidden}
.imported-session .context-art svg{max-height:115px;box-shadow:none}
.imported-session .source-picture-grid{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin:0;max-height:118px;overflow:hidden}
.imported-session .source-picture-grid figure{min-width:0;max-width:50%;margin:0}
.imported-session .source-picture-grid .question-image-button{min-height:0;padding:4px;border-radius:10px;gap:3px}
.imported-session .source-picture-grid .question-image-button img{width:auto;max-width:100%;height:78px;max-height:78px;object-fit:contain}
.imported-session .source-picture-grid .question-image-button span{font-size:8px;padding:3px}
.imported-session .source-picture-grid figcaption{font-size:8px;line-height:1.25;margin-top:3px}
.imported-session .import-question-tools{flex:0 0 auto;display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin:0;padding:3px 0;overflow-x:auto;scrollbar-width:thin}
.imported-session .import-question-tools button{min-height:34px;padding:6px 9px;font-size:10px;white-space:nowrap;border-radius:10px}
.imported-session .import-question-tools .voice-status-note{display:none}
.imported-session .import-question-tools .audio-speed{font-size:9px;white-space:nowrap}
.imported-session .import-question-tools .audio-speed select{min-height:32px;padding:4px 6px;font-size:10px}
.imported-session .arabic-question{flex:0 0 auto;margin:0;padding:6px 12px;border-radius:12px}
.imported-session .arabic-question>p{font-size:clamp(13px,1.2vw,16px)!important;line-height:1.45!important;margin:0}
.imported-session .question-guide{position:absolute;z-index:20;left:50%;top:125px;transform:translateX(-50%);width:min(720px,calc(100% - 32px));max-height:50dvh;overflow:auto;margin:0;padding:18px;border:1px solid #d7e4dc;border-radius:18px;background:#fffffff5;box-shadow:0 16px 50px #1d3a3540}
.imported-session .confidence-inline{flex:0 0 auto;display:flex;align-items:center;gap:9px;margin:0;padding:0;font-size:10px}
.imported-session .confidence-inline select{min-height:30px;padding:3px 8px;font-size:10px}
.imported-session .coach-options{flex:1 1 auto;min-height:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(46px,1fr);align-content:stretch;gap:7px 10px}
.imported-session .coach-options .option{min-height:46px!important;height:100%;margin:0!important;padding:8px 11px!important;gap:9px;border-radius:13px;overflow:hidden}
.imported-session .coach-options .option>span{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;padding:0;font-size:11px}
.imported-session .coach-options .option .answer-copy{min-width:0;display:grid;gap:2px}
.imported-session .coach-options .option .answer-copy>strong{font-size:clamp(12px,1.15vw,15px)!important;line-height:1.35!important;overflow-wrap:anywhere}
.imported-session .coach-options .option .answer-copy>small{font-size:clamp(11px,1vw,13px)!important;line-height:1.35!important;overflow-wrap:anywhere}
.imported-session .lesson-action{position:static;flex:0 0 auto;min-height:48px;margin:2px 0 0!important;padding:6px 12px!important;border-radius:14px!important;box-shadow:none!important}
.imported-session .lesson-action>span{max-width:none;font-size:10px}
.imported-session .lesson-action>.primary{min-height:39px;min-width:155px;padding:8px 14px;font-size:12px}
.imported-session .import-attribution{flex:0 0 auto;margin:2px 0 0;font-size:8px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.imported-session .difficulty-check,.imported-session .coach-feedback{flex:1 1 auto;min-height:0;overflow:auto;padding:8px 12px}
@media(max-height:760px){.imported-session{padding-top:7px!important}.imported-session .playful-scene{height:34px;min-height:34px}.imported-session .session-gamebar{margin:5px auto 7px}.imported-session .question-reading-card,.imported-session .question-reading-card.has-context-art,.imported-session .question-reading-card.has-source-image{padding:8px 12px}.imported-session .question-media{max-height:88px}.imported-session .context-art svg{max-height:82px}.imported-session .source-picture-grid{max-height:86px}.imported-session .source-picture-grid .question-image-button img{height:53px;max-height:53px}.imported-session .coach-options .option{min-height:40px!important;padding:5px 9px!important}.imported-session .lesson-action{min-height:42px}}
@media(max-width:760px){.imported-session{padding:8px 10px max(8px,env(safe-area-inset-bottom))!important}.imported-session .session-header{gap:8px;min-height:36px}.imported-session .session-brand{font-size:17px}.imported-session .session-header>span{font-size:10px}.imported-session .session-exit{width:34px;height:34px;font-size:27px}.imported-session .session-gamebar{margin:5px auto 7px}.imported-session .playful-scene{height:34px;min-height:34px;padding:1px 7px}.imported-session .scene-nilo{width:31px;height:31px}.imported-session .question-reading-card,.imported-session .question-reading-card.has-context-art,.imported-session .question-reading-card.has-source-image{grid-template-columns:minmax(0,1fr) minmax(82px,27%);gap:7px;padding:8px 10px}.imported-session.playful-mode .question-reading-card .coach-prompt{font-size:clamp(14px,3.6vw,19px)!important;line-height:1.3!important}.imported-session .question-media{max-height:90px}.imported-session .context-art svg{max-height:85px}.imported-session .source-picture-grid{max-height:85px}.imported-session .source-picture-grid .question-image-button img{height:56px;max-height:56px}.imported-session .question-instruction{font-size:7px}.imported-session .import-question-tools{gap:4px}.imported-session .import-question-tools button{min-height:31px;padding:5px 7px;font-size:9px}.imported-session .import-question-tools .audio-speed select{min-height:29px}.imported-session .coach-options{gap:5px;grid-auto-rows:minmax(42px,1fr)}.imported-session .coach-options .option{min-height:42px!important;padding:6px 7px!important;gap:6px}.imported-session .coach-options .option>span{width:22px;height:22px;flex-basis:22px;font-size:10px}.imported-session .coach-options .option .answer-copy>strong{font-size:clamp(11px,3vw,14px)!important}.imported-session .coach-options .option .answer-copy>small{font-size:clamp(10px,2.8vw,12px)!important}.imported-session .arabic-question{padding:5px 9px}.imported-session .arabic-question>p{font-size:clamp(12px,3vw,15px)!important}.imported-session .confidence-inline{font-size:9px}.imported-session .lesson-action>span{display:none}.imported-session .lesson-action>.primary{min-height:36px;min-width:140px;margin-left:auto}.imported-session .import-attribution{font-size:7px}}
@media(max-width:390px){.imported-session .question-reading-card,.imported-session .question-reading-card.has-context-art,.imported-session .question-reading-card.has-source-image{grid-template-columns:minmax(0,1fr) 76px}.imported-session .import-question-tools button{padding:4px 6px;font-size:8px}.imported-session .audio-speed{display:none}.imported-session .coach-options .option{padding:5px!important}.imported-session .coach-options .option .answer-copy>strong{font-size:10px!important}.imported-session .coach-options .option .answer-copy>small{font-size:9px!important}}

/* Tablet and phone question layout: avoid clipped panels and sideways toolbars. */
.imported-session{box-sizing:border-box;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;overflow-x:hidden!important;overflow-y:auto!important;gap:6px}
.imported-session .coach-exercise{flex:0 0 auto;overflow:visible;gap:9px}
.imported-session .question-reading-card,.imported-session .question-reading-card.has-context-art,.imported-session .question-reading-card.has-source-image{flex:0 0 auto;overflow:visible}
.imported-session .import-question-tools{flex:0 0 auto;flex-wrap:wrap;justify-content:flex-start;overflow:visible;scrollbar-width:none;row-gap:6px}
.imported-session .import-question-tools::-webkit-scrollbar{display:none}
.imported-session .arabic-question{flex:0 0 auto}
.imported-session .coach-options{flex:0 0 auto;grid-auto-rows:minmax(64px,auto);align-content:start}
.imported-session .coach-options .option{height:auto;min-height:64px!important;overflow-wrap:anywhere}
.imported-session .lesson-action{position:static!important;flex:0 0 auto;min-height:56px;margin:4px 0 0!important;padding:9px 12px!important;border-radius:16px!important;box-shadow:none!important}
@media(max-width:900px){
 .imported-session{padding:10px 16px max(12px,env(safe-area-inset-bottom))!important}
 .imported-session .session-header{gap:10px;min-height:40px}
 .imported-session .session-gamebar{margin:5px auto 7px}
 .imported-session .playful-scene{height:54px;min-height:54px;margin:0;padding:2px 9px}
 .imported-session .scene-nilo{width:48px;height:48px;flex-basis:48px}
 .imported-session .scene-message strong{font-size:13px}
 .imported-session .scene-message p{font-size:10px}
 .imported-session .import-label{margin:2px 0;font-size:9px}
 .imported-session .question-reading-card,.imported-session .question-reading-card.has-context-art,.imported-session .question-reading-card.has-source-image{grid-template-columns:minmax(0,1fr) minmax(112px,22%);gap:10px;padding:10px 12px}
 .imported-session.playful-mode .question-reading-card .coach-prompt{font-size:clamp(16px,2.2vw,20px)!important;line-height:1.45!important}
 .imported-session .question-media{max-height:100px}
 .imported-session .context-art svg{max-height:96px}
 .imported-session .source-picture-grid{max-height:96px}
 .imported-session .source-picture-grid .question-image-button img{height:68px;max-height:68px}
 .imported-session .import-question-tools{gap:6px}
 .imported-session .import-question-tools button{min-height:36px;padding:6px 9px;font-size:10px}
 .imported-session .import-question-tools .audio-speed select{min-height:34px}
 .imported-session .arabic-question{padding:9px 13px}
 .imported-session .arabic-question>p{font-size:clamp(15px,1.8vw,18px)!important;line-height:1.65!important}
 .imported-session .confidence-inline{min-height:34px;font-size:11px}
 .imported-session .coach-options{gap:8px}
 .imported-session .coach-options .option{padding:9px 11px!important}
 .imported-session .coach-options .option .answer-copy>strong{font-size:clamp(13px,1.5vw,16px)!important;line-height:1.4!important}
 .imported-session .coach-options .option .answer-copy>small{font-size:clamp(12px,1.3vw,14px)!important;line-height:1.5!important}
 .imported-session .import-attribution{white-space:normal;font-size:9px;line-height:1.45}
 .imported-session .lesson-action>span{display:block;max-width:44%;font-size:11px}
 .imported-session .lesson-action>.primary{min-height:42px;min-width:170px;font-size:13px}
}
@media(max-width:600px){
 .imported-session{padding:8px 12px max(10px,env(safe-area-inset-bottom))!important}
 .imported-session .session-header{gap:8px}
 .imported-session .session-brand{font-size:18px}
 .imported-session .playful-scene{height:48px;min-height:48px}
 .imported-session .scene-nilo{width:42px;height:42px;flex-basis:42px}
 .imported-session .question-reading-card,.imported-session .question-reading-card.has-context-art,.imported-session .question-reading-card.has-source-image{grid-template-columns:minmax(0,1fr) 78px;gap:7px;padding:10px}
 .imported-session.playful-mode .question-reading-card .coach-prompt{font-size:16px!important;line-height:1.5!important}
 .imported-session .question-media,.imported-session .source-picture-grid{max-height:76px}
 .imported-session .context-art svg{max-height:72px}
 .imported-session .source-picture-grid .question-image-button img{height:52px;max-height:52px}
 .imported-session .import-question-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .imported-session .import-question-tools button{justify-content:center;min-width:0;min-height:38px;padding:6px;font-size:10px}
 .imported-session .import-question-tools .audio-speed{justify-content:center;padding:0 4px;font-size:10px}
 .imported-session .import-question-tools .audio-speed select{min-width:0;max-width:100%;padding:4px}
 .imported-session .coach-options{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:7px}
 .imported-session .coach-options .option{min-height:58px!important;padding:9px 11px!important}
 .imported-session .coach-options .option .answer-copy>strong{font-size:14px!important}
 .imported-session .coach-options .option .answer-copy>small{font-size:13px!important}
 .imported-session .lesson-action>span{display:none}
 .imported-session .lesson-action>.primary{width:100%;min-width:0}
}
@media(prefers-reduced-motion:reduce){.imported-session .scene-nilo{animation:none!important}}

/* Keep retry progress and voice speed visible during learning. */
.imported-session .retry-streak{display:inline-flex;align-items:center;margin-inline:10px;padding:5px 9px;border-radius:999px;background:#e8f5ed;color:#28744f;font-size:11px;font-weight:800;letter-spacing:0}
.imported-session .retry-streak-copy{padding:10px 13px;border-radius:12px;background:#edf7f1;color:#2d694d;font-weight:650;line-height:1.55}
@media(max-width:390px){.imported-session .audio-speed{display:flex!important}.imported-session .import-question-tools{flex-wrap:wrap;overflow:visible}.imported-session .import-question-tools .audio-speed{min-width:100%;justify-content:flex-start}}

/* TR-os visual system: calmer surfaces, clearer hierarchy, and responsive question media. */
:root{--navy:#15334b;--blue:#2869a8;--green:#258c7c;--border:#e0e9e7;--bg:#f3f7f8;--muted:#718493;--surface:#fff;--surface-shadow:0 14px 34px #183c4710}
body{background:radial-gradient(ellipse at 4% 0%,#dff5ec 0,transparent 34rem),radial-gradient(ellipse at 96% 8%,#e6effb 0,transparent 38rem),#f4f8f8;color:#20384a}
.sidebar{background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%);box-shadow:8px 0 32px #15384a0c}
.brandmark{box-shadow:0 8px 18px #15334b25}
nav button{border:1px solid transparent;border-radius:13px;transition:background .18s ease,border-color .18s ease,transform .18s ease,color .18s ease}
nav button:hover{border-color:#dcebe7;background:#f1f8f5;transform:translateX(2px)}
nav button.active{border-color:#d5eae3;background:linear-gradient(110deg,#eaf7f2,#eef4fb);color:#16796e}
.main>header,header{backdrop-filter:blur(15px)}
main{padding-top:clamp(25px,3.1vw,46px);padding-bottom:52px}
.panel,.daily,.topic,.coach-metrics>button,.learning-profile,.glossary-card,.scenario-card,.unit-card,.lesson-card,.memory-card,.practice-card{border:1px solid #e0e9e7;border-radius:20px;box-shadow:var(--surface-shadow);transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease}
.panel:hover,.topic:hover,.glossary-card:hover,.unit-card:hover,.lesson-card:hover{border-color:#cfe3dd;box-shadow:0 18px 42px #183c4716}
.hero,.coach-welcome{border:1px solid #ffffff50;border-radius:27px;background:linear-gradient(125deg,#16415b 0%,#147c78 65%,#42a77d 100%);box-shadow:0 24px 56px #173b4b24}
.primary,.whitebutton,.game-button,.import-launch,.track,.coach-choices>button,.scenario-choices>button{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.primary:not(:disabled):hover,.game-button:hover,.import-launch:hover,.whitebutton:hover,.track:hover,.coach-choices>button:hover,.scenario-choices>button:hover{transform:translateY(-2px);box-shadow:0 10px 20px #173c4b18}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #56a99a;outline-offset:3px}
.panel,.daily,.topic,.coach-metrics>button,.coach-exercise,.glossary-card,.scenario-card{background-color:#ffffffed}
.imported-session .coach-exercise{background:linear-gradient(145deg,#fff,#f8fcfa);}
.imported-session .question-reading-card.has-source-image{overflow:visible}
.imported-session .question-media,.imported-session .source-picture-grid{min-width:0}
.imported-session .source-picture-grid .question-image-button{overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.imported-session .source-picture-grid .question-image-button:hover{border-color:#81bdad;box-shadow:0 12px 28px #173c4718;transform:translateY(-2px)}
@media(max-width:600px){
 .imported-session .question-reading-card.has-source-image{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:12px!important;padding:14px!important}
 .imported-session .question-media,.imported-session .source-picture-grid{width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important}
 .imported-session .source-picture-grid{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
 .imported-session .source-picture-grid figure{width:100%;min-width:0}
 .imported-session .source-picture-grid .question-image-button{display:flex!important;width:100%!important;min-height:0!important;height:auto!important;padding:8px!important;border-radius:17px!important;background:linear-gradient(145deg,#f4f8f7,#fff)!important}
 .imported-session .source-picture-grid .question-image-button img{display:block!important;width:100%!important;max-width:100%!important;height:clamp(185px,34svh,300px)!important;max-height:none!important;aspect-ratio:16/10;object-fit:contain!important;border-radius:11px!important;background:#fff!important}
 .imported-session .source-picture-grid .question-image-button>span{font-size:12px!important;margin-top:7px}
 .imported-session .source-picture-grid figcaption{font-size:10px!important;margin-top:5px}
 .imported-session .context-art{width:100%!important;min-height:150px!important}
 .imported-session .context-art svg{width:100%!important;max-height:190px!important}
 .imported-session .coach-options .option{border-radius:15px!important}
}
@media(max-width:390px){
 .imported-session .question-reading-card.has-source-image{padding:11px!important}
 .imported-session .source-picture-grid .question-image-button img{height:clamp(175px,32svh,260px)!important}
}
@media(prefers-reduced-motion:no-preference){
 .hero,.coach-welcome{animation:tr-os-enter .45s cubic-bezier(.2,.75,.25,1) both}
 .panel,.daily,.topic,.scenario-card,.learning-profile{animation:tr-os-enter .35s ease both}
 .imported-session .playful-scene{animation:tr-os-float 4.8s ease-in-out infinite}
}
@keyframes tr-os-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes tr-os-float{0%,100%{translate:0 0}50%{translate:0 -2px}}
@media(prefers-reduced-motion:reduce){.hero,.coach-welcome,.panel,.daily,.topic,.scenario-card,.learning-profile,.imported-session .playful-scene{animation:none!important;transition:none!important}}
/* First-visit study plan and 24-hour learning streak. */
.study-streak-chip,.study-streak-inline{display:inline-flex;align-items:center;gap:7px;color:#a85422;font-weight:850}
.study-streak-chip{padding:8px 12px;border:1px solid #f3ddc7;border-radius:999px;background:linear-gradient(135deg,#fff8e9,#fff1e6)}
.study-goal-card{display:flex;align-items:center;gap:14px;margin:14px 0 18px;padding:16px 18px;border:1px solid #dce9e4;border-radius:20px;background:linear-gradient(110deg,#fff 0%,#f4fbf7 100%);box-shadow:0 10px 28px #183c470d}
.study-goal-icon,.study-setup-symbol{display:grid;place-items:center;flex:0 0 auto;width:46px;height:46px;border-radius:15px;background:#e5f5ee;color:#14796e}
.study-goal-copy{display:grid;gap:4px;min-width:0;flex:1}.study-goal-copy strong{font-size:16px;color:#20384a}.study-goal-copy small{color:#718493;line-height:1.45}.study-goal-actions{display:flex;align-items:center;gap:14px}.study-streak-inline{padding:9px 12px;border-radius:14px;background:#fff3e8}.study-streak-inline b{font-size:20px}.study-streak-inline small{color:#7a624f;font-weight:700}.study-reminder-notice{margin:10px 0}
.study-setup-overlay{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#112b3dcc,#153b48d9);backdrop-filter:blur(12px);overflow-y:auto;animation:tr-os-enter .22s ease both}
.study-setup-card{width:min(100%,560px);margin:auto;padding:clamp(22px,5vw,38px);border:1px solid #ffffffb0;border-radius:28px;background:linear-gradient(160deg,#fff 0%,#f5fbf8 100%);box-shadow:0 30px 100px #0d283b55;color:#20384a}
.study-setup-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.study-setup-step{font-size:11px;font-weight:850;letter-spacing:.1em;color:#688093}.study-setup-card h2{margin:8px 0;font-size:clamp(28px,5vw,38px);letter-spacing:-.035em}.study-setup-card>p{margin:0 0 24px;color:#667b89;line-height:1.65}.study-setup-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.study-setup-fields label{display:grid;gap:8px;padding:13px;border:1px solid #dce8e5;border-radius:15px;background:#ffffffd9;color:#385465;font-size:13px;font-weight:800}.study-setup-fields input,.study-setup-fields select{width:100%;min-height:43px;padding:8px 10px;border:1px solid #d7e4e1;border-radius:10px;background:#fff;color:#20384a;font:inherit}.study-setup-fields .study-date-field{grid-column:1/-1}.study-reminder-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;padding:14px;border:1px solid #dfebe7;border-radius:16px;background:#fff}.study-reminder-choice>div{display:flex;align-items:flex-start;gap:10px;color:#14796e}.study-reminder-choice>div>div{display:grid;gap:4px}.study-reminder-choice strong{color:#29485a;font-size:14px}.study-reminder-choice small{max-width:340px;color:#718493;font-size:11px;line-height:1.5}.study-reminder-choice button{flex:0 0 auto;min-height:38px;padding:8px 11px;border:1px solid #cfdfdc;border-radius:11px;background:#f7fbfa;color:#286b62;font-size:12px;font-weight:850;cursor:pointer}.study-reminder-choice button.reminder-enabled{border-color:#acd8c6;background:#e7f7ef}.study-setup-note{padding:10px 12px;border-radius:12px;background:#eef6f4;font-size:12px}.study-save-button{display:flex;width:100%;justify-content:center;min-height:52px;margin-top:16px}.study-setup-footnote{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:14px;color:#718493;text-align:center;font-size:11px;line-height:1.5}.import-journey-side .daily-quest h3{display:flex;align-items:center;gap:8px}.import-journey-side .daily-quest h3 svg{color:#e57b35}
@media(max-width:640px){.study-goal-card{align-items:flex-start;flex-wrap:wrap;padding:13px}.study-goal-copy{min-width:calc(100% - 65px)}.study-goal-actions{width:100%;justify-content:space-between;padding-left:58px}.study-setup-overlay{align-items:start;padding:12px}.study-setup-card{padding:23px 18px;border-radius:22px}.study-setup-fields{grid-template-columns:1fr}.study-setup-fields .study-date-field{grid-column:auto}.study-reminder-choice{align-items:flex-start;flex-direction:column}.study-reminder-choice small{max-width:none}.study-setup-footnote{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.study-setup-overlay{animation:none}}