@media(max-width:680px){.profile-trigger{width:32px;height:32px;min-width:32px}.profile-trigger>.avatar-initials{font-size:13px}.has-mobile-nav #app .back{display:none}body.has-mobile-nav #header:has(.mobile-subject-back) .user-menu{gap:8px!important}body.has-mobile-nav #header:has(.mobile-subject-back) .logo{font-size:24px!important;gap:3px!important}body.has-mobile-nav #header:has(.mobile-subject-back){gap:8px!important}#header:has(.mobile-subject-back) .mobile-subject-back{font-size:10px}body.has-mobile-nav #header:has(.mobile-subject-back) .user-menu>.xp{gap:6px!important;font-size:11px!important}body.has-mobile-nav #header:has(.mobile-subject-back) .user-menu>.top-cash{gap:6px!important;padding-left:7px!important}.profile-dialog{border-radius:20px;padding:25px 23px;max-height:calc(100svh - 35px);width:calc(100vw - 26px)}.profile-dialog h2{font-size:28px}.profile-photo-row{gap:17px}.profile-avatar-preview{width:74px;height:74px;min-width:74px}.profile-photo-row .button{font-size:13px;padding:11px 13px}.profile-photo-row>div:nth-child(2)>span{font-size:10px}.profile-save-row{gap:15px}.profile-save-row>.button{font-size:14px;padding:14px 18px}.profile-logout-row{gap:17px}.profile-logout-row>span{font-size:10px}.profile-logout{font-size:13px}.profile-dialog input{font-size:16px}.profile-close{min-width:35px;height:35px;width:35px}}
@media(max-width:370px){body.has-mobile-nav #header:has(.mobile-subject-back){padding-inline:10px!important;gap:5px!important}body.has-mobile-nav #header:has(.mobile-subject-back) .logo{font-size:21px!important;gap:2px!important}body.has-mobile-nav #header:has(.mobile-subject-back) .user-menu{gap:6px!important}#header:has(.mobile-subject-back) .mobile-subject-back{font-size:9px;min-width:0;gap:3px}body.has-mobile-nav #header:has(.mobile-subject-back) .top-cash-text>span{font-size:11px!important}body.has-mobile-nav #header:has(.mobile-subject-back) .reward-heart{width:12px;height:12px}.profile-trigger{width:28px;height:28px;min-width:28px}.profile-photo-row{gap:13px}.profile-avatar-preview{width:63px;height:63px;min-width:63px}.profile-photo-row .button{font-size:12px}.profile-dialog{padding:23px 19px}.profile-dialog h2{font-size:26px}.profile-save-row>.button{font-size:13px;padding-inline:14px}.profile-save-row>.text-button{font-size:12px}}
.profile-trigger{border:1.5px solid #748861;background:#27312b;border-radius:50%;width:38px;height:38px;min-width:38px;padding:0;display:grid;place-items:center;overflow:hidden;flex-shrink:0;color:#d6efb8;cursor:pointer}.avatar-image{width:100%;height:100%;object-fit:cover;display:block}.avatar-initials{font-family:'Sora','Inter',sans-serif;font-size:16px;font-weight:600;line-height:1}.profile-trigger:hover{border-color:#c6f36a}.profile-trigger:focus-visible{outline:2px solid #c6f36a;outline-offset:4px}.profile-dialog{background:#1a1f27;color:#eef1f5;border:1px solid #526072;border-radius:22px;padding:30px 34px;width:min(550px,calc(100vw - 32px));max-height:calc(100svh - 60px);overflow-y:auto;box-shadow:0 30px 100px #0009;margin:auto;overscroll-behavior:contain}.profile-dialog::backdrop{background:#070b12bf;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}.profile-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.profile-close{font-size:29px;font-weight:300;background:none;border:1px solid #4c5869;border-radius:50%;width:37px;height:37px;min-width:37px;color:#d3dce8;line-height:1;display:grid;place-items:center;padding:0}.profile-dialog h2{font-size:32px;line-height:1.25;letter-spacing:-1px;margin:15px 0 10px}.profile-lead{font-size:15px;color:#aab9cd;line-height:1.8;margin:0 0 25px}.profile-photo-row{display:flex;align-items:center;gap:22px;padding:0 0 25px;border-bottom:1px solid #394556;margin-bottom:24px}.profile-avatar-preview{width:87px;height:87px;min-width:87px;background:#2b382e;border:2px solid #a7c87b;border-radius:50%;display:grid;place-items:center;overflow:hidden}.profile-avatar-preview .avatar-initials{font-size:34px}.profile-photo-row>div:nth-child(2){display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}.profile-photo-row .button{font-size:14px;min-height:44px;padding:12px 16px}.profile-photo-row .text-button{font-size:12px}.profile-photo-row>div:nth-child(2)>span{font-size:11px;color:#9daec4;line-height:1.8;flex-basis:100%}.profile-dialog label{font-size:14px;color:#d3deec;line-height:1.8;margin-bottom:20px}.profile-dialog input{margin-top:8px;font-size:16px;background:#101720;padding:13px 15px;min-height:49px;border-color:#4c5d73}.profile-dialog .optional-label{display:block;font-size:11px;color:#97aac1}.profile-password{border-block:1px solid #394657;margin:24px 0}.profile-password summary{display:flex;justify-content:space-between;align-items:center;list-style:none;cursor:pointer;font-size:14px;min-height:52px;color:#d4dfed}.profile-password summary>span{color:#c6f36a;font-size:21px}.profile-password label{margin-top:10px}.profile-save-row{display:flex;gap:23px;align-items:center;margin-top:25px}.profile-save-row>.button{font-size:15px;min-height:52px;padding:15px 23px}.profile-save-row>.text-button{font-size:14px}.profile-logout-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #415065;padding-top:21px;margin-top:25px;gap:20px}.profile-logout-row>span{font-size:11px;color:#99aac0;line-height:1.8;max-width:240px}.profile-logout{border:0;background:none;color:#f5b7b4;padding:10px 0;min-height:44px;font-size:14px;white-space:nowrap}.profile-dialog .form-error{font-size:13px;line-height:1.8}.profile-dialog .form-error:empty{display:none}
/* Logga till vänster, tillbaka i mittkolumnen, kontot till höger. */
@media(max-width:680px){
  body.has-mobile-nav #header:has(.mobile-subject-back){display:grid!important;grid-template-columns:auto minmax(68px,1fr) auto;align-items:center;column-gap:9px!important;flex-wrap:nowrap!important}
  body.has-mobile-nav #header:has(.mobile-subject-back) .logo{grid-column:1;grid-row:1;margin:0!important}
  body.has-mobile-nav #header:has(.mobile-subject-back) .mobile-subject-back{grid-column:2;grid-row:1;justify-self:center;justify-content:center;margin:0!important;padding:6px 3px;min-width:0;width:auto;white-space:nowrap;gap:5px}
  body.has-mobile-nav #header:has(.mobile-subject-back) .user-menu{grid-column:3;grid-row:1;width:auto!important;margin:0!important;justify-self:end;flex:none!important}
  .profile-trigger{width:32px;height:32px;min-width:32px}.profile-trigger>.avatar-initials{font-size:13px}
  .profile-dialog{border-radius:20px;padding:25px 23px;max-height:calc(100svh - 35px);width:calc(100vw - 26px)}.profile-dialog h2{font-size:28px}.profile-photo-row{gap:17px}.profile-avatar-preview{width:74px;height:74px;min-width:74px}.profile-photo-row .button{font-size:13px;padding:11px 13px}.profile-photo-row>div:nth-child(2)>span{font-size:10px}.profile-save-row{gap:15px}.profile-save-row>.button{font-size:14px;padding:14px 18px}.profile-logout-row{gap:17px}.profile-logout-row>span{font-size:10px}.profile-logout{font-size:13px}.profile-dialog input{font-size:16px}.profile-close{min-width:35px;height:35px;width:35px}
}
@media(max-width:370px){body.has-mobile-nav #header:has(.mobile-subject-back){grid-template-columns:auto minmax(61px,1fr) auto;column-gap:6px!important}.profile-trigger{width:28px;height:28px;min-width:28px}.profile-photo-row{gap:13px}.profile-avatar-preview{width:63px;height:63px;min-width:63px}.profile-photo-row .button{font-size:12px}.profile-dialog{padding:23px 19px}.profile-dialog h2{font-size:26px}.profile-save-row>.button{font-size:13px;padding-inline:14px}.profile-save-row>.text-button{font-size:12px}}
#header .mobile-subject-back{font-weight:700}
#header .logo>.gnista,footer>a>.gnista{width:31px;height:34px;flex:0 0 31px;display:block;overflow:visible}#header .logo,footer>a{gap:5px!important}footer>a>.gnista{width:26px;height:29px;flex-basis:26px}
@media(max-width:680px){body.has-mobile-nav #header .logo>.gnista{width:25px;height:29px;flex-basis:25px}body.has-mobile-nav #header:has(.mobile-subject-back) .logo{font-size:22px!important;gap:3px!important}#header:has(.mobile-subject-back) .mobile-subject-back{font-weight:700}}
@media(max-width:370px){body.has-mobile-nav #header:has(.mobile-subject-back) .logo{font-size:19px!important}body.has-mobile-nav #header .logo>.gnista{width:22px;height:26px;flex-basis:22px}}
@media(max-width:680px){body.has-mobile-nav #header:has(.mobile-subject-back){display:flex!important;justify-content:space-between!important}body.has-mobile-nav #header:has(.mobile-subject-back) .user-menu{margin-left:auto!important}body.has-mobile-nav #header:has(.mobile-subject-back) .mobile-subject-back{position:absolute;left:50%;bottom:-14px;transform:translateX(-50%);display:inline-flex;align-items:center;justify-content:center;gap:5px;width:max-content;min-width:0;min-height:28px;padding:5px 13px;margin:0!important;border:1px solid #4b5869;border-radius:20px;background:#202834;color:#dbe5f3;box-shadow:0 3px 10px #0003;font-size:10px;line-height:1.4;font-weight:700;z-index:2}#header .mobile-subject-back>span:first-child{font-size:17px;line-height:1}body.has-mobile-nav #header:has(.mobile-subject-back)~#app{padding-top:16px}.course-overview{padding-top:16px!important}}
#header .logo>.gnista{width:42px;height:46px;flex-basis:42px}footer>a>.gnista{width:34px;height:38px;flex-basis:34px}
@media(max-width:680px){body.has-mobile-nav #header .logo>.gnista{width:36px;height:40px;flex-basis:36px}}
@media(max-width:370px){body.has-mobile-nav #header .logo>.gnista{width:32px;height:36px;flex-basis:32px}}
@media(max-width:680px){body.has-mobile-nav #header:has(.mobile-subject-back)~#app{padding-top:4px}.course-overview{padding-top:9px!important}.course-overview .course-hero{padding-top:9px}.course-overview .course-hero>.back{display:none}}
.button>.button-gnista{width:30px;height:32px;min-width:30px;flex:0 0 30px;display:block;overflow:visible}.button:has(>.button-gnista){gap:12px}.button:hover:enabled>.button-gnista{transform:rotate(-6deg)}
@media(max-width:680px){.button>.button-gnista{width:28px;height:30px;min-width:28px;flex-basis:28px}.button:has(>.button-gnista){gap:10px;padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.button:hover:enabled>.button-gnista{transform:none}}
#header .logo{font-size:25px!important}#header .logo>.gnista{width:50px;height:51px;flex-basis:50px}
@media(max-width:680px){body.has-mobile-nav #header .logo,body.has-mobile-nav #header:has(.mobile-subject-back) .logo{font-size:21px!important;gap:3px!important}body.has-mobile-nav #header .logo>.gnista{width:43px;height:46px;flex-basis:43px}}
@media(max-width:370px){body.has-mobile-nav #header .logo,body.has-mobile-nav #header:has(.mobile-subject-back) .logo{font-size:19px!important}body.has-mobile-nav #header .logo>.gnista{width:39px;height:43px;flex-basis:39px}}
@media(max-width:680px){.has-mobile-nav #app>.page{padding-top:16px}.has-mobile-nav #app>.page>.page-intro{margin-top:0}.has-mobile-nav #app>.page>.coach-greeting{margin-top:0}.has-mobile-nav #app>.page.narrow{padding-top:19px}.has-mobile-nav #app>.page>.page-intro h1{margin-top:12px}.has-mobile-nav #app>.page>.section-title:first-child{margin-top:10px}.has-mobile-nav #app>.play-page{margin-top:12px}}
.logo>.gnista{cursor:pointer}.logo>.gnista.gnista-chuckle{animation:gnista-chuckle .85s ease-in-out;transform-origin:center bottom}.logo>.gnista:focus-visible{outline:2px solid #c6f36a;outline-offset:3px;border-radius:10px}@keyframes gnista-chuckle{0%,100%{transform:rotate(0) scale(1)}15%{transform:rotate(-10deg) scale(1.1)}30%{transform:rotate(9deg) scale(1.07)}45%{transform:rotate(-8deg) scale(1.09)}60%{transform:rotate(6deg) scale(1.04)}80%{transform:rotate(-3deg) scale(1.02)}}@media(prefers-reduced-motion:reduce){.logo>.gnista.gnista-chuckle{animation:none}}
.button>.button-gnista{width:43px;height:44px;min-width:43px;flex-basis:43px}.button:has(>.button-gnista){padding-top:10px;padding-bottom:10px;gap:14px}
@media(max-width:680px){.button>.button-gnista{width:39px;height:41px;min-width:39px;flex-basis:39px}.button:has(>.button-gnista){padding-top:9px;padding-bottom:9px;gap:12px}.profile-dialog{padding:18px 20px;width:calc(100vw - 24px);max-height:calc(100svh - 24px);border-radius:18px}.profile-dialog-top{height:32px;justify-content:flex-end}.profile-dialog-top>.kicker{display:none}.profile-close{height:31px;width:31px;min-width:31px;font-size:24px}.profile-dialog h2{font-size:24px;line-height:32px;margin:-32px 42px 15px 0}.profile-lead{display:none}.profile-photo-row{padding-bottom:13px;margin-bottom:14px;gap:16px;min-height:65px}.profile-avatar-preview{width:58px;height:58px;min-width:58px}.profile-avatar-preview .avatar-initials{font-size:25px}.profile-photo-row .button{min-height:37px;padding:8px 12px;font-size:12px}.profile-photo-row .text-button{min-height:30px;font-size:11px;padding:6px 0}.profile-photo-row>div:nth-child(2)>span{display:none}.profile-dialog label{font-size:13px;line-height:1.5;margin-bottom:13px}.profile-dialog input{min-height:44px;padding:10px 12px;font-size:16px;line-height:1.4;margin-top:5px}.profile-password{margin:15px 0}.profile-password summary{min-height:40px;font-size:13px}.profile-password label{margin-top:8px}.profile-dialog .optional-label{font-size:10px;line-height:1.5}.profile-save-row{margin-top:17px;gap:18px}.profile-save-row>.button{min-height:46px;font-size:13px;padding:7px 14px}.profile-save-row .button-gnista{width:31px;height:32px;min-width:31px;flex-basis:31px}.profile-save-row>.text-button{font-size:12px;min-height:40px}.profile-logout-row{padding-top:10px;margin-top:14px;gap:13px;min-height:44px}.profile-logout-row>span{font-size:9px;line-height:1.6;max-width:160px}.profile-logout{font-size:12px;min-height:35px;padding:8px 0}.profile-dialog .form-error{font-size:12px;margin:8px 0}}
@media(max-width:370px){.profile-dialog{padding:16px 17px}.profile-dialog h2{font-size:22px}.profile-save-row>.button{font-size:12px;padding-inline:12px}.profile-save-row .button-gnista{width:28px;min-width:28px;flex-basis:28px}.profile-photo-row{gap:13px}.profile-avatar-preview{width:53px;height:53px;min-width:53px}.profile-dialog label{margin-bottom:11px}.profile-password{margin-block:12px}}
/* En lugn start på varje uppgift: en kontextrad, en linje och innehållet. */
.lesson-context{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;line-height:1.7;color:#aab9cb;margin:15px 0 12px}.lesson-context>span:last-child{text-align:right;color:#c1d6a3}.lesson-context b{font-weight:400;color:#aab9cb}.coach-play .run-progress{margin:0 0 25px;height:3px}.coach-play .play-layout>.panel{padding-top:0}.coach-play .play-layout>.panel h1{margin:0 0 22px;font-size:31px}.coach-play .play-aside .lab{margin-top:0}.coach-play .play-top{margin-bottom:12px}.coach-play .play-top>span{display:none}
@media(max-width:680px){.coach-play .play-top{display:none}.has-mobile-nav .play-page.coach-play{margin-top:12px}.lesson-context{margin:9px 0 13px;font-size:12px;gap:13px}.lesson-context>span:first-child{max-width:48%}.lesson-context>span:last-child{white-space:nowrap}.coach-play .run-progress{margin:0 0 24px}.coach-play .play-layout>.panel h1{font-size:27px;line-height:1.35;margin:0 0 22px}.coach-play .lesson-text{margin-top:0;font-size:18px;line-height:1.9}.coach-play .play-aside .aside-note{display:none}}
.welcome-letter{display:grid;grid-template-columns:150px minmax(0,1fr);gap:35px;align-items:start;margin:5px 0 40px;padding:30px 0 35px;border-bottom:1px solid #465267;background:radial-gradient(ellipse at 5% 10%,#b7e7650b,transparent 60%)}.welcome-mascot{text-align:center;padding-top:24px}.welcome-mascot>.gnista{width:130px;height:140px;margin:auto}.welcome-mascot>span{display:block;font-size:9px;line-height:1.8;letter-spacing:1.4px;color:#b7cc97;margin-top:13px}.welcome-letter h1{font-size:clamp(34px,4vw,49px);line-height:1.16;letter-spacing:-1.5px;margin:17px 0 22px}.welcome-letter p{font-size:17px;line-height:1.9;color:#b5c4d7;max-width:650px;margin:15px 0}.welcome-letter .welcome-promise{font-size:18px;color:#e3efd4}.welcome-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:25px}.welcome-actions>.button{font-size:15px}.welcome-actions>.text-button{font-size:13px}
@media(max-width:680px){.welcome-letter{grid-template-columns:1fr;gap:15px;padding:10px 0 30px}.welcome-mascot{padding:0;display:flex;align-items:center;gap:18px;text-align:left}.welcome-mascot>.gnista{width:75px;height:80px;flex:0 0 75px;margin:0}.welcome-mascot>span{font-size:9px;margin:0;max-width:160px}.welcome-letter h1{font-size:35px;line-height:1.15;margin:14px 0 20px}.welcome-letter p{font-size:16px;line-height:1.85;margin:13px 0}.welcome-letter .welcome-promise{font-size:17px}.welcome-actions{gap:8px;margin-top:22px}.welcome-actions>.button{width:100%;font-size:15px}.welcome-actions>.text-button{font-size:13px;min-height:45px}.welcome-letter .kicker{font-size:10px}}
.logo>.gnista[data-pointer-focus],.logo>.gnista[data-pointer-focus]:focus,.logo>.gnista[data-pointer-focus]:focus-visible,.logo:has(>.gnista[data-pointer-focus]):focus{outline:none!important;box-shadow:none!important}
