*{box-sizing:border-box}
:root{font-family:"Inter","Avenir Next","Segoe UI",Arial,sans-serif;font-size:16px;color:#1d203e;background:#f7f8fd;--ink:#1d203e;--muted:#666c86;--violet:#6746e8;--line:#e5e7f1;--shadow:0 3px 7px #28205c03,0 1px 2px #28205c03}
body,h1,h2,h3,p{margin:0}
button,a,input,select{font:inherit;color:inherit}
button,a,select{cursor:pointer;-webkit-tap-highlight-color:transparent}
button{border:0;background:none;padding:0}
button,a{transition:background .16s,color .16s,box-shadow .16s,transform .16s}
a{text-decoration:none}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #a99bf9;outline-offset:3px}
svg{flex-shrink:0;vertical-align:middle}
#head{background:white;border-bottom:1px solid #e9eaf4}
.wrap,main{width:min(1160px,91%);margin:auto}
.top,nav,.brand,nav button,.profile,.select,.heading,.actions,.btn,.eyebrow,.eyebrow span,.panelTitle,.row,.tile,.legend,.legend span,.shortcut,.back,.split,.tabs,.search,.toolbar,.quizTitle,.choice,.feedback,.answer,.why,.end,.doc,.scaleRow,summary,.marks,.skillrow,.pick,.rubric b,.count,.sample{display:flex;align-items:center}
.top{height:80px;justify-content:space-between;gap:24px}
.brand{font-weight:800;font-size:1.42rem;letter-spacing:-1px;gap:9px;white-space:nowrap}
.brand img{width:42px}
nav{height:100%;gap:clamp(20px,2.7vw,44px)}
nav button,.profile{gap:9px;font-weight:600;font-size:.95rem;white-space:nowrap}
nav button{height:100%;color:#636981;position:relative}
nav button.on,nav button:hover,.textlink,.back:hover,.profile:hover{color:var(--violet)}
nav button.on:after{content:"";height:3px;bottom:-1px;position:absolute;left:0;right:0;background:var(--violet);border-radius:4px}
.profile{font-size:.9rem;gap:10px}
.profile>svg,.row>svg{color:#888da1}
.avatar{background:#eae5ff;position:relative;border-radius:50%;width:39px;height:39px;overflow:hidden;border:1px solid #dfd8ff}

main{padding:34px 0 56px}
.heading,.split,.toolbar,.quizTitle{justify-content:space-between;gap:20px}
.heading{margin-bottom:23px}
h1,h2,h3{letter-spacing:-.035em;line-height:1.2}
h1{font-size:2.2rem;font-weight:750}
h2{font-size:1.35rem;font-weight:700}
h3{font-size:1.06rem}
small,.guide,form p{font-size:.87rem;line-height:1.45;color:var(--muted)}
.select{position:relative;background:#fff;border-radius:12px;box-shadow:var(--shadow)}
select{appearance:none;outline:none;border:1px solid #dfe1ed;border-radius:11px;padding:12px 42px 12px 14px;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='17' height='17'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23535a73' fill='none' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;color:var(--ink);font-size:.94rem;font-weight:600;max-width:100%;text-overflow:ellipsis}
.grade select{padding:12px 39px 12px 46px;background:none}
.grade svg{position:absolute;pointer-events:none;left:15px;color:var(--violet)}
.grade svg:last-child{left:auto;right:13px;color:#525977}
.hero{border-radius:23px;background:linear-gradient(108deg,#eeeaff 0%,#ebe6ff 47%,#e1dcff 100%);position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:229px}

.heroCopy{padding:32px 38px;width:60%}
.eyebrow{color:#6252a9;font-size:.94rem;font-weight:550;gap:14px}
.eyebrow span{font-size:.86rem;gap:7px;padding:7px 11px;border-radius:8px;color:#583bc9;font-weight:700;background:#ffffffbf}
.hero h2{font-size:clamp(1.7rem,2.35vw,2.1rem);margin:16px 0 25px;letter-spacing:-.038em}
.actions,.end{gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;justify-content:center;gap:9px;font-size:.953rem;font-weight:650;padding:0 20px;min-height:46px;border-radius:12px;line-height:1.25}
.btn.primary{background:var(--violet);color:white;box-shadow:0 3px 5px #593de01a}
.btn.primary:hover{background:#5330d4;transform:translateY(-1px)}
.btn.secondary{background:#fff;border:1px solid #dfe1ef;color:#383953}
.hero .btn.secondary{border-color:transparent;color:#4c398f}
.btn.secondary:hover,.doc:hover,.choice:not(:disabled):hover{background:#f5f2ff;border-color:#9984f5;color:#5335cc}
.dashboard,.two,.below,.papers{display:grid;grid-template-columns:1.65fr 1fr;gap:24px;margin-top:24px}
.panel,dialog{background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;padding:26px;min-width:0}
.panelTitle{gap:12px;min-height:28px}
.textlink{font-weight:650;font-size:.92rem;margin-left:auto;white-space:nowrap}
.textlink:hover{text-decoration:underline}
.sample{gap:5px;font-size:.8rem;color:#6d7189;background:#f4f5fa;padding:5px 9px;border-radius:7px}
.sample:hover{color:var(--violet)}
.graph{display:flex;flex-direction:column}
.plot{min-height:188px;margin:45px 6px 47px 30px;position:relative;flex:1}
.gridline{position:absolute;left:0;right:0;height:1px;border-top:1px dashed #dee1ee;pointer-events:none}
.gridline:first-child{border-top-style:solid}
.gridline span{position:absolute;right:calc(100% + 13px);font-size:.81rem;color:#737990;transform:translateY(-55%)}
.bars{position:absolute;inset:0;display:flex;justify-content:space-around}
.column{flex:1;height:100%;max-width:98px;position:relative;display:flex;align-items:end;justify-content:center}
.bar{width:52%;max-width:40px;background:var(--status);border-radius:7px 7px 0 0;position:relative;transition:opacity .16s}
.column:hover .bar{opacity:.78}
.column small{position:absolute;top:calc(100% + 9px);font-size:.82rem;color:#626880;font-weight:500}
.bar b{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);font-size:.9rem}
.l0{--status:#f26069;--tone:#b42c3d;--tint:#fff0f1}
.l1{--status:#ff9f3e;--tone:#aa560e;--tint:#fff2e4}
.l2{--status:#32bf88;--tone:#08754c;--tint:#e2f9ee}
.l3{--status:#428af6;--tone:#245ebd;--tint:#eaf3ff}
.legend{flex-wrap:wrap;gap:12px 20px;justify-content:space-between;color:#555c75;font-size:.86rem;padding-top:18px;border-top:1px solid #eef0f6}
.legend span,.rubric b{gap:8px}
.dot{display:inline-block;border-radius:50%;background:var(--status);width:10px;height:10px;flex-shrink:0}
.row{gap:14px;text-align:left;width:100%;padding:15px 0;border-bottom:1px solid #eceef6}
.row:hover .rowtext b,.shortcut:hover,.entry:hover .rowtext b{color:var(--violet)}
.row:last-child{border-bottom:0;padding-bottom:0}
.rowtext{flex:1;min-width:0}
.rowtext b,.rowtext small,.shortcut small{display:block}
.rowtext b{font-weight:650;font-size:.98rem;line-height:1.35;letter-spacing:-.02em}
.rowtext small,.shortcut small{margin-top:3px;font-size:.84rem;font-weight:450}
.tile{flex:0 0 45px;height:45px;border-radius:13px;justify-content:center;font-weight:800;letter-spacing:-1px;font-size:1.05rem}
.t0{background:#f0ebff;color:#7049ee}.t1{background:#e7f2ff;color:#3b82ec}.t2{background:#ffefdf;color:#ed822e}.t3{background:#dff9ee;color:#16a477}
.recent .panelTitle{margin-bottom:7px}
.below,.papers{grid-template-columns:1fr 1fr}
.shortcut{gap:18px;text-align:left;font-weight:650;padding:21px 26px}
.shortcut svg{color:var(--violet)}
.shortcut svg:last-child,summary>svg{margin-left:auto}
.back{gap:5px;margin-bottom:24px;font-size:.96rem;color:#555e7d;font-weight:600}
.tabs{gap:4px;padding:5px;border:1px solid var(--line);border-radius:13px;background:#eff0f8;width:fit-content;max-width:100%}
.tabs button{font-size:.93rem;padding:10px 16px;color:#656a82;border-radius:9px;font-weight:600}
.tabs .active{background:#fff;box-shadow:0 1px 4px #21204c14;color:var(--violet)}
.library,.skills,.history,.space,aside .panel+.panel{margin-top:22px}
.toolbar{padding-bottom:22px;border-bottom:1px solid var(--line)}
.search{background:#fafbff;gap:10px;border-radius:11px;border:1px solid #dedfea;padding:0 14px;min-height:46px;color:var(--muted);width:min(350px,100%)}
.search input{width:100%;border:none;color:var(--ink);padding:10px 0;background:none;outline:none}
.search:focus-within{border-color:var(--violet)}
.chaplist{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
.entry{position:relative;border-bottom:1px solid var(--line);display:flex}
.entry .row{border:0;padding:20px 0;flex:1}
.entry:has(.hint) .row{padding-right:110px}
.entry:has(.hint) .row>svg{display:none}
.hint{position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:.85rem;color:#6450b8;background:#f1eeff;padding:7px 10px;border-radius:9px;pointer-events:none}
.empty{padding:34px 15px;text-align:center;color:var(--muted);margin:auto;grid-column:1/-1}
.empty p{margin-bottom:18px}
.lessonTitle small,.quizbox>small,.summary>small{color:var(--violet);font-weight:650}
.lessonTitle h1{margin-top:7px}
.two{align-items:start}
.sheet img{display:block;width:100%;height:auto;margin-top:12px}
.stack{display:flex;flex-direction:column;gap:14px}
.stack h2{margin-bottom:4px}
.doc{justify-content:space-between;color:#4f4d72;border-bottom:1px solid #eff0f6;padding:10px 6px;gap:12px;line-height:1.4}
.narrow{max-width:880px;margin:auto}
.quizTitle h1{font-size:1.84rem}
.quizTitle b{color:var(--violet);white-space:nowrap}
.progress{display:flex;gap:6px;margin:20px 0 25px}
.progress span{flex:1;height:7px;background:#dedfec;border-radius:6px}
.progress .correct{background:#32bf88}.progress .wrong{background:#f26069}.progress .now{background:var(--violet)}
.quizbox{padding:32px}
.question{display:flex;align-items:center;gap:26px;margin:15px 0 26px}
.question img,.diagram{width:min(45%,334px);border-radius:11px;border:1px solid #e3e5ee;display:block}
.question h2{flex:1;line-height:1.45;font-size:1.38rem;letter-spacing:-.02em}
.answers{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.choice{background:white;border:2px solid #e4e5f0;border-radius:14px;min-height:74px;text-align:left;padding:12px 16px;gap:15px;font-size:1.1rem;font-weight:550;line-height:1.45;overflow-wrap:normal}
.choice>span:first-child,.status{display:inline-grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;color:#6445d8;background:#f0ebff;font-size:1rem;font-weight:700}
.choice:disabled{cursor:default}
.yes{border-color:#23af79;background:#f1fdf8}
.bad{border-color:#eb6671;background:#fff6f6}
.ok,.yes>span:first-child{color:#09714c;background:#ddf8ec}
.no,.bad>span:first-child{color:#b02b46;background:#ffeaed}
.correction{margin:22px 0 0;border-top:1px solid var(--line);padding:20px 0 6px}
.feedback{width:fit-content;gap:8px;border-radius:8px;font-weight:650;padding:8px 13px}
.answer,.why{margin-top:16px;align-items:flex-start;gap:18px;line-height:1.55}
.answer>b,.why>b{flex:0 0 115px;font-size:.93rem;color:var(--muted);padding-top:2px}
.answer>div,.why>div{font-size:1.12rem;flex:1;font-weight:600;text-align:left;min-width:0;overflow-wrap:normal}
.mathpic{display:block;width:100%;max-width:700px;border-radius:10px}
.end{justify-content:flex-end;margin-top:18px}
.vec{position:relative;text-decoration:overline}
.vec:after{content:"";position:absolute;top:-.08em;right:-.05em;width:.21em;height:.21em;border-top:1.5px solid;border-right:1.5px solid;transform:rotate(45deg)}
.summary{text-align:center;padding:32px}
.summary h1{margin-top:12px;font-size:1.8rem}
.summary .actions{justify-content:center;margin-top:25px}
.score{border-radius:50%;background:conic-gradient(var(--status) var(--arc),#f0f1f6 0);width:140px;height:140px;padding:12px;margin:24px auto 18px}
.score>span{display:flex;justify-content:center;align-items:baseline;background:#fff;border-radius:50%;font-size:2.2rem;font-weight:750;height:100%;padding-top:31%}
.score small{font-size:1rem}
.badge{display:inline-block;font-size:.9rem;font-weight:650;padding:7px 12px;border-radius:8px;background:var(--tint);color:var(--tone)}
.detail{margin-top:13px;padding:0}
summary{list-style:none;cursor:pointer;gap:13px;padding:19px 23px}
summary::-webkit-details-marker{display:none}
summary strong{line-height:1.4;font-weight:600}
details[open] summary>svg{transform:rotate(180deg)}
.inside{padding:0 24px 24px}
.scaleRow{gap:10px;padding:17px 0;font-size:.95rem}
.scaleRow b{margin-left:auto;font-size:.88rem}
.scale h2{margin-bottom:8px}
.scale button{width:100%;margin-top:16px}
.history h2{margin-bottom:15px}
.selector,form label{display:flex;flex-direction:column;gap:9px;color:var(--muted);font-weight:600;font-size:.92rem;min-width:0}
.selector{width:min(500px,100%)}
.count{color:#5537c9;white-space:nowrap;font-weight:600;font-size:.94rem}
.track{display:flex;overflow:hidden;border-radius:10px;height:10px;margin:22px 0 14px;background:#f0f0f8}
.track span{background:var(--status)}
.skills h3{padding:14px 16px;background:#f5f5fd;border-radius:10px;margin:18px 0 5px}
.skillrow{justify-content:space-between;gap:18px;padding:13px 8px;border-bottom:1px solid var(--line)}
.skillname{display:flex;gap:16px;line-height:1.45;align-items:baseline}
.skillname small{min-width:34px;font-variant-numeric:tabular-nums}
.pick,.rubric{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;width:49%;flex-shrink:0}
.rubric{margin:24px 8px 0 auto;width:calc(49% - 8px);font-size:.85rem;text-align:center}
.rubric b{justify-content:center;line-height:1.3}
.rubric small{display:block;margin-top:4px}
.pick button{font-size:.88rem;font-weight:650;border-radius:9px;color:var(--tone);background:var(--tint);height:40px;display:flex;align-items:center;justify-content:center;gap:5px;border:2px solid transparent}
.pick button:hover,.pick button[aria-pressed=true]{border-color:var(--status)}
.pick button[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--status)}
.guide:last-child{margin-top:26px}
dialog{position:fixed;max-height:90dvh;width:min(475px,94%);padding:32px;color:var(--ink);box-shadow:0 24px 100px #20204833}
dialog::backdrop{background:#15163c62;backdrop-filter:blur(3px)}
dialog h2{margin:4px 32px 17px 0}
dialog p,.inside p,.summary p{color:#545976;line-height:1.6;margin:16px 0}
dialog .actions,dialog .stack{margin-top:24px}
.close{position:absolute;top:18px;right:17px;color:#6f718a;background:#f2f3f9;width:35px;height:35px;border-radius:50%}
form label{margin:16px 0}
form input{padding:12px 14px;border:1px solid #dddfea;border-radius:10px;min-width:0;width:100%;color:var(--ink)}
.marks{gap:18px}
.marks label{margin:0}
#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:12px;padding:14px;opacity:0;pointer-events:none;z-index:4}
#toast.show{opacity:1}
@media(max-width:1100px){
.wrap,main{width:93%}.top{gap:12px}nav{gap:18px}nav button{font-size:.89rem;gap:6px}.brand{font-size:1.24rem}.brand img{width:36px}.profile{gap:6px}.dashboard,.two{grid-template-columns:1.55fr 1fr;gap:16px}.panel{padding:21px}.legend{font-size:.82rem;gap:10px}.row{gap:10px}.heroCopy{padding:28px}.hero h2{font-size:1.78rem}.rowtext b{font-size:.92rem}.pick,.rubric{width:54%}.tabs button{padding:10px 11px}.panelTitle{gap:8px}.graph .panelTitle h2{font-size:1.22rem}}
@media(max-width:900px){
.top{height:auto;flex-wrap:wrap;padding-top:13px;row-gap:6px}.brand{font-size:1.35rem}nav{order:3;width:100%;justify-content:space-around;height:50px}.profile{gap:9px}
main{padding-top:25px}.dashboard,.two{grid-template-columns:1fr}.graph{min-height:356px}.heroCopy{width:66%;padding:24px}.hero h2{font-size:1.56rem}.hero{min-height:202px}.btn{padding:0 14px;font-size:.9rem}.actions{gap:9px}.chaplist{grid-template-columns:1fr}.rowtext b{font-size:1rem}.below{gap:15px}.shortcut{padding:17px;gap:13px}.toolbar{flex-wrap:wrap}.search{width:100%}.quizbox{padding:22px}.skillrow{display:block}.pick,.rubric{width:100%;margin:10px 0 0}.rubric{margin-top:20px}.scaleRow{padding:11px 0}.sheet img{max-width:625px;margin:auto}.detail{padding:0}.graphic{gap:16px}.rubric b{font-size:.82rem}}
@media(max-width:620px){
.wrap,main{width:92%}.brand{font-size:1.24rem;gap:7px}.brand img{width:35px}.profile{font-size:.83rem}.avatar{width:34px;height:34px}
nav{height:61px;gap:3px;justify-content:space-between}nav button{flex-direction:column;justify-content:center;font-size:.75rem;gap:5px;letter-spacing:-.02em}
main{padding:22px 0 40px}h1{font-size:1.56rem}h2,.graph .panelTitle h2{font-size:1.16rem}.heading{gap:9px;margin-bottom:17px}.grade select{padding:10px 25px 10px 10px;font-size:.83rem}.grade svg:first-child{display:none}.grade svg:last-child{right:6px;width:14px}
.hero{min-height:0;border-radius:18px}.heroCopy{width:100%;padding:21px 18px 18px}.hero h2{width:65%;font-size:1.44rem;margin:15px 0 20px;min-height:57px;display:flex;align-items:center;overflow-wrap:normal}.eyebrow{font-size:.79rem;gap:9px}.eyebrow span{font-size:.78rem;padding:6px 8px}.hero .actions{display:grid;grid-template-columns:1.35fr 1fr}.hero .btn{font-size:.85rem;padding:0 6px;gap:5px;min-height:44px}.hero .btn svg{width:16px}
.dashboard,.below,.two,.papers{margin-top:16px;gap:16px;grid-template-columns:1fr}.panel{border-radius:16px;padding:18px}.panelTitle{gap:7px}.textlink{font-size:.83rem}.sample{font-size:.72rem;padding:5px;gap:3px}.graph{min-height:328px}.plot{margin:39px 0 41px 22px;min-height:160px}.gridline span{right:calc(100% + 8px);font-size:.75rem}.bar{width:58%;border-radius:5px 5px 0 0}.bar b{font-size:.79rem}.column small{font-size:.71rem;letter-spacing:-.02em}.legend{display:grid;grid-template-columns:auto auto;justify-content:space-evenly;gap:9px 15px;padding-top:13px;font-size:.81rem}.row{padding:13px 0}.rowtext b{font-size:.94rem}.tile{flex-basis:40px;height:40px}.summary .btn{font-size:.83rem}.split{align-items:flex-start;flex-direction:column;gap:12px}.tabs button{padding:10px 9px;font-size:.84rem}.tabs{gap:1px}.library,.skills,.history,.space,aside .panel+.panel{margin-top:16px}.entry:has(.hint) .row{padding-right:0}.entry:has(.hint) .row>svg{display:block}.entry .hint{display:none}.entry .row{padding:15px 0}.toolbar{gap:14px;padding-bottom:16px}
.quizTitle h1{font-size:1.28rem}.question{flex-direction:column;align-items:flex-start;gap:16px;margin:12px 0 20px}.question img,.diagram{width:100%;max-width:334px;align-self:center}.question h2{font-size:1.12rem}.answers{grid-template-columns:1fr;gap:9px}.choice{min-height:55px;font-size:1rem;padding:10px;gap:12px}.answer,.why{display:block}.answer>div,.why>div{margin-top:7px;font-size:1rem}.detail{padding:0}.inside{padding:0 15px 15px}summary{padding:16px;font-size:.94rem}.badge{font-size:.84rem}.history .badge{display:none}.history .row{gap:8px}.history .tile{display:none}.summary h1{font-size:1.45rem}.skills{padding:15px}.skillrow{padding:14px 0}.skillname small{min-width:24px}.skillname{gap:9px}.rubric b{font-size:.73rem;flex-direction:column}.rubric small{display:none}.pick,.rubric{gap:6px}.pick button{font-size:.78rem;gap:1px}.pick button svg{width:13px}.scaleRow{font-size:.86rem}dialog{padding:24px}.btn{border-radius:10px}.back{margin-bottom:18px}}
@media(max-width:380px){.brand{font-size:1.12rem}.profile{gap:4px}.hero .btn{font-size:.78rem}.grade select{font-size:.76rem}.heading h1{font-size:1.37rem}.hero h2{font-size:1.2rem}.panelTitle h2,.graph .panelTitle h2{font-size:1.03rem}.sample svg{display:none}.tabs button{font-size:.76rem}.heroCopy{padding:16px 12px}.profile>svg{display:none}nav button{font-size:.69rem}.graph{padding:14px}.column small{font-size:.67rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.solution{color:#086eae}.choiceText{min-width:0}.question h2 span{font-weight:inherit}
.plot{margin:31px 5px 48px;min-height:190px}
.column{justify-content:center;align-items:center}
.pieces,.mini{display:flex;overflow:hidden;gap:2px}
.pieces{height:100%;width:52%;max-width:39px;border-radius:8px;flex-direction:column-reverse;box-shadow:0 0 0 1px #15123004}
.pieces>span,.mini>span,.progress span[class^=l]{background:var(--status)}
.column:hover .pieces{filter:saturate(1.3);transform:scale(1.04)}
.mini{height:14px;width:22%;border-radius:6px}
.outcome .mini{width:100%;height:27px;margin:24px 0 18px;border-radius:9px}
.scaleRow{padding:13px 0}.scaleRow small{display:block;margin-top:4px}
.scene{background-image:url(situations.png);background-repeat:no-repeat;background-size:400% 400%;aspect-ratio:1;width:192px;flex-shrink:0;max-width:100%}
.progress{gap:4px}.quizTitle b{font-size:.93rem}
.question:has(.scene){margin-top:0}.question .scene{margin-inline:14px}
.choice.tried{background:#f5f6fb;color:#666c81;border-color:transparent}
.choice.tried>span:first-child{background:#e4e7ef;color:#65697e}
.retry,.paperrow{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 0;color:#605b79;font-size:.94rem}
.paperrow{margin:0;padding:18px 20px;color:var(--ink)}
.exampleArt{margin-top:14px;color:var(--violet);font-size:.93rem}
.exampleArt summary{padding:14px 0}
.exampleArt img{display:block;max-width:100%;max-height:215px;margin:5px auto}
.skills .selector{flex:1}
.pick button{font-size:.79rem;line-height:1.1;padding:2px 4px;min-height:43px}
.pick button[aria-pressed=true]{background:var(--status);border-color:var(--tone);box-shadow:none;color:#152438}
@media(max-width:900px){.skills .split{flex-wrap:wrap}.skills .selector{min-width:min(100%,300px)}}
@media(max-width:620px){.plot{margin:25px 0 40px;min-height:150px}.scene{width:155px;align-self:center}.question:has(.scene){margin:12px 0 20px}.pick button{font-size:.72rem;min-height:48px}.pick button[aria-pressed=true] span{display:none}.quizTitle{gap:8px;flex-wrap:wrap}.quizTitle b{font-size:.83rem}.history .mini{width:18%}.retry{flex-wrap:wrap;font-size:.88rem}.question h2{width:100%}.progress{gap:2px}.exampleArt summary{font-size:.85rem}.paperrow{padding:12px;font-size:.85rem}.paperrow .badge{font-size:.78rem}}
.seriesSwitch{display:inline-flex;align-items:center;gap:7px;color:var(--violet);font-weight:650;font-size:.93rem;padding:9px 11px;margin-top:14px;border-radius:10px;background:#eeebff}
.seriesSwitch:hover{background:#e6e0ff}.seriesList .row{padding:15px 4px}.seriesList .row:last-child{padding-bottom:6px}
.entry:has(.hint) .row{padding-right:126px}
@media(max-width:620px){.entry:has(.hint) .row{padding-right:0}.hero .eyebrow{font-size:.75rem;gap:6px;flex-wrap:wrap}.eyebrow span{font-size:.74rem}}

/* Résultats */
.overview .split,.reportTree .split{flex-wrap:wrap;gap:12px}
.chartPicker button,.previewNote,.cardText b,.leaf,.visual{display:flex;align-items:center}
.chartPicker button{gap:7px}
.previewNote{border-radius:11px;padding:12px 15px;background:#f6f5fe;color:#545276;line-height:1.4;font-size:.9rem;gap:10px;flex-wrap:wrap;margin-top:16px}
.previewOn{border:1px solid #d9cffd;background:#f1edff;color:#4b399f}
.reportCards{display:grid;gap:13px;margin-top:14px}
.areas{grid-template-columns:repeat(5,minmax(0,1fr))}
.overview h3{margin-top:25px}
.reportCard{text-align:left;border-radius:15px;border:1px solid #e5e6f2;padding:17px;display:flex;flex-direction:column;gap:10px;background:#fff;position:relative}
.reportCard:hover,.reportCard[aria-pressed=true]{border-color:#8068df;background:#f8f6ff;box-shadow:0 0 0 1px #8068df}
.cardText{display:block;margin-bottom:auto}
.cardText b{align-items:flex-start;gap:8px;line-height:1.32;font-size:.95rem;letter-spacing:-.012em}
.cardText b svg{color:var(--violet);margin-top:1px}
.cardText small,.treeName small,.leaf small,.reportTree .split small{display:block;margin-top:4px;font-size:.82rem}
.visual{justify-content:center;width:100%;min-height:14px}
.visual.bar{max-width:none;width:100%;height:auto;background:none;border-radius:0}
.visual .stripe{width:100%;display:flex;gap:2px;height:14px;border-radius:5px;overflow:hidden}
.visual .stripe i,.dotGrid i{background:var(--status)}
.visual .stripe i{min-width:2px}
.visual .ring{width:72px;height:72px;transform:rotate(-90deg)}
.ring circle{fill:none;stroke:var(--status);stroke-width:7}
.visual .dotGrid{display:flex;gap:3px;width:100%;flex-wrap:wrap;justify-content:flex-start}
.dotGrid i{height:8px;width:8px;border-radius:50%}
.unfilled,.activity{color:var(--muted);font-size:.81rem}
.visual .unfilled{font-weight:500;width:100%;border:1px dashed #d7d9e8;text-align:center;border-radius:7px;line-height:26px}
.activity:empty{display:none}
.overview .legend{justify-content:flex-start;gap:15px 32px;margin-top:23px}
.overview .guide,.reportTree .guide{margin-top:10px;line-height:1.55}
.reportTree{margin-top:22px;scroll-margin-top:14px}
.reportTree h3{display:flex;align-items:baseline;gap:8px;padding:13px 16px;margin:22px 0 0;background:#f2f0ff;color:#503daf;border-radius:11px;font-weight:700}
.reportTree h3 small{font-size:.87rem;font-weight:500;letter-spacing:normal;color:#685f90}
.treeItem{border-bottom:1px solid #ebecf5}
.treeItem:last-child{border:0}
.treeItem summary{padding:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,26%) 18px;gap:16px;border-radius:10px}
.treeItem summary:hover{background:#f9f9fe}
.treeItem summary>svg{color:#797f9a;transform:none}
.treeItem[open]>summary>svg{transform:rotate(180deg)}
.treeName{min-width:0;line-height:1.4}
.treeName b{font-weight:650;overflow-wrap:normal}
.treeName small{margin-top:3px}
.code{font-size:.85em;color:#6244cd;margin-right:10px;font-weight:750}
.treeItem .visual .ring{width:42px;height:42px}
.treeItem .visual .stripe{height:12px}
.treeItem .dotGrid{justify-content:flex-end}
.treeItem .unfilled{border:none;text-align:right;line-height:1.4}
.treeBody{margin-left:18px;padding-left:13px;border-left:2px solid #e7e4fb;margin-bottom:12px}
.packNode summary,.sheetNode summary{font-size:.93rem;padding:12px}
.sheetNode summary{background:#f8f9fd;margin-bottom:5px}
.sheetNode summary b{font-weight:550}
.leaf{gap:14px;justify-content:space-between;font-size:.93rem;padding:12px;line-height:1.4;border-bottom:1px solid #f0f1f7}
.leaf>span:first-child{overflow-wrap:normal}
.leaf b{margin-right:6px;color:#6351b4}
.leaf .badge,.leaf>small{flex-shrink:0;font-size:.82rem}
.treeActions{padding:14px 10px}
.treeActions .btn{min-height:39px;font-size:.85rem;padding:8px 14px}
.packHead{color:#503daf;font-size:1.17rem;margin:27px 0 10px}
@media(min-width:901px) and (max-width:1040px){nav button{font-size:.83rem;gap:4px}nav{gap:14px}.profile>span:nth-child(2){display:none}}
@media(max-width:1000px){.areas{grid-template-columns:repeat(3,minmax(0,1fr))}.reportCard{padding:14px}}
@media(max-width:620px){
 nav button{font-size:clamp(.61rem,2.65vw,.75rem)}
 .areas{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .areas .area:last-child{grid-column:1/-1}
 .reportCard{padding:12px;gap:9px;border-radius:12px}
 .cardText b{font-size:.87rem;overflow-wrap:anywhere}
 .cardText b svg{display:none}
 .cardText small,.activity,.unfilled,.treeName small,.leaf small,.reportTree .split small{font-size:.76rem}
 .previewNote{font-size:.84rem;padding:11px}
 .previewNote .textlink{margin-left:0}
 .chartPicker{width:100%}
 .chartPicker button{flex:1;justify-content:center;padding:9px 4px;font-size:.81rem;gap:5px}
 .chartPicker button svg{width:15px}
 .overview .legend{gap:9px 13px;justify-content:space-between;font-size:.76rem}
 .overview .guide,.reportTree .guide{font-size:.81rem}
 .reportTree{margin-top:16px;padding:15px}
 .treeItem summary{gap:6px 10px;padding:13px 4px;grid-template-columns:minmax(0,1fr) 18px}
 .treeItem summary>svg{grid-area:1 / 2}
 .treeItem .visual{grid-area:2 / 1;justify-content:flex-start}
 .treeItem .unfilled{text-align:left}
 .treeItem .dotGrid{justify-content:flex-start}
 .treeItem .visual .stripe{height:9px}
 .treeBody{margin-left:2px;padding-left:8px}
 .sheetNode summary{padding:11px 7px}
 .leaf{padding:12px 4px;align-items:flex-start;flex-direction:column;gap:5px}
 .treeActions{padding:9px 0;gap:7px}
 .treeActions .btn{padding:9px}
 .reportTree h3{font-size:.95rem;padding:11px}
 .dotGrid i{width:6px;height:6px}
 .visual .ring{width:56px;height:56px}
}
@media(max-width:380px){.chartPicker button svg{display:none}.overview .legend{display:flex}.reportCard{padding:10px}.cardText b{font-size:.82rem}}
.sticks{display:flex;align-items:stretch;justify-content:space-evenly;gap:7px;width:100%;height:80px;padding-top:20px;background:repeating-linear-gradient(to top,#e9ebf4 0 1px,transparent 1px 20px);border-bottom:1px solid #dddfeb}
.sticks>span{display:flex;flex-direction:column-reverse;position:relative;width:19%;max-width:34px}
.sticks i{background:var(--status);border-radius:5px 5px 0 0}
.sticks small{text-align:center;font-size:.8rem;font-weight:650;line-height:20px;color:var(--tone)}
.reportCard:has(.sticks) .unfilled{line-height:78px}
@media(max-width:620px){.sticks{gap:4px}.chartPicker button,nav button{min-height:40px}}
.sticks i,.sticks small{flex-shrink:0}.reportCards:has(.sticks) .unfilled{line-height:78px}.reportCards:has(.ring) .unfilled{line-height:60px}
/* Lecteur des documents du cours */
.courseLayout{grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr)}
.courseLayout aside{min-width:0}
.reader{padding:18px;min-width:0}
.readerBar,.supportTabs,.supportTabs button,.pagePicker,.readerActions,.step,.enlarge,.readerNote,.ppt{display:flex;align-items:center}
.supportTabs{gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:14px}
.supportTabs button,.enlarge,.step{justify-content:center;border-radius:10px;color:#545978;font-weight:600;font-size:.89rem;gap:7px;min-height:40px}
.supportTabs button{padding:9px 12px}
.supportTabs button:hover,.step:not(:disabled):hover,.enlarge:hover{background:#f1efff;color:#5537c9}
.supportTabs button[aria-pressed=true]{background:#ede9ff;color:#5133c5}
.readerBar,.readerNote{gap:12px;justify-content:space-between;flex-wrap:wrap}
.readerBar{padding:13px 0}
.readerActions,.pagePicker{gap:8px}
.step,.enlarge{border:1px solid #dfe1ee;background:white}
.enlarge{padding:8px 13px}
.step{width:40px;height:40px}
.step:disabled{opacity:.4;cursor:default}
.pagePicker select{font-size:.87rem;padding:10px 34px 10px 12px;background-position:right 10px center}
.singleTitle{padding-left:5px}
.visualFrame{border:1px solid #e4e6f0;border-radius:12px;overflow:hidden;background:#fff;touch-action:pan-y pinch-zoom}
.pageImage{display:block;width:100%;height:auto;object-fit:contain;cursor:zoom-in;margin:auto}
.readerNote{padding-top:15px;line-height:1.45}
.ppt{gap:5px;margin:0;font-size:.86rem}
.practice>small{margin:-6px 2px 2px;line-height:1.45}
.origTag{display:inline-block;margin-top:12px;font-size:.9rem;color:var(--violet);font-weight:600}
.visuallyHidden{position:absolute;clip-path:inset(100%);width:1px;height:1px;white-space:nowrap;overflow:hidden}
dialog.lightbox{padding:0;border:none;max-width:none;max-height:none;width:100%;height:100dvh;margin:0;background:#191c30;border-radius:0}
body:has(dialog.lightbox[open]){overflow:hidden}
.largeReader{display:flex;flex-direction:column;height:100%;padding:0 14px 14px}
.largeReader .readerBar{width:min(100%,1260px);align-self:center;flex-shrink:0;min-height:58px;padding:8px 0}
.largeReader .singleTitle{color:white}
.largeReader .visualFrame{flex:1;min-height:0;border:none;background:transparent}
.largeReader .pageImage{width:100%;height:100%}
.largeReader .zoomed{overflow:auto;touch-action:auto;overscroll-behavior:contain}
.largeReader .zoomed .pageImage{width:max(165%,1100px);height:auto;cursor:zoom-out;max-width:none}
.quizNav{flex-wrap:wrap}
@media(max-width:900px){.courseLayout{grid-template-columns:1fr}.courseLayout aside{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.courseLayout aside .panel+.panel{margin-top:0}}
@media(max-width:620px){
 .courseLayout aside{grid-template-columns:1fr}
 .courseLayout .reader{padding:12px}
 .supportTabs{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;padding-bottom:10px}
 .supportTabs button{font-size:.81rem;grid-column:span 2;gap:5px;flex-direction:column;padding:7px 2px;min-height:53px;border:1px solid #eeeff6}
 .supportTabs button:nth-child(n+4),.supportTabs:has(button:nth-child(4):last-child) button{grid-column:span 3}
 .pagePicker,.readerActions{gap:5px}
 .pagePicker select{font-size:.8rem;padding:9px 24px 9px 6px;background-position:right 5px center;background-size:14px}
 .readerBar{gap:5px;padding:9px 0}
 .step{width:34px}.step,.enlarge{min-height:36px;height:36px;border-radius:9px}
 .enlarge{padding:7px 8px;gap:5px;font-size:.81rem}
 .readerNote{gap:6px}
 .readerNote small,.ppt{font-size:.81rem}
 .largeReader{padding:0 6px 6px}
 .quizNav .tabs{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .quizNav .tabs button{padding:8px 2px;min-height:50px;font-size:.8rem;overflow-wrap:anywhere}
 .quizNav{gap:12px}
}
@media(max-width:380px){.enlarge svg{display:none}.supportTabs button{font-size:.75rem}.pagePicker select{font-size:.74rem}.quizNav .tabs button{font-size:.74rem}}
.mangaHero{position:absolute;inset:14px 3% 0 auto;width:35%;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;isolation:isolate}
.mangaHero:before{content:"";position:absolute;width:88%;max-width:312px;aspect-ratio:1;border-radius:50%;background:#ffffffbd;bottom:-35%;z-index:-1}
.chapterArt,.avatarArt,.mangaWelcome svg{display:block;height:auto;overflow:hidden;mix-blend-mode:multiply}
.chapterArt{height:100%;width:auto;max-width:100%;object-fit:contain}
.avatar{background:white;display:flex;align-items:center;justify-content:center;isolation:isolate}
.avatarArt{width:110%;max-width:none;transform:translateY(8%)}
@media(max-width:900px){.mangaHero{width:30%;right:2%}}
@media(max-width:620px){.mangaHero{height:52%;top:auto;bottom:31%;right:2%;width:31%}.mangaHero:before{bottom:0;width:100%}.chapterArt{height:auto;width:100%;max-height:100%}.hero .eyebrow{max-width:68%}}

/* Phrases entières et notations lisibles, dans le quiz et dans sa relecture. */
.quizbox,.quizTitle,.detail,.quizbox *,.detail *{hyphens:none;-webkit-hyphens:none;word-break:normal;overflow-wrap:normal;text-overflow:clip}
.quizbox .mathInk,.inside .mathInk,.detail .mathInk{font-weight:750;white-space:nowrap}
.quizbox .solution,.detail .solution{color:var(--ink)}
.quizbox>small{font-size:.95rem;line-height:1.55;color:#574499}
.quizbox h2,.detail .inside>p:first-child{letter-spacing:0;line-height:1.55;min-width:0;text-align:left}
.sentence{display:block;white-space:normal;text-wrap:pretty;break-inside:avoid;orphans:2;widows:2}
.sentence+.sentence{margin-top:.32em}
.question .sentence{text-wrap:balance}
.quizbox .answers{grid-template-columns:repeat(2,minmax(0,1fr))}
.quizbox .choice,.answer>div,.why>div{min-width:0;line-height:1.6;height:auto;overflow-wrap:normal}
.choiceText,.why>div,.solution,.quizbox h2,.inside>p,.detail summary strong{min-width:0;max-width:100%;overflow-x:auto;padding-block:.13em}
.choice .choiceText{flex:1;text-align:left}
.choice.tried .choiceText{text-decoration:none}
.choice:disabled{opacity:1}
.answer,.why{min-width:0}
.why>div .sentence+.sentence{margin-top:.52em}
.quizbox .vec,.detail .vec{display:inline-block;white-space:nowrap;line-height:1.25;margin-top:.12em}
.figOpen{display:grid;gap:7px;justify-items:center;align-items:center;flex:0 0 48%;min-width:0;width:48%;max-width:100%;padding:12px;border-radius:15px;border:1px solid #e2e6f1;background:#fafbff;color:#5940c4;font-size:.9rem;font-weight:650}
.figOpen:hover{background:#f5f2ff;border-color:#a99af4}
.figOpen img.diagram{display:block;width:100%;max-width:100%;max-height:260px;object-fit:contain;border:0;border-radius:0}
.inside .figOpen{width:min(100%,510px);margin:18px 0}
dialog:has(.figFull){width:min(94%,1050px);padding:24px}
.figFull{overflow:auto;margin:20px 0;background:#fafbff}
.figFull img{display:block;width:100%;min-width:630px;padding:16px}
.figFull:focus-visible{outline:3px solid #ab9df2}
.quizbox .retry{flex-wrap:wrap}
.quizTitle{flex-wrap:wrap;gap:8px 18px}
.quizTitle h1{min-width:0;line-height:1.35;max-width:100%}
@media(max-width:760px){
 .quizbox .question{display:flex;flex-direction:column;align-items:stretch;gap:16px}
 .quizbox .question h2{flex:auto;width:100%;font-size:1.18rem}
 .figOpen{width:100%;flex:auto;align-self:center;max-width:500px;padding:9px}
 .quizbox .answers{grid-template-columns:minmax(0,1fr)}
 .quizbox .answer,.quizbox .why,.detail .answer,.detail .why{display:block}
 .quizbox .answer>div,.quizbox .why>div,.detail .answer>div,.detail .why>div{margin-top:6px}
 .question .scene{align-self:center}
 .detail summary{padding:16px;gap:10px}
 .detail .inside{padding-inline:16px}
}
@media(max-width:430px){
 .quizbox{padding:16px}.quizbox .choice{gap:10px;padding:10px;min-height:58px}
 .choice>span:first-child{flex-basis:30px;height:30px}
 .signedOut .top,.school .top{height:auto;padding-block:12px;flex-wrap:wrap;gap:6px}
 .signedOut .brand,.school .brand{font-size:1.07rem}
 .signedOut .brand img,.school .brand img{width:29px}
 .quizTitle h1{font-size:1.24rem}
 dialog:has(.figFull){padding:18px}
}
