.local-preview{position:relative;z-index:30;background:#eaf0f7;color:#446079;padding:7px 16px;font-size:11px;text-align:center;letter-spacing:.02em}.j-page{--navy:#173451;--ink:#203b57;--muted:#62768b;--line:#dce5ee;max-width:1050px;margin:0 auto;padding:12px 10px 56px;color:var(--ink)}.j-page button,.j-page a{touch-action:manipulation}.j-page a{color:inherit}.j-page .primary{background:#173451;color:white;border:0;border-bottom:4px solid #0b2038;border-radius:14px;padding:16px 24px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;text-decoration:none;min-height:52px}.j-page button:focus-visible,.j-page a:focus-visible,.j-page summary:focus-visible{outline:3px solid #6b9dcc;outline-offset:4px}.j-back{display:inline-flex;text-decoration:none;color:#5e768d!important;font-size:14px;margin-bottom:25px}.j-heading{margin:10px 0 30px;max-width:760px}.j-heading h1{font-size:clamp(29px,3vw,44px);line-height:1.17;letter-spacing:-1.3px;margin:10px 0 14px;color:#173451}.j-heading p{font-size:17px;line-height:1.7;color:#5d7287;max-width:640px}.j-page .eyebrow{color:#637f9b;font-size:11px;letter-spacing:1.7px;font-weight:750}.j-recommend{background:#edf3fa;border:1px solid #dce7f2;border-radius:25px;padding:30px 36px;display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:18px}.j-recommend h2{font-size:26px;letter-spacing:-.6px;margin:10px 0}.j-recommend p{max-width:490px;line-height:1.6;color:#546d84;margin:0 0 20px}.j-recommend img{object-fit:contain;flex:0 0 150px}.j-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.j-secondary{font-weight:650;text-decoration:none;padding:12px 0}.j-course-goals{padding:18px 4px;border-bottom:1px solid var(--line);margin-bottom:35px;color:#587087}.j-course-goals summary{font-weight:650;cursor:pointer}.j-course-goals>p,.j-course-goals>ul{line-height:1.7;max-width:750px}.j-course-goals .course-basis{margin:15px 0}.j-topics-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.j-topics-heading h2{margin:0;font-size:25px}.j-topics-heading a{font-size:14px;text-decoration:none}.j-muted{font-size:13px!important;color:#62798e!important;line-height:1.6}.j-group{font-size:12px;text-transform:uppercase;letter-spacing:1.3px;color:#71869a;margin:27px 0 9px}.j-topic-list section{margin-bottom:26px}.j-topic-row{display:flex;align-items:center;gap:17px;padding:20px 8px;text-decoration:none;border-bottom:1px solid var(--line);transition:background .2s,padding .2s}.j-topic-row:hover{background:#edf3fa;padding-left:16px;border-radius:12px}.j-topic-number{width:39px;height:43px;flex-shrink:0;border:1px solid #cddae6;border-radius:8px 8px 12px 12px;display:grid;place-items:center;color:#7890a6;font-size:13px;font-weight:700}.j-topic-number.earned{background:#183a57;color:white;border:0}.j-topic-row strong{font-size:17px;display:block;font-weight:650}.j-topic-row small{display:block;margin-top:6px;color:#698095;line-height:1.45}.j-topic-status{margin-left:auto;flex-shrink:0;font-size:12px;color:#668199;display:flex;gap:20px}.j-marks{display:flex;gap:28px;align-items:center;margin:25px 0 40px}.j-mark{display:flex;align-items:center;gap:9px;color:#6a8196;font-size:12px}.j-mark svg{width:25px;height:32px;fill:#f2f5f8;stroke:#becddd;stroke-width:1.3;flex-shrink:0}.j-mark text{font-size:12px;fill:#8195a7;stroke:none;font-weight:700}.j-mark.earned{color:#163c59;font-weight:700}.j-mark.earned svg{fill:#173e5b;stroke:#173e5b}.j-mark.earned text{fill:white}.j-doors{display:grid;grid-template-columns:1fr 1fr;gap:22px}.j-door{display:block;padding:32px;border:1px solid var(--line);border-radius:24px;background:white;text-decoration:none;transition:transform .18s,border-color .18s}.j-door:hover{transform:translateY(-3px);border-color:#6a92b6}.j-door.learn{background:#edf3fa}.j-door h2{font-size:35px;letter-spacing:-.8px;margin:12px 0}.j-door p{line-height:1.65;color:#61768b;min-height:54px;max-width:320px}.j-door strong{font-size:15px;display:block;margin-top:26px}.j-door-symbol{width:45px;height:45px;display:grid;place-items:center;border:1px solid #b7cbdf;border-radius:14px;margin-bottom:26px;font-size:27px;color:#375c7b}.j-door-symbol svg{width:25px;height:25px}.j-quiet-details{margin-top:34px;font-size:13px;line-height:1.8;color:#698095}.j-quiet-details summary{cursor:pointer}.j-quiet-details p{max-width:700px}.j-types{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:30px}.j-type{background:white;border:1px solid var(--line);border-radius:17px;padding:24px;text-align:left;color:#21415d;min-height:105px;cursor:pointer}.j-type strong{display:block;font-size:19px}.j-type small{display:block;margin-top:8px;font-size:13px;color:#6f8194;line-height:1.5}.j-type[aria-pressed=true]{background:#eaf2fb;border:2px solid #2e587c;padding:23px}.j-adjust{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0}.j-adjust summary{cursor:pointer;font-weight:650}.j-adjust summary span{float:right;font-size:13px;font-weight:400;color:#61778b}.j-adjust fieldset{border:0;padding:15px 0;margin:12px 0}.j-adjust legend{font-size:14px;font-weight:650;margin-bottom:10px}.j-choice-row{display:flex;gap:10px;flex-wrap:wrap}.j-choice-row button{background:white;color:#49647b;border:1px solid var(--line);border-radius:12px;padding:12px 18px;font-size:13px;cursor:pointer}.j-choice-row button[aria-pressed=true]{background:#173451;border-color:#173451;color:white}.j-start{padding:26px 0;max-width:600px}.j-start p{font-size:14px;color:#60758a;line-height:1.7;margin-bottom:20px}.j-start #j-launch-error{color:#a44835}.j-read-top{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#688197;align-items:start}.j-read-top .j-back{margin-bottom:18px}.j-read-top>span{max-width:60%;text-align:right;line-height:1.6}.j-line{height:4px;background:#e0e8ef;border-radius:6px;overflow:hidden;margin-bottom:40px}.j-line span{height:100%;display:block;background:#3e739f;transition:width .25s}.j-reader{max-width:720px;margin:auto}.j-reader .j-heading h1{font-size:34px}.j-reader .j-heading{margin-bottom:24px}.j-reader .j-heading p{font-size:16px}.j-prose p,.j-example p{font-size:16px;line-height:1.85;color:#415b72;margin:0 0 20px}.j-prose .ov-term{font-size:inherit}.j-formula{background:#173451;color:white;border-radius:17px;padding:24px 28px;font-size:21px;font-weight:650;line-height:1.5;margin:25px 0;overflow-wrap:anywhere}.j-example{border-left:3px solid #d8b369;background:#faf7ef;padding:24px 28px;border-radius:0 16px 16px 0;margin:28px 0}.j-example h3{margin:9px 0 12px;font-size:18px}.j-example p{margin:0;font-size:15px}.j-check{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}.j-check h2{font-size:21px;line-height:1.5;margin:0 0 24px}.j-options{display:grid;gap:10px;margin-bottom:20px}.j-options label{display:flex;gap:13px;align-items:start;border:1px solid var(--line);padding:17px 20px;border-radius:13px;font-size:15px;line-height:1.55;background:white;cursor:pointer}.j-options label.selected{background:#eaf2fb;border-color:#6e97ba}.j-options input{accent-color:#183a57;flex-shrink:0;margin-top:5px;width:17px;height:17px}.j-check label[for]{display:block;font-size:13px;margin-bottom:10px}.j-check input[inputmode]{background:white;border:1px solid #aabed0;border-radius:12px;max-width:270px;width:100%;padding:14px;font-size:20px;color:#173451}.j-feedback{font-size:14px;line-height:1.7;color:#945238;margin:15px 0}.j-feedback:empty{display:none}.j-feedback.done{padding:18px 22px;background:#edf5f1;border-radius:13px;color:#28584a}.j-feedback p{margin:5px 0 0}.j-hint{font-size:14px;line-height:1.7;color:#647b8f}.j-bottom{display:flex;gap:16px;align-items:center;justify-content:space-between;position:sticky;bottom:0;background:rgba(255,255,255,.97);padding:19px 0;border-top:1px solid var(--line);max-width:720px;margin:35px auto 0;z-index:12}.j-bottom>span{font-size:11px;color:#788b9c}.j-bottom button:disabled{opacity:.4;cursor:default}.j-sources{margin-top:34px;font-size:12px;line-height:1.8;color:#6d8194}.j-sources summary{cursor:pointer}.j-reading .j-page{max-width:1000px}.j-reading .mobile-tabs{display:none}.j-reading footer{display:none}.j-complete{max-width:640px;text-align:center;margin:30px auto}.j-complete img{object-fit:contain;display:block;margin:0 auto 20px}.j-complete h1{font-size:34px;letter-spacing:-1px;line-height:1.2}.j-complete p{line-height:1.8;color:#60788d}.j-complete .text-btn{display:block;margin:22px auto}.j-result{padding:22px;background:#edf3fa;border-radius:18px;margin:25px 0}.j-result strong{display:block;font-size:30px}.j-result span{display:block;margin-top:7px;font-size:13px;color:#658095}.j-awards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0 50px}.j-award{padding:25px;text-align:center;background:#f2f5f8;border-radius:20px;color:#7b8c9b}.j-award>span{display:grid;place-items:center;background:#e2e9f0;width:56px;height:56px;border:3px double #acbdcb;border-radius:50%;margin:0 auto 20px;font-size:22px}.j-award.earned{background:#fbf5e6;color:#745b2c}.j-award.earned>span{background:#f2dfaa;border-color:#b7964f}.j-award strong{display:block;font-size:16px}.j-award small{display:block;margin-top:10px;line-height:1.5}.j-progress-topics article{padding:22px 0;border-bottom:1px solid var(--line)}.j-progress-topics article>a{font-weight:650;text-decoration:none}.j-progress-topics .j-marks{margin:20px 0}.j-return{max-width:800px;margin:35px auto}.j-reading .topbar{position:relative}.j-reader .ov-term-tip{font-size:11px;color:#7890a3;margin-bottom:20px}.j-page .primary:hover{background:#234966}
@media(max-width:700px){.local-preview{font-size:9px;padding:6px 10px}.j-page{padding:6px 0 35px}.j-heading{margin-top:4px;margin-bottom:24px}.j-heading h1{font-size:30px;letter-spacing:-.7px}.j-heading p{font-size:15px}.j-recommend{padding:24px;position:relative;overflow:hidden;gap:0}.j-recommend img{position:absolute;width:85px;height:90px;right:10px;top:13px;opacity:.95}.j-recommend .eyebrow,.j-recommend h2{padding-right:65px}.j-recommend h2{font-size:23px}.j-recommend p{font-size:14px;margin-top:14px}.j-recommend .j-actions{gap:12px}.j-recommend .primary{font-size:14px;padding:13px 17px}.j-back{font-size:13px;margin-bottom:20px}.j-topic-row{gap:12px;padding:18px 0}.j-topic-row strong{font-size:15px;line-height:1.4}.j-topic-row small{font-size:12px}.j-topic-status{font-size:0;gap:0}.j-topic-status span{font-size:20px}.j-topic-number{width:31px;height:37px;font-size:11px}.j-topics-heading h2{font-size:22px}.j-topics-heading a{font-size:12px}.j-doors{gap:12px}.j-door{padding:22px 18px;border-radius:18px}.j-door .eyebrow{font-size:8px;letter-spacing:1px}.j-door-symbol{margin-bottom:20px}.j-door h2{font-size:30px}.j-door p{font-size:13px;min-height:85px}.j-door strong{font-size:13px;margin-top:20px}.j-marks{gap:15px;justify-content:space-between;margin:24px 0 30px}.j-mark{font-size:10px;gap:5px;max-width:100px;line-height:1.45}.j-mark svg{width:21px;height:28px}.j-types{gap:10px}.j-type{padding:19px 16px;min-height:110px}.j-type[aria-pressed=true]{padding:18px 15px}.j-type strong{font-size:17px}.j-type small{font-size:12px}.j-adjust summary span{font-size:11px;max-width:50%;text-align:right}.j-choice-row{gap:7px}.j-choice-row button{padding:12px;font-size:12px}.j-read-top{font-size:11px;gap:10px}.j-line{margin-bottom:28px}.j-reader .j-heading h1{font-size:28px}.j-prose p,.j-example p{font-size:15px;line-height:1.8}.j-formula{font-size:18px;padding:22px}.j-example{padding:20px}.j-check h2{font-size:19px}.j-options label{padding:15px;font-size:14px}.j-bottom{padding:14px 0;margin-top:24px;padding-bottom:max(14px,env(safe-area-inset-bottom))}.j-bottom>span{display:none}.j-bottom .primary{font-size:14px;padding:13px 19px}.j-awards{gap:9px}.j-award{padding:18px 9px;border-radius:14px}.j-award strong{font-size:12px}.j-award small{font-size:10px}.j-award>span{width:43px;height:43px;margin-bottom:14px}.j-complete h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){.j-topic-row,.j-door,.j-line span{transition:none}}
.j-deep{display:grid;grid-template-columns:1fr 1fr;gap:35px}.j-deep-facts{background:#edf3fa;border-radius:20px;padding:25px;font-size:15px;line-height:1.85}.j-deep-facts p{margin-top:0}.j-deep li{margin-bottom:12px}.j-draft>label{display:block;font-size:14px;font-weight:650;margin-bottom:8px}.j-draft textarea{width:100%;resize:vertical;border:1px solid #cbd9e5;background:white;border-radius:12px;line-height:1.6;font:inherit;font-size:14px;padding:14px;margin-bottom:17px;color:#294960;box-sizing:border-box}.j-self-review{margin-top:35px;padding-top:30px;border-top:1px solid #dce5ee;max-width:760px}.j-self-review>label{display:flex;gap:12px;align-items:start;margin:15px 0;font-size:15px;line-height:1.6}.j-self-review input{margin-top:6px;accent-color:#183a57}.j-solution{background:#edf5f1;padding:22px;border-radius:16px;line-height:1.8;margin:20px 0}.j-solution li{margin-bottom:15px}.j-solution a,.j-sources a{display:block;font-size:12px;margin:9px 0}.j-deep .primary:disabled{opacity:.4}
@media(max-width:760px){.j-deep{grid-template-columns:1fr;gap:28px}.j-deep-facts{padding:22px;font-size:14px}.j-self-review h2{font-size:22px}}
.j-personal-progress{display:block;font-size:13px;text-decoration:none;color:#496e8c!important;margin-top:18px}.j-home-recommend{margin-top:15px}.j-home-recommend .home-streak{flex:0 0 160px}.j-home-recommend .j-actions{margin-top:15px}.j-home-recommend .j-secondary{font-size:14px}
@media(max-width:700px){.j-home-recommend{display:block}.j-home-recommend h2,.j-home-recommend .eyebrow{padding-right:0}.j-home-recommend .home-streak{margin-top:22px}.j-home-recommend .j-actions{gap:16px}}
.j-page .j-actions .primary{width:auto;flex:0 0 auto}.j-page .j-actions .j-secondary{width:auto}.j-recommend{min-height:0}.j-personal-progress:hover{text-decoration:underline}

/* Keep answer controls clear of the input, including the button's raised edge. */
.j-check input[inputmode]{display:block;box-sizing:border-box}
.j-check .j-actions{margin-top:24px;gap:12px 20px}
.j-feedback:focus{outline:none}
.j-repeat{margin:30px auto 0;padding-top:20px;border-top:1px solid var(--line)}
.j-complete .j-repeat .text-btn{margin:10px auto;min-height:44px}
.j-repeat .j-muted{max-width:380px;margin:12px auto}

/* Reading stays unobstructed; the next step belongs after the answer. */
.j-bottom{position:static;background:white}.j-bottom .primary{width:auto;flex:0 0 auto}.j-bottom .text-btn{min-height:44px;flex-shrink:0}.j-page{overflow-wrap:break-word}.j-read-top .j-back{min-height:44px;align-items:center;margin-bottom:4px}.j-read-top{align-items:center}.j-page summary{min-height:44px;align-content:center}.j-sync{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:80;padding:12px 18px;border:1px solid #cbd9e5;border-radius:13px;background:#fff;color:#173451;box-shadow:0 8px 30px #17345122;font-size:13px;max-width:calc(100vw - 32px);width:max-content}.j-sync[hidden]{display:none}.j-sync button{margin-left:10px;min-height:36px}
@media(max-width:700px){
 .j-reader .j-heading h1{font-size:27px;line-height:1.22}.j-prose p,.j-example p{font-size:16px;line-height:1.75}.j-reader .j-heading p{font-size:16px;line-height:1.7}.j-line{margin-bottom:25px}.j-formula{font-size:18px;padding:20px}.j-check{margin-top:28px;padding-top:24px}.j-check input[inputmode]{max-width:100%;font-size:18px;min-height:52px}.j-check .j-actions{align-items:stretch;gap:12px}.j-check .j-actions .primary{flex:1 1 auto}.j-check .text-btn{min-height:44px;padding:10px 4px}.j-options label{min-height:52px;align-items:center}.j-options input{margin-top:0}.j-bottom{margin-top:26px;padding-top:20px;gap:12px}.j-bottom .primary{flex:1;max-width:240px}.j-doors{grid-template-columns:1fr;gap:14px}.j-door{position:relative;padding:22px 22px 22px 78px}.j-door-symbol{position:absolute;left:20px;top:24px;width:40px;height:40px;margin:0}.j-door h2{font-size:28px;margin:8px 0}.j-door .eyebrow{font-size:9px;letter-spacing:1.1px}.j-door p{min-height:0;margin:8px 0;font-size:14px;line-height:1.65}.j-door strong{margin-top:15px;font-size:14px}.j-marks{gap:10px}.j-mark{font-size:11px}.j-draft textarea{font-size:16px;min-height:110px}.j-adjust summary{display:flex;justify-content:space-between;gap:15px;align-items:center}.j-adjust summary span{float:none}.j-choice-row button{min-height:44px}.j-recommend{padding:24px 20px}.j-topic-row{min-height:72px}.j-sources{font-size:13px}.j-types{gap:12px}.j-type{min-width:0}.j-page .j-topics-heading{align-items:start}.j-topics-heading a{min-height:44px;display:flex;align-items:center}.j-awards{grid-template-columns:1fr;gap:10px;margin-bottom:30px}.j-award{display:grid;grid-template-columns:46px 1fr;column-gap:14px;text-align:left;padding:18px}.j-award>span{grid-row:1/3;margin:0}.j-award strong{font-size:15px;align-self:end}.j-award small{font-size:12px;margin-top:5px}.j-complete .primary{width:100%;box-sizing:border-box}.j-sync{bottom:78px}
}
@media(max-width:370px){.j-heading h1{font-size:27px}.j-types{grid-template-columns:1fr}.j-type{min-height:0;padding:18px}.j-type[aria-pressed=true]{padding:17px}.j-marks{align-items:start}.j-mark{flex-direction:column;text-align:center;flex:1;gap:7px}.j-reader .j-heading h1{font-size:25px}.j-recommend .j-actions{align-items:stretch;flex-direction:column}.j-recommend .j-actions .primary{width:100%}}
@media(max-width:700px){
 #main .bok-page input:not([type=radio]):not([type=checkbox]),#main .bok-page select,#main .bok-page textarea,#main .auth-form input:not([type=checkbox]),#main .auth-form select{font-size:16px;min-height:48px}
 #main .bok-page textarea{line-height:1.65}
}
/* Course medals use one shared visual language across course, account and home. */
.j-medal{width:50px;height:62px;flex:none;overflow:visible}.j-ribbon{fill:#e1e8ee;stroke:#aabac8;stroke-width:1.3}.j-disc{fill:#f2f5f8;stroke:#aabac8;stroke-width:1.7}.j-ring{fill:none;stroke:#c2cdd7;stroke-width:1}.j-emblem{fill:none;stroke:#8195a7;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.j-medal.earned .j-ribbon{fill:#244866;stroke:#173451}.j-medal.earned .j-disc{fill:#f2dfaa;stroke:#af873c}.j-medal.earned .j-ring{stroke:#c5a361}.j-medal.earned .j-emblem{stroke:#775923}.j-tick-bg{fill:#173e5b;stroke:white;stroke-width:2}.j-tick{fill:none;stroke:white;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.j-medal-strip{display:block;color:#203b57!important;text-decoration:none!important;border:1px solid #dce5ee;border-radius:18px;padding:16px 22px;margin:0 0 22px;background:#fff;transition:border-color .18s}.j-medal-strip:hover{border-color:#7c9ab5}.j-medal-strip:focus-visible{outline:3px solid #6b9dcc;outline-offset:4px}.j-medal-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px;font-size:12px;color:#637b90}.j-medal-heading>strong{font-weight:600;color:#36516a}.j-medal-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.j-medal-item{display:flex;align-items:center;gap:13px;min-width:0}.j-medal-item strong{display:block;font-size:14px!important;color:#587087}.j-medal-item small{display:block;font-size:11px;margin-top:5px;color:#657b8e}.j-medal-item.earned strong{color:#173451}.j-medal-item.earned small{color:#775923}.j-medal-strip.compact{padding:14px 16px;margin:16px 0 22px;max-width:600px}.j-medal-strip.compact .j-medal{width:36px;height:46px}.j-medal-strip.compact .j-medal-row{gap:8px}.j-medal-strip.compact .j-medal-item{gap:8px}.j-medal-strip.compact .j-medal-item strong{font-size:12px!important}.learning-card>.j-medal-strip{background:#f8fafc}.j-home-recommend>div{min-width:0}.j-home-recommend .j-medal-item strong{margin-top:0}.home-learning>.j-medal-strip{grid-column:1/-1}
.j-award>.j-medal{display:block;width:58px;height:72px;margin:0 auto 16px}.j-award-state{display:block;font-size:11px;font-weight:650;margin-bottom:8px}.j-award>div{min-width:0}
@media(max-width:700px){.j-medal-strip{padding:14px 16px;margin-bottom:20px}.j-medal-row{gap:8px}.j-medal-item,.j-medal-strip.compact .j-medal-item{flex-direction:column;gap:6px;text-align:center}.j-medal{width:40px;height:50px}.j-medal-item strong{font-size:12px!important}.j-medal-item small{font-size:10px;margin-top:3px}.j-medal-strip.compact .j-medal-item strong{font-size:11px!important}.j-medal-heading{font-size:11px;margin-bottom:12px}.j-award{grid-template-columns:52px 1fr;align-items:center}.j-award>.j-medal{width:48px;height:60px;margin:0}.j-award-state{font-size:11px;margin-bottom:5px}.j-award strong{font-size:15px}.j-award small{font-size:12px}}
.j-complete .j-repeat{border-top:1px solid #dce5ee;margin-top:34px;padding-top:24px;text-align:left}.j-repeat h2{font-size:17px;line-height:1.5;margin:0 0 15px;color:#36516a}.j-repeat-option{width:100%;display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #dce5ee;border-radius:15px;text-align:left;color:#203b57;padding:18px 20px;margin:10px 0;cursor:pointer;transition:background .18s,border-color .18s}.j-repeat-option:hover{background:#f3f7fb;border-color:#8ca7be}.j-repeat-option>span:nth-child(2){flex:1;min-width:0}.j-repeat-option strong{display:block;font-size:15px;font-weight:650}.j-repeat-option small{display:block;font-size:13px;line-height:1.6;color:#62768b;margin-top:5px}.j-repeat-icon{width:38px;height:42px;flex:none;display:grid;place-items:center;background:#edf3fa;border-radius:10px;color:#456984}.j-repeat-icon svg{width:23px;height:23px}.j-repeat>.j-muted{font-size:12px!important;margin:16px 0 0}.j-repeat-option>span:last-child{color:#6d8296}@media(max-width:700px){.j-complete{margin-top:12px}.j-complete>img{width:95px;height:95px}.j-repeat-option{padding:16px 14px;gap:12px}.j-repeat-option strong{font-size:14px}.j-repeat-option small{font-size:12px}.j-repeat h2{font-size:16px}.j-complete .j-repeat{margin-top:28px}}
.j-my-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}.j-my-card{padding:25px;border:1px solid #dce5ee;border-radius:22px;background:white;min-width:0;color:#203b57}.j-my-card>.eyebrow{font-size:11px;letter-spacing:1.4px;color:#6c8296}.j-my-card h2{font-size:21px;line-height:1.35;margin:12px 0 20px;letter-spacing:-.4px}.j-my-card h2 a{color:#173451;text-decoration:none;display:flex;gap:15px;justify-content:space-between;align-items:center}.j-my-card h2 a>span{color:#6d869c;font-size:20px}.j-my-card .j-medal-strip{background:#f6f9fc;margin:0 0 24px}.j-my-card .j-medal-item{flex-direction:column;gap:6px;text-align:center}.j-bookmark-heading{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#5f768b;margin-bottom:15px}.j-bookmark-heading strong{font-weight:600}.j-bookmark-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.j-bookmark-counts>div{text-align:center;display:grid;justify-items:center;gap:6px}.j-bookmark-counts svg{width:18px;height:24px;fill:#eaf0f7;stroke:#9ab0c3;stroke-width:1}.j-bookmark-counts text{font-size:12px;font-weight:700;fill:#385973;stroke:none}.j-bookmark-counts strong{font-size:19px}.j-bookmark-counts strong small{font-size:12px;font-weight:400;color:#6d8296}.j-bookmark-counts>div>span{font-size:11px;color:#62798e}.j-my-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e2e9f0;margin-top:24px;padding-top:10px}.j-my-card-footer a{font-size:13px;color:#254e70;text-decoration:none;padding:12px 0}.j-my-card-footer .hide-course{margin:0;min-height:44px;font-size:12px}.j-my-note{color:#647b8f;font-size:12px;line-height:1.8;max-width:780px;margin:24px 0}.j-my-note a{color:#315d80}.j-my-card a:focus-visible{outline:3px solid #6b9dcc;outline-offset:4px}@media(max-width:900px){.j-my-courses{grid-template-columns:1fr}}@media(max-width:700px){.j-my-courses{margin-top:24px;gap:18px}.j-my-card{padding:22px 18px;border-radius:20px}.j-my-card h2{font-size:21px}.j-my-card .j-medal-strip{padding:14px 12px}.j-my-card-footer{gap:8px}.j-my-card-footer a{font-size:12px}.j-bookmark-counts{gap:6px}}
/* One emblem per milestone; color and status communicate progress. */
.j-mark small{display:block;font-size:10px;font-weight:400;margin-top:3px;color:#7d8b98}.j-mark.next{color:#315d80;font-weight:650}.j-mark.next small{color:#315d80}.j-bookmark-counts svg.j-bookmark,.j-mark svg.j-bookmark{width:27px;height:35px;fill:none;stroke:none;overflow:visible}.j-bookmark .j-bookmark-body{fill:#f0f2f5;stroke:#cad1d9;stroke-width:1.2}.j-bookmark .j-bookmark-symbol{fill:none;stroke:#a1abb6;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}.j-bookmark.next .j-bookmark-body{fill:#e8f0f8;stroke:#416d93;stroke-width:1.7}.j-bookmark.next .j-bookmark-symbol{stroke:#416d93}.j-bookmark.earned .j-bookmark-body{fill:#173e5b;stroke:#173e5b}.j-bookmark.earned .j-bookmark-symbol{stroke:#f4dfaa}.j-mark.earned small{color:#496f63}.j-marks{gap:22px}.j-mark{flex:1}.j-bookmark-counts svg.j-bookmark{width:24px;height:31px}
.j-home-status{flex:0 0 240px;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;border-left:1px solid #cfdeeb;padding-left:25px}.j-home-award{display:flex;align-items:center;gap:12px;color:#173451;text-decoration:none;padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #cfdeeb}.j-home-award>.j-medal{width:43px;height:54px}.j-home-award>span:nth-child(2){flex:1}.j-home-award small{font-size:9px;letter-spacing:1px;color:#6b7f90;display:block;margin-bottom:6px}.j-home-award strong{display:block;font-size:17px}.j-home-award>span:last-child{font-size:17px;color:#58768e}.j-home-status .home-streak{display:flex;flex-flow:row nowrap;align-items:center;gap:13px;border:0;padding:0;margin:0;flex:0 0 auto}.j-streak-art{width:48px;height:60px;flex:none}.j-flame{fill:#244d70;stroke:#173451;stroke-width:1.3}.j-flame-core{fill:#e9c77d}.j-spark{fill:none;stroke:#7899b3;stroke-width:1.8;stroke-linecap:round}.j-home-status .home-streak small{display:block;font-size:9px;letter-spacing:1px;color:#6b7f90;margin-bottom:6px}.j-home-status .home-streak strong{display:block;font-size:18px;line-height:1.4;margin:0 0 6px}.j-home-status .home-streak span{display:block;font-size:12px;line-height:1.5}.j-home-status .home-streak .j-streak-scope{font-size:10px;color:#71879a;margin-top:8px}.home-learning>.j-home-status{border-left:0;border-top:1px solid #cfdeeb;padding:20px 0 0;flex:auto}.j-home-award:focus-visible{outline:3px solid #6b9dcc;outline-offset:4px}
@media(max-width:800px){.j-home-recommend{display:block}.j-home-status{border-left:0;border-top:1px solid #cfdeeb;padding:20px 0 0;margin-top:24px}.j-home-award{padding-bottom:16px;margin-bottom:16px}.j-home-status .home-streak{margin-top:0}.j-home-status .home-streak strong{font-size:17px}.j-marks{gap:10px}.j-mark{font-size:11px;line-height:1.4}.j-mark small{font-size:9px}.j-mark svg.j-bookmark{width:24px;height:31px}}

.j-streak-art{width:52px;height:62px}.j-streak-number{fill:#fff6df;font-family:inherit;font-weight:750;stroke:none}.j-home-status .home-streak{gap:12px}

.j-bookmark-star.earned .j-bookmark-symbol{fill:#f4dfaa;stroke:#f4dfaa}

.j-complete-actions{display:flex;justify-content:center;align-items:stretch;gap:12px;flex-wrap:wrap}.j-complete-actions .j-course-return{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 22px;box-sizing:border-box;background:#edf3fa;border:1px solid #b6c9da;border-radius:14px;color:#173451;font-weight:700;text-decoration:none}.j-course-return:hover{background:#e0ebf5}@media(max-width:700px){.j-complete-actions{flex-direction:column}.j-complete-actions>a{width:100%}}

/* A single, quiet celebration on the result that earns a new course medal. */
.j-celebration{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:22px;align-items:center;background:#183653;border:1px solid #294b6b;border-radius:24px;padding:30px 34px;margin:26px 0;text-align:left;color:#fff;isolation:isolate;animation:j-award-arrive .45s ease-out both}
.j-celebration .j-celebration-kicker{color:#edcf8e;font-size:10px;font-weight:750;letter-spacing:1.6px;line-height:1.5;margin:0 0 9px}
.j-celebration h2{font-size:27px;line-height:1.2;letter-spacing:-.6px;color:#fff;margin:0 0 8px}
.j-celebration .j-celebration-course{color:#c4d6e5;font-size:13px;line-height:1.5;margin:0}
.j-celebration-awards{display:grid;gap:16px;margin:22px 0 14px}
.j-celebration-awards>div{display:flex;align-items:center;gap:15px;min-width:0}.j-celebration-awards .j-medal{width:48px;height:59px}.j-celebration-awards strong{display:block;font-size:20px;font-weight:750;color:#f5dfac;line-height:1.3}.j-celebration-awards small{display:block;color:#e0e9f0;font-size:13px;line-height:1.65;margin-top:5px;max-width:370px}
.j-celebration-copy>a{display:inline-flex;align-items:center;gap:18px;min-height:44px;color:#f4da9d;font-size:13px;font-weight:700;text-decoration:none}.j-celebration-copy>a:hover{text-decoration:underline;text-underline-offset:4px}.j-celebration-copy>a:focus-visible{outline:3px solid #f4da9d;outline-offset:4px;border-radius:4px}
.j-celebration-art{position:relative;align-self:center}.j-celebration-art:before{content:'';position:absolute;inset:8% -3%;border-radius:50%;background:#294c6c;z-index:-1}.j-celebration-art img{display:block;width:100%;height:auto;filter:drop-shadow(0 12px 8px #0e22364d);transform-origin:50% 80%;animation:j-award-hop 1.1s .15s ease-in-out both}
.j-celebration-art i{position:absolute;width:6px;height:10px;background:#edd39c;border-radius:2px;z-index:1;animation:j-award-glint 1.2s .2s ease-out both}.j-celebration-art i:nth-child(1){top:5%;left:8%;--dx:-12px;--dy:-20px;transform:rotate(-25deg)}.j-celebration-art i:nth-child(2){top:10%;right:0;--dx:12px;--dy:-24px;transform:rotate(30deg)}.j-celebration-art i:nth-child(3){top:50%;left:-8%;width:5px;height:5px;border-radius:50%;--dx:-15px;--dy:-8px}.j-celebration-art i:nth-child(4){top:61%;right:-8%;width:5px;height:5px;border-radius:50%;--dx:15px;--dy:-8px}
@keyframes j-award-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes j-award-hop{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-13px) rotate(-6deg)}50%{transform:translateY(0) rotate(3deg)}70%{transform:translateY(-5px) rotate(-2deg)}}@keyframes j-award-glint{0%{opacity:0;translate:0 8px;scale:.5}30%{opacity:1;scale:1}100%{opacity:0;translate:var(--dx) var(--dy);scale:.7}}
@media(max-width:700px){.j-celebration{display:block;padding:24px 22px;border-radius:20px;margin:22px 0}.j-celebration-art{position:absolute;right:22px;top:35px;width:73px}.j-celebration .j-celebration-kicker{font-size:9px;letter-spacing:1.1px;max-width:calc(100% - 75px)}.j-celebration h2{font-size:23px;max-width:calc(100% - 83px);letter-spacing:-.4px}.j-celebration .j-celebration-course{font-size:12px;max-width:calc(100% - 83px)}.j-celebration-awards{margin-top:22px;gap:14px}.j-celebration-awards strong{font-size:19px}.j-celebration-awards small{font-size:12px}.j-celebration-awards .j-medal{width:41px;height:51px}.j-celebration-copy>a{font-size:13px}}
@media(prefers-reduced-motion:reduce){.j-celebration,.j-celebration-art img,.j-celebration-art i{animation:none}.j-celebration-art i{display:none}}

/* Optional case selection, local curriculum candidate. */
.j-medal:not(.earned) .j-medal-book{filter:grayscale(1);opacity:.48}
.j-celebration .j-also-earned{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.6;color:#c4d6e5;margin:8px 0 12px}
.j-also-earned .j-bookmark{width:17px;height:23px;flex:none}
.j-also-earned .j-bookmark-body{fill:#37566f;stroke:#6f899e}
.j-bookmark-celebration{display:flex;align-items:center;gap:23px;position:relative;text-align:left;background:#edf4f9;border:1px solid #cbdde9;border-radius:22px;padding:25px 29px;margin:24px 0;color:#193c58;isolation:isolate;animation:j-award-arrive .4s ease-out both}
.j-bookmark-reveal{width:64px;height:85px;flex:none;position:relative;display:grid;place-items:center}
.j-bookmark-reveal>.j-bookmark{width:49px;height:65px;overflow:visible;filter:drop-shadow(0 5px 4px #17345118);transform-origin:50% 15%;animation:j-bookmark-swing .9s ease-out both}
.j-bookmark-reveal .j-bookmark-body{animation:j-bookmark-ink .7s ease-out both}
.j-bookmark-reveal i{position:absolute;width:5px;height:5px;background:#c8a450;transform:rotate(45deg);top:10px;right:0;animation:j-award-glint 1.1s .2s both;--dx:8px;--dy:-12px}
.j-bookmark-reveal i:last-child{top:60px;left:0;right:auto;--dx:-8px;--dy:8px}
.j-bookmark-celebration-copy{flex:1;min-width:0}
.j-bookmark-celebration .j-reward-kicker{font-size:10px;line-height:1.6;font-weight:750;letter-spacing:1px;text-transform:uppercase;color:#52738e;margin:0 0 7px}
.j-bookmark-celebration h2{color:#173e5b;font-size:25px;line-height:1.2;letter-spacing:-.5px;margin:0 0 6px}
.j-bookmark-celebration-copy>p{font-size:13px;color:#5a748b;line-height:1.6;margin:0}
.j-bookmark-celebration .j-bookmark-extra{font-size:12px;margin-top:8px}
.j-bookmark-celebration .j-reward-details{font:inherit;font-size:12px;font-weight:650;color:#315f83;border:0;box-shadow:none;background:transparent;padding:10px 0;min-height:40px;display:flex;align-items:center;gap:16px;cursor:pointer;text-align:left}
.j-reward-details:hover{color:#183653;text-decoration:underline;text-underline-offset:4px}
.j-bookmark-friend{width:38px;height:42px;flex:none;transform:rotate(8deg);animation:j-bookmark-peek .75s .2s ease-out both}
.j-complete .j-bookmark-celebration{max-width:650px;margin:25px auto}
.j-daily-goal{border-top:1px solid #cbdde9;margin-top:25px;padding-top:17px;display:grid;grid-template-columns:1fr auto;column-gap:18px;row-gap:8px;max-width:580px}
.j-daily-goal strong{font-size:13px;color:#244b69;display:block;line-height:1.5}.j-daily-goal span{font-size:11px;color:#607c91;line-height:1.5}
.j-daily-dots{display:flex;align-items:center;gap:5px}.j-daily-dots>span{width:22px;height:22px;border:1px solid #b5c9da;border-radius:8px;background:#e0eaf3;display:grid;place-items:center;transition:background .25s}
.j-daily-dots>span.done{background:#234d6d;border-color:#234d6d}.j-daily-dots svg{width:15px;height:15px;stroke:#f3d48b;fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.j-daily-goal.done .j-daily-dots>span{background:#dfece7;border-color:#b3d0c4}.j-daily-goal.done .j-daily-dots svg{stroke:#327059}
.j-daily-goal>p{grid-column:1/-1;font-size:10px!important;line-height:1.55!important;color:#637d91!important;margin:0!important;max-width:460px}
.j-next-bookmark{display:flex;align-items:center;gap:14px;border:1px solid #d3e1eb;border-radius:16px;background:#eff5f9;padding:17px 20px;margin:-7px 0 24px;width:100%;box-sizing:border-box;color:#264c69;box-shadow:none;font:inherit;text-align:left;cursor:pointer}
.j-next-bookmark:hover{border-color:#92adc3;background:#e9f1f7}
.j-next-bookmark>.j-bookmark{width:29px;height:38px;flex:none}.j-next-bookmark>span:nth-child(2){flex:1;min-width:0}.j-next-bookmark strong{display:block;font-size:15px;line-height:1.6}.j-next-bookmark small{display:block;font-size:10px;color:#62819a}.j-next-bookmark>span>span{display:block;font-size:11px;color:#60798e;line-height:1.6}.j-next-arrow{font-size:20px;color:#527995}
.j-next-bookmark.complete{cursor:default}.j-self-review>.j-bookmark-celebration{margin-top:0}
@keyframes j-bookmark-swing{0%{opacity:0;transform:translateY(-12px) rotate(-9deg) scale(.85)}55%{opacity:1;transform:translateY(2px) rotate(5deg) scale(1.04)}80%{transform:rotate(-2deg)}100%{transform:none;opacity:1}}
@keyframes j-bookmark-ink{0%{fill:#e2eaf1;stroke:#97adbf}100%{fill:#173e5b;stroke:#173e5b}}
@keyframes j-bookmark-peek{0%{opacity:0;transform:translateY(8px) rotate(-5deg)}70%{opacity:1;transform:translateY(-3px) rotate(12deg)}100%{opacity:1;transform:translateY(0) rotate(8deg)}}
@media(max-width:700px){.j-bookmark-celebration{padding:22px 17px;gap:14px;border-radius:18px}.j-bookmark-reveal{width:43px;height:64px}.j-bookmark-reveal>.j-bookmark{width:37px;height:49px}.j-bookmark-celebration h2{font-size:21px}.j-bookmark-celebration .j-reward-kicker{font-size:9px;letter-spacing:.6px}.j-bookmark-celebration-copy>p{font-size:12px}.j-bookmark-friend{width:25px;height:29px;align-self:flex-start;margin-top:7px}.j-daily-goal{gap:10px;margin-top:20px;padding-top:15px}.j-daily-dots{gap:4px}.j-daily-dots>span{width:19px;height:19px;border-radius:6px}.j-daily-goal strong{font-size:12px}.j-next-bookmark{padding:15px 16px;gap:12px}.j-next-bookmark strong{font-size:14px}.j-celebration .j-also-earned{font-size:11px}}
@media(prefers-reduced-motion:reduce){.j-bookmark-celebration,.j-bookmark-reveal>.j-bookmark,.j-bookmark-reveal .j-bookmark-body,.j-bookmark-reveal i,.j-bookmark-friend{animation:none}.j-bookmark-reveal i{display:none}.j-daily-dots>span{transition:none}}
.j-case-choices{display:grid;gap:8px;padding:16px 0}.j-case-choices button{font:inherit;text-align:left;color:#23425f;background:#fff;border:1px solid #d8e3ef;padding:12px 16px;border-radius:12px;cursor:pointer;min-height:44px}.j-case-choices button[aria-pressed="true"]{background:#eaf2fa;border-color:#315d87;font-weight:700}.j-case-choices button:focus-visible{outline:3px solid #72a3d3;outline-offset:2px}

/* One topic, one mixed session: clear phases without a premature result screen. */
.j-mix-progress{display:flex;align-items:center;gap:18px;margin:0 0 24px;padding:14px 18px;border:1px solid #d9e4ed;border-radius:14px;background:#f1f6fa;color:#667d91;font-size:14px}
.j-mix-progress span{display:flex;align-items:center;gap:8px}.j-mix-progress b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e0e9f1;font-size:12px}
.j-mix-progress [aria-current]{color:#193b59;font-weight:700}.j-mix-progress [aria-current] b{background:#193b59;color:white}.j-mix-progress .done b{background:#deeee7;color:#28674f}
.j-mix-recap{margin:24px 0;padding:20px;border-radius:14px;background:#f1f6fa}.j-mix-recap h2{margin-top:0}.j-mix-recap summary{cursor:pointer;font-weight:600;padding:10px 0}.j-mix-recap .review-item{background:white}.j-mix-recap>details>h2{display:none}
.bok-actions>a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:520px){.j-mix-progress{gap:10px;padding:12px;font-size:12px}.j-mix-progress span{gap:6px}.j-mix-recap{padding:16px}.bok-actions>a{width:100%}}

/* Requirements on demand, using the existing topic bookmark symbols. */
.j-mark.j-guidance-trigger{appearance:none;border:0;background:transparent;font-family:inherit;text-align:left;padding:8px 5px;min-height:48px;border-radius:10px;cursor:help;box-shadow:none;line-height:1.45}
.j-mark.j-guidance-trigger:hover,.j-guidance-trigger[aria-expanded=true]{background:#eaf1f8}
.j-bookmark-counts>.j-guidance-trigger{appearance:none;border:0;background:transparent;box-shadow:none;font-family:inherit;color:inherit;display:grid;justify-items:center;gap:6px;text-align:center;padding:8px 4px;border-radius:10px;min-width:0;cursor:help}
.j-bookmark-counts>.j-guidance-trigger>span{font-size:11px;color:#62798e;line-height:1.45}.j-bookmark-counts>.j-guidance-trigger:hover,.j-bookmark-counts>.j-guidance-trigger[aria-expanded=true]{background:#eaf1f8}
.j-guidance-trigger:focus-visible{outline:3px solid #6b9dcc;outline-offset:3px}
.j-guidance-popover{position:fixed;z-index:10000;width:338px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;background:#fff;color:#203b57;border:1px solid #c5d4e2;border-radius:17px;padding:23px;box-shadow:0 12px 38px #17345124;text-align:left;font-family:inherit;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.j-guidance-popover h3{font-size:19px;line-height:1.25;letter-spacing:-.3px;margin:7px 24px 12px 0;color:#173451}.j-guidance-popover p{margin:0 0 17px}.j-guidance-kicker{display:block;font-size:9px;font-weight:750;letter-spacing:1px;color:#54718c;padding-right:25px}
.j-guidance-close{position:absolute;right:8px;top:7px;display:grid;place-items:center;min-width:36px;min-height:36px;border:0;background:transparent;border-radius:8px;font-family:inherit;font-size:25px;line-height:1;color:#62798e;cursor:pointer;box-shadow:none}.j-guidance-close:hover{background:#edf3fa}.j-guidance-close:focus-visible{outline:3px solid #6b9dcc;outline-offset:1px}
.j-guidance-progress{display:grid;gap:16px;margin:20px 0}.j-guidance-metric>div:first-child{display:flex;justify-content:space-between;gap:14px;font-size:12px;line-height:1.45;margin-bottom:7px}.j-guidance-metric strong{white-space:nowrap;font-size:12px;font-weight:700;color:#214e70}.j-guidance-track{height:5px;border-radius:5px;background:#e5edf4;overflow:hidden}.j-guidance-track>span{display:block;height:100%;background:#376c92;border-radius:inherit}.j-guidance-popover .j-guidance-note{font-size:11px;line-height:1.65;color:#63798d;margin:12px 0 0}
@media(max-width:700px){.j-marks{gap:5px}.j-mark.j-guidance-trigger{padding:8px 3px;gap:6px;max-width:none;min-width:0;font-size:10px}.j-mark.j-guidance-trigger>span{min-width:0}.j-guidance-popover{padding:21px;font-size:12px}.j-guidance-popover h3{font-size:18px}.j-guidance-close{min-width:40px;min-height:40px}}

/* Intentional play: navy actions; gold reserved for earned rewards and small next-goal details. */
.j-page{--j-accent-edge:#c7ab67;--j-accent-ink:#7b5b20}
.j-page .primary{background:#173451;color:#fff;border-bottom-color:#0b2038;transition:background .15s,transform .15s,box-shadow .15s;box-shadow:0 3px 0 #17345105}
.j-page .primary:hover:not(:disabled){background:#234966;box-shadow:0 5px 12px #1734511a;transform:translateY(-1px)}
.j-page .primary:active:not(:disabled){transform:translateY(2px);box-shadow:none}
.j-page .primary:disabled{background:#e5eaf0;border-color:#c7d3de;color:#677c90;opacity:1}
.j-line{height:5px}.j-line>span{background:#3e739f}
.j-topic-row:hover .j-topic-number:not(.earned){background:#e6eff7;border-color:#8faac0;color:#244b69}
.j-type{position:relative;transition:background .16s,border-color .16s}
.j-type strong{padding-right:26px}
.j-type[aria-pressed=true]{background:#fff;border-color:#244c70}
.j-type-check{position:absolute;top:17px;right:17px;display:none;place-items:center;width:20px;height:20px;border-radius:50%;background:#244c70;color:#fff}
.j-type-check svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.j-type[aria-pressed=true] .j-type-check{display:grid}
@media(hover:hover) and (pointer:fine){.j-type:hover{background:#edf3fa;border-color:#9baebd}.j-type[aria-pressed=true]:hover{border-color:#244c70}}
.j-type:focus-visible{background:#edf3fa}
.j-choice-row button[aria-pressed=true]{background:#173451;color:#fff;border-color:#173451}
.j-next-bookmark{background:#f5f8fb;border-color:#d6e2ec;border-left:3px solid var(--j-accent-edge)}
.j-next-bookmark:hover{background:#edf3f8;border-color:#b7ccdc;border-left-color:var(--j-accent-edge)}
.j-next-bookmark .j-next-arrow{color:#527995}
.j-door:hover .j-door-symbol{background:#e2edf6;border-color:#7d9fb9}
.j-medal-strip:hover{border-color:#dce5ee}
.j-medal-heading>a{font-size:12px;font-weight:650;text-decoration:none;padding:8px 0;min-height:36px;display:flex;align-items:center;gap:8px}
.j-medal-heading>a:hover{text-decoration:underline;text-underline-offset:4px}
.j-medal-row{gap:10px;align-items:stretch}
.j-medal-item{appearance:none;font:inherit;text-align:left;cursor:pointer;border:1px solid transparent;border-radius:14px;background:transparent;color:inherit;padding:12px;box-shadow:none;transition:background .16s,border-color .16s,transform .16s}
.j-medal-item.next{background:#f6f9fc;border-color:#dce5ee}
.j-medal-item:hover,.j-medal-item[aria-expanded=true]{background:#f0f5fa;border-color:#b8ccdc}
.j-medal-item.earned:hover,.j-medal-item.next:hover,.j-medal-item.earned[aria-expanded=true],.j-medal-item.next[aria-expanded=true]{background:#edf3f8;border-color:#b8ccdc}
.j-medal-item:focus-visible,.j-award:focus-visible{outline:3px solid #648eb1;outline-offset:3px}
.j-medal-next-label{display:table;color:var(--j-accent-ink);background:#faf0d8;border-radius:5px;padding:3px 6px;font-size:10px;font-weight:700;margin-top:7px}
.j-medal-tip{font-size:11px!important;color:#697f92!important;margin:13px 0 0!important;line-height:1.6!important}
.j-medal-strip.compact .j-medal-item{padding:8px 5px}
.j-medal-strip.compact .j-medal-tip{font-size:10px!important}
.j-award{font:inherit;border:1px solid transparent;cursor:pointer;box-shadow:none}
.j-award:hover,.j-award[aria-expanded=true]{border-color:#8ca8be}
.j-medal-next{background:#f3f7fa;border:1px solid #dae4ed;border-left:3px solid #c7ab67;border-radius:12px;padding:15px;margin:17px 0}
.j-medal-next>small{display:block;font-size:9px;letter-spacing:.7px;color:#806534;font-weight:700;line-height:1.5}
.j-medal-next>strong{display:block;font-size:14px;color:#244862;margin:5px 0}
.j-medal-next>span{display:block;font-size:11px;color:#5d758a}
.j-medal-next>a{display:inline-flex;align-items:center;gap:14px;font-size:12px;font-weight:700;color:#294f70;margin-top:7px;min-height:38px;text-decoration:none}
.j-medal-next>a:hover{text-decoration:underline;text-underline-offset:3px}
.j-medal-next>a:focus-visible{outline:3px solid #6b9dcc;outline-offset:3px}
.j-bookmark-celebration{background:#f5f8fb;border-color:#d6e3ed;padding-right:24px}
.j-bookmark-friend{width:120px;height:130px;position:relative;flex:0 0 120px;transform:none;animation:none;isolation:isolate}
.j-bookmark-friend:before{content:'';position:absolute;inset:13px 2px 10px;background:#e3edf6;border-radius:50%;z-index:-1}
.j-bookmark-friend>img{width:100%;height:100%;object-fit:contain;display:block;margin:0;filter:drop-shadow(0 7px 4px #19395615);transform-origin:50% 85%;animation:j-bookmark-cheer 1.05s .12s ease-in-out both}
.j-bookmark-friend>i{position:absolute;top:10px;left:3px;width:6px;height:9px;background:#c49e50;border-radius:2px;animation:j-award-glint 1.2s .25s both;--dx:-14px;--dy:-16px}
.j-bookmark-friend>i:nth-child(2){left:auto;right:0;top:36px;--dx:13px;--dy:-12px}
.j-feedback.done:has(.j-feedback-friend){position:relative;padding-right:94px;min-height:88px}
.j-feedback-friend{position:absolute;right:14px;top:14px;width:64px;height:64px;object-fit:contain;animation:j-response-pop .45s ease-out both}
.j-feedback.done{border:1px solid #cce2d7}
@keyframes j-bookmark-cheer{0%,100%{transform:none}24%{transform:translateY(-10px) rotate(-5deg)}48%{transform:translateY(1px) rotate(3deg) scale(1.02,.98)}70%{transform:translateY(-4px) rotate(-2deg)}}
@keyframes j-response-pop{0%{opacity:0;transform:translateY(5px) scale(.92)}70%{opacity:1;transform:translateY(-3px) scale(1.03)}100%{opacity:1;transform:none}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .j-medal-item:hover .j-medal{animation:j-medal-nod .35s ease-out}
 .j-recommend:has(.primary:hover)>img{animation:j-mascot-nod .55s ease-in-out}
}
@keyframes j-medal-nod{0%,100%{transform:none}45%{transform:translateY(-3px) rotate(-3deg)}}
@keyframes j-mascot-nod{0%,100%{transform:none}40%{transform:translateY(-5px) rotate(3deg)}70%{transform:translateY(-2px) rotate(-1deg)}}
@media(max-width:700px){
 .j-medal-strip{padding:15px 12px}.j-medal-row{gap:5px}
 .j-medal-item{padding:11px 4px;min-height:132px;justify-content:flex-start;border-radius:11px}
 .j-medal-item strong{font-size:11px!important}.j-medal-item small{font-size:10px}
 .j-medal-heading{gap:5px}.j-medal-heading>a{font-size:10px;gap:4px}
 .j-medal-next-label{font-size:9px;margin-top:5px}.j-medal-tip{font-size:10px!important}
 .j-bookmark-celebration{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:24px 18px}
 .j-bookmark-reveal{width:38px;align-self:start;margin-top:17px}
 .j-bookmark-celebration-copy{padding-right:54px}
 .j-bookmark-celebration h2{font-size:23px;line-height:1.2}
 .j-bookmark-friend{position:absolute;right:8px;top:44px;width:65px;height:76px;margin:0}
 .j-bookmark-friend:before{inset:10px 0 7px}
 .j-bookmark-celebration .j-reward-kicker{font-size:9px;letter-spacing:.4px}
 .j-feedback.done:has(.j-feedback-friend){padding-right:78px}.j-feedback-friend{width:50px;height:50px;right:12px}
}
@media(prefers-reduced-motion:reduce){
 .j-page .primary,.j-medal-item{transition:none;transform:none!important}
 .j-medal-item .j-medal,.j-recommend>img,.j-bookmark-friend>img,.j-bookmark-friend>i,.j-feedback-friend{animation:none!important}
 .j-bookmark-friend>i{display:none}
}

/* Consistent navy forward actions in quiz and case summaries. */
#main .result-buttons .primary,#main .bok-actions .primary{background:#173451;color:#fff;border-color:#0b2038}
#main .result-buttons .primary:hover,#main .bok-actions .primary:hover{background:#234966}
@media(max-width:700px){.j-medal-next-label{margin-left:auto;margin-right:auto}.j-type-check{top:14px;right:14px;width:18px;height:18px}.j-type strong{padding-right:23px}}
@media(prefers-reduced-motion:reduce){.j-type{transition:none}}

/* Small, action-led progress moments. No looping motion or interaction delays. */
.j-session-progress{border:1px solid #dce6ee;border-radius:19px;background:#f5f8fb;padding:25px 28px;margin:24px 0;color:#203b57;text-align:left}
.j-session-progress header{margin:0 0 16px}.j-session-kicker{font-size:10px;font-weight:750;letter-spacing:1.3px;color:#668198}
.j-session-progress h2{font-size:23px;line-height:1.3;letter-spacing:-.4px;margin:6px 0!important;color:#203b57}
.j-session-progress header>p{font-size:12px!important;margin:0!important;color:#61798d!important;line-height:1.6!important}
.j-session-change{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0 3px;border-top:1px solid #dce6ee}
.j-session-change+.j-session-change{margin-top:17px}.j-session-change>div:first-child{max-width:340px}
.j-session-change strong{display:block;font-size:14px;line-height:1.6;font-weight:650}
.j-session-added{display:inline-block;margin-top:6px;font-size:12px;color:#2e6b55;font-weight:650}
.j-before-after{display:flex;align-items:center;gap:12px;flex-shrink:0}.j-before-after>span:not(.j-change-arrow){min-width:32px;text-align:center}
.j-before-after small{display:block;font-size:10px;color:#688195;margin-bottom:4px}.j-before-after b{font-size:27px;line-height:1.2;color:#7590a5;font-variant-numeric:tabular-nums;font-weight:600}
.j-before-after .j-count-after b{color:#173b58}.j-count-after{animation:j-count-arrive .45s .15s both}
.j-change-arrow{width:37px;height:20px;position:relative;margin-top:17px}.j-change-arrow i{position:absolute;left:0;right:3px;top:9px;height:2px;background:#496f8d;transform-origin:left;animation:j-draw-line .45s ease-out both}
.j-change-arrow svg{position:absolute;right:0;top:0;width:12px;height:20px;fill:none;stroke:#496f8d;stroke-width:1.8;animation:j-count-arrive .3s .2s both}
.j-session-note{font-size:11px!important;color:#6a7f90!important;line-height:1.7!important;margin:20px 0 0!important}
.j-session-repeat{display:flex;align-items:start;gap:16px}.j-session-repeat h2{font-size:18px}.j-session-repeat p{font-size:13px!important;line-height:1.7!important;margin:8px 0!important;color:#526e84!important}.j-session-repeat small{font-size:11px;color:#6b8294}
.j-progress-tick{width:34px;height:34px;border-radius:50%;background:#e4f0eb;color:#427b65;display:grid;place-items:center;flex-shrink:0;margin-top:4px}.j-progress-tick svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.j-step-done{display:flex;align-items:center;gap:9px;margin:0 0 15px;padding-bottom:12px;border-bottom:1px solid #cfe1d7;font-size:12px;font-weight:650;color:#37644f}
.j-step-done>svg{width:24px;height:24px;flex-shrink:0;fill:none;stroke:#528971;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.j-step-done>svg circle{fill:#e4f2e9;stroke:#b6d7c6}.j-step-done small{margin-left:7px;color:#6b8578;font-size:10px;font-weight:400}
.j-step-done.is-new>svg path{stroke-dasharray:25;stroke-dashoffset:0;animation:j-check-draw .4s ease-out both}
.j-line>.j-just-filled{transform-origin:left;animation:j-learn-fill .45s ease-out both}
.j-comeback{display:flex;align-items:center;gap:12px;border-top:1px solid #c9ddd3;padding-top:13px;margin-top:18px;color:#224c3d}
.j-comeback img{display:block;width:64px!important;height:66px!important;object-fit:contain;flex:none;margin:0!important;transform-origin:50% 85%;animation:j-comeback-nod .75s ease-out both}
.j-comeback strong{display:block;font-size:14px!important;line-height:1.5}.j-comeback span{display:block;font-size:12px;line-height:1.6;margin-top:3px;color:#567367}
@keyframes j-check-draw{from{stroke-dashoffset:25}to{stroke-dashoffset:0}}
@keyframes j-learn-fill{from{transform:scaleX(var(--j-from,0))}to{transform:scaleX(1)}}
@keyframes j-draw-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes j-count-arrive{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@keyframes j-comeback-nod{0%,100%{transform:none}28%{transform:translateY(-4px) rotate(-4deg)}58%{transform:translateY(1px) rotate(2deg)}78%{transform:translateY(-2px)}}
@media(max-width:700px){.j-session-progress{padding:20px 18px}.j-session-progress h2{font-size:21px}.j-session-change{gap:13px}.j-session-change strong{font-size:13px}.j-before-after{gap:8px}.j-before-after b{font-size:23px}.j-change-arrow{width:25px}.j-session-repeat{gap:12px}.j-session-repeat h2{font-size:17px}.j-comeback img{width:54px!important;height:58px!important}}
@media(max-width:370px){.j-session-change{align-items:start;flex-direction:column}.j-before-after{align-self:flex-end}.j-session-change+.j-session-change{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.j-count-after,.j-change-arrow i,.j-change-arrow svg,.j-step-done.is-new>svg path,.j-line>.j-just-filled,.j-comeback img{animation:none!important}}

/* Visible session choices, same visual language as the existing topic pages. */
.j-settings h2{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:18px;margin:0;padding:20px 22px;border-bottom:1px solid var(--line,#dce5ee)}
.j-settings h2 span{font-size:13px;font-weight:500;color:#587189}.j-settings fieldset{padding:18px 22px;margin:0;border:0}.j-settings>p{padding:0 22px 18px}.j-settings legend{font-weight:700;font-size:15px;padding-top:16px}.j-settings .j-choice-row{gap:8px}.j-settings .j-choice-row button{min-height:44px}.j-start button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:600px){.j-settings h2,.j-settings fieldset{padding-left:16px;padding-right:16px}.j-settings h2 span{width:100%}.j-settings .j-choice-row{flex-wrap:wrap}.j-settings .j-choice-row button{flex:1 1 auto}}

.j-session-setup .j-types{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.j-session-setup .j-type{padding:16px 12px;min-height:106px}.j-session-setup .j-type strong{font-size:16px}.j-session-setup .j-type small{font-size:13px;line-height:1.45}.j-session-setup .j-heading{margin-bottom:18px}.j-session-setup .j-heading h1{font-size:30px}.j-session-setup .j-heading p{font-size:15px}.j-session-setup .j-start{margin-bottom:24px}.j-session-setup .j-type-check{width:17px;height:17px;top:9px;right:9px}
@media(max-width:700px){.j-session-setup .j-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.j-session-setup .j-type{min-height:86px;padding:14px}.j-session-setup .j-type small{font-size:12px}.j-session-setup .j-heading h1{font-size:27px}.j-session-setup .j-settings fieldset{padding-top:10px;padding-bottom:12px}}

@media(max-width:700px){#main .j-session-setup .j-types{grid-template-columns:repeat(2,minmax(0,1fr))!important}#main .j-session-setup .j-type{padding:14px!important;min-height:98px!important}#main .j-session-setup .j-type small{font-size:13px!important;line-height:1.4!important}#main .j-session-setup .j-type strong{font-size:15px!important;margin-right:16px}#main .j-session-setup .j-type-check{top:10px;right:8px}#main .j-session-setup .j-settings .j-choice-row button{font-size:14px!important;min-height:44px}}

/* One clear main action: gold starts a session; blue remains the selection color. */
#main #j-start.primary:not(:disabled),#main #startBtn.primary:not(:disabled){background:#f1d38c;color:#193451;border-color:#d7b56c;box-shadow:0 3px 0 #d5b46e}
#main #j-start.primary:hover:not(:disabled),#main #startBtn.primary:hover:not(:disabled){background:#f6dfa5;color:#193451;box-shadow:0 4px 0 #d5b46e;transform:translateY(-1px)}
#main #j-start.primary:focus-visible,#main #startBtn.primary:focus-visible{outline:3px solid #193451;outline-offset:4px}
#main #j-start.primary:disabled,#main #startBtn.primary:disabled{background:#e5eaf0;color:#677c90;border-color:#c7d3de;box-shadow:none;opacity:1}

/* Gold guides the next learning action; navigation and alternatives stay quiet. */
#main :is(#submitAnswer,#caseNext,#caseForm button[type="submit"],#j-next,#j-self,#j-reviewed,.j-check button[type="submit"],.result-buttons>.primary,.bok-actions>.primary,.j-complete-actions>.primary):not(:disabled){background:#f1d38c;color:#193451;border-color:#d7b56c;box-shadow:0 3px 0 #d5b46e}
#main :is(#submitAnswer,#caseNext,#caseForm button[type="submit"],#j-next,#j-self,#j-reviewed,.j-check button[type="submit"],.result-buttons>.primary,.bok-actions>.primary,.j-complete-actions>.primary):hover:not(:disabled){background:#f6dfa5;color:#193451}
#main :is(#submitAnswer,#caseNext,#caseForm button[type="submit"],#j-next,#j-self,#j-reviewed,.j-check button[type="submit"]):focus-visible{outline:3px solid #193451;outline-offset:4px}

.case-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.case-choice{padding:24px;border:1px solid #d5e3ee;border-radius:20px;background:white;display:flex;flex-direction:column;gap:12px;min-width:0}.case-choice h2{font-size:23px}.case-choice p{line-height:1.65}.case-choice button{margin-top:auto;align-self:flex-start}.case-frame{width:100%;border:0;min-height:600px}.interactive-context span{font-size:14px;line-height:1.5}@media(max-width:700px){.case-choice-grid{grid-template-columns:1fr}.case-choice{padding:20px}.interactive-context{flex-wrap:wrap}.interactive-context span{font-size:13px}}

/* Reserve selected border space so practice modes never shift. */
.j-session-setup .j-type{border-width:2px}

/* Result panels are inserted above the exercise frame. Do not keep the old
   exercise position as a scroll anchor when the completion view appears. */
.j-case-session{overflow-anchor:none}
