/* A single, full-viewport learning stream for Cell Biology. */
.cj-shell{--cj-ink:#30304a;--cj-muted:#7b7e95;--cj-purple:#7060c9;--cj-line:#e5e7f0;position:fixed;inset:0;z-index:100;background:#f5f7fb;color:var(--cj-ink);font-family:'DM Sans',Arial,sans-serif;font-size:16px;display:flex;flex-direction:column;text-align:left}
.cj-shell *{box-sizing:border-box}.cj-shell button,.cj-shell input,.cj-shell textarea{font:inherit}.cj-shell button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.cj-shell button:disabled{cursor:default}.cj-shell button:focus-visible,.cj-shell input:focus-visible,.cj-shell textarea:focus-visible,.cj-notes-dialog button:focus-visible{outline:3px solid #6356b7;outline-offset:4px}.cj-shell svg{flex-shrink:0}
.cj-topbar{height:72px;min-height:72px;display:flex;align-items:center;gap:20px;padding:12px 28px;border-bottom:1px solid #e6e8f0;background:#fff;z-index:5}.cj-icon{width:40px;height:40px;min-width:40px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;color:#777b93;background:transparent}@media(hover:hover) and (pointer:fine){.cj-icon:hover{background:#f0edf9;color:#6356b7}}.cj-icon:disabled{opacity:.25}.cj-top-title{display:flex;flex-direction:column;gap:3px;white-space:nowrap}.cj-top-title>span{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#9a9bad}.cj-top-title>strong{font-size:14px;font-weight:650}.cj-top-progress{height:7px;border-radius:8px;background:#e9e8f3;max-width:420px;flex:1;margin:auto 35px;overflow:hidden}.cj-top-progress i{display:block;height:100%;background:linear-gradient(90deg,#ad9de8,#796acb);border-radius:inherit;transition:width .4s ease}.cj-top-tools{display:flex;gap:6px;align-items:center;margin-left:auto}.cj-notes-button{border:1px solid #ddddea;background:#fff;color:#5e5c7b;border-radius:12px;padding:10px 15px;display:flex;gap:8px;align-items:center;font-size:13px!important;font-weight:650!important}@media(hover:hover) and (pointer:fine){.cj-notes-button:hover{background:#f5f1ff}}
.cj-feed{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;background:radial-gradient(ellipse at 50% 0,#f0edfa 0,transparent 65%),#f5f7fb;scroll-padding-top:24px}.cj-feed-inner{max-width:790px;width:100%;margin:0 auto;padding:34px 20px 0}.cj-intro{margin:0 0 30px;text-align:center}.cj-subject-pill{display:inline-block;background:#eeebf7;border:1px solid #e6e0f3;border-radius:20px;padding:6px 12px;color:#82739f;font-size:10px;letter-spacing:.4px}.cj-intro h1{font-family:'Space Grotesk',sans-serif;font-size:35px;line-height:1.15;letter-spacing:-1.2px;margin:13px 0 8px}.cj-intro p{font-size:13px;color:#737084;margin:0}.cj-feed-end{height:160px}
.cj-card{background:#fff;border:1px solid #e3e5ee;border-radius:20px;box-shadow:0 5px 18px #3f355506;margin:0 0 26px;overflow:hidden;scroll-margin-top:25px;animation:none}.cj-card:focus{outline:none}.cj-card.cj-previous{box-shadow:none}.cj-teach{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:260px}.cj-picture{background:linear-gradient(145deg,#eeeaf9,#e9f0f3);display:flex;flex-direction:column;justify-content:center;padding:12px;position:relative}.cj-art{width:100%;height:auto;display:block;overflow:visible}.cj-art-caption{font-size:8px;text-align:center;letter-spacing:.2px;color:#9b98ad;margin:2px 0 5px}.cj-explanation{padding:30px 28px;align-self:center;min-width:0}.cj-explanation h2{font-family:'Space Grotesk',sans-serif;font-size:21px;letter-spacing:-.5px;line-height:1.3;margin:0 0 14px}.cj-explanation .note-p{font-size:16px;line-height:1.7;margin:0 0 12px}.cj-explanation b,.cj-explanation strong{color:#7762ae;font-weight:700}.cj-explanation .note-tip{font-size:15px!important;line-height:1.65;background:#fff8e9!important;border:0!important;padding:16px!important;border-radius:12px!important}.cj-explanation .note-h{font-size:18px}.cj-explanation ul{padding-left:20px;line-height:1.75}.cj-explanation li+li{margin-top:12px}.cj-native{display:block}.cj-native .cj-explanation{padding:28px}.cj-native .ndia{margin:0}.cj-native .ndia svg{width:100%;height:auto}.cj-native .written-practice{margin:0}.cj-native .written-practice h3{font-size:18px}
.cj-card-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;border-top:1px solid #eef0f5}.cj-carousel{display:flex;gap:5px;align-items:center;color:#777589;font-size:12px}.cj-carousel .cj-icon{width:32px;min-width:32px;height:32px}.cj-carousel .cj-icon svg{width:16px}.cj-button{border:1px solid #7866c1;border-bottom:3px solid #6653ae;border-radius:11px;background:#8b79d4;color:white;padding:11px 21px;min-height:45px;display:inline-flex;align-items:center;justify-content:center;gap:15px;font-weight:650!important;font-size:14px!important;transition:background .15s,transform .15s}@media(hover:hover) and (pointer:fine){.cj-button:hover{background:#7f6dca;transform:translateY(-1px)}}.cj-button:active{transform:translateY(1px);border-bottom-width:1px}.cj-button:disabled{opacity:.4;transform:none}.cj-read-status{display:flex;gap:6px;font-size:11px;align-items:center;color:#617b6b}.cj-read-status svg{width:16px}
.cj-card:has(>.cj-question-art){padding:27px 32px 30px}.cj-question-art{max-width:245px;margin:-14px auto 0;max-height:none;overflow:visible}.cj-question-art .cj-art{height:155px}.cj-card>h2{font-family:'Space Grotesk',sans-serif;font-size:24px;line-height:1.45;letter-spacing:-.4px;text-align:center;margin:18px auto 25px;max-width:600px}.cj-instruction,.cj-small{font-size:12px!important;color:#6f6c85;line-height:1.6;text-align:center}.cj-choices{display:grid;gap:12px;max-width:610px;margin:0 auto}.cj-tile{display:flex;align-items:center;gap:12px;min-height:56px;width:100%;background:#fff;border:1px solid #dfe2ed;border-bottom:3px solid #e3e5ee;border-radius:12px;padding:15px 18px;color:#65637c;text-align:left;font-size:15px!important;line-height:1.45;transition:background .15s,border-color .15s,transform .15s}@media(hover:hover) and (pointer:fine){.cj-tile:hover:not(:disabled){background:#f5f1fd;border-color:#b6a6df;transform:translateY(-1px)}}.cj-choice-letter{display:grid;place-items:center;width:27px;height:27px;min-width:27px;border:1px solid #e3dfed;border-radius:8px;font-size:11px;color:#a4a0b0}.cj-tile:disabled{opacity:.55}.cj-type-answer{display:flex;align-items:stretch;gap:12px;max-width:575px;margin:0 auto}.cj-type-answer input{width:100%;min-width:0;border:0;border-bottom:2px solid #c9bee5;background:#faf8ff;border-radius:8px 8px 0 0;padding:15px 18px;font-size:19px;letter-spacing:.2px;color:#514569}.cj-type-answer input::placeholder{color:#b6adca;font-size:15px}.cj-type-answer .cj-button{white-space:nowrap}.cj-card textarea{display:block;max-width:600px;margin:15px auto;width:100%;padding:16px;border:1px solid #d9d5e8;border-radius:12px;min-height:100px}
.cj-match{display:grid;grid-template-columns:1fr 1.4fr;gap:28px}.cj-match>div{display:grid;gap:14px;align-items:stretch}.cj-match .cj-tile{justify-content:center;text-align:center;font-size:14px!important;min-height:72px}.cj-match .cj-selected{background:#eee7fd;border-color:#a798cf;color:#7560a9}.cj-match .cj-matched{background:#edf6ed;border-color:#c2d8c8;color:#739480;opacity:1}.cj-sort-token{margin:18px auto 24px;text-align:center;width:fit-content;min-width:180px;background:#f5e2dc;border:1px solid #edcdc2;border-bottom:4px solid #e8b7a7;border-radius:15px;padding:20px 35px;font-size:23px;font-family:'Space Grotesk',sans-serif;color:#ae7d70;animation:cj-rise .3s ease}.cj-sort-bins{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cj-sort-bins .cj-tile{text-align:center;justify-content:center;background:#eef4eb;border:2px dashed #cfdbca;min-height:86px}.cj-sort-bins .cj-tile+button{background:#f0edf7;border-color:#d3cee1}.cj-sorted{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:18px}.cj-sorted>span{font-size:10px;display:flex;gap:4px;align-items:center;color:#8b9b91;background:#f2f7f2;border-radius:8px;padding:6px}.cj-sorted svg{width:13px;height:13px}.cj-order{display:grid;gap:10px;padding-left:25px;margin:18px auto;max-width:590px;min-height:50px}.cj-order:empty{border:2px dashed #ded8ec;border-radius:10px;list-style:none}.cj-order+.cj-choices{margin-bottom:18px}.cj-diagram{position:relative;max-width:500px;margin:auto}.cj-diagram img{width:100%;height:auto}.cj-diagram .question-image{margin:0}.cj-pin{position:absolute;transform:translate(-50%,-50%);width:32px;height:32px;border:2px solid white;border-radius:50%;background:#8b79d4;color:#fff;font-size:12px}.cj-pin:disabled{opacity:.5}
.cj-feedback{border-radius:13px;padding:19px 22px;margin:22px 0 0;animation:none;text-align:left}.cj-feedback b{font-size:16px}.cj-feedback p{font-size:14px;line-height:1.7;margin:8px 0 10px}.cj-positive{background:#eef6ed;color:#62806a;border:1px solid #d9e9d5}.cj-guidance{background:#fff5e6;color:#a38157;border:1px solid #f1e2c8}.cj-text-button{background:transparent;border:0;padding:8px 10px;color:inherit;text-decoration:underline;font-size:12px!important;display:inline-block}.cj-feedback-continue{border:0;background:transparent;display:flex;align-items:center;justify-content:flex-end;width:100%;gap:10px;color:inherit;padding:6px;font-size:12px!important}.cj-recall-label{text-align:center;text-transform:uppercase;letter-spacing:1.3px;font-size:10px;color:#a895c1;margin-bottom:13px}.cj-past-question{display:flex;align-items:flex-start;gap:17px;padding:23px 28px;background:#fafcfa}.cj-result-icon{background:#e9f3e6;color:#7c9c7a;display:grid;place-items:center;width:32px;height:32px;min-width:32px;border-radius:50%}.cj-result-icon.cj-helped{background:#f9eddb;color:#baa27d}.cj-past-question h3{font-size:15px;line-height:1.5;margin:0 0 8px;font-weight:600;color:#777b83}.cj-past-question p{font-size:13px;line-height:1.65;margin:0;color:#656e77}.cj-past-question>div>span{display:block;font-size:10px;color:#617268;margin-top:10px}
.cj-summary{text-align:center;padding:38px 0 10px;scroll-margin-top:30px;outline:none;animation:cj-rise .6s ease}.cj-summary-kicker{font-size:10px!important;letter-spacing:2px;color:#a795c9!important;margin-top:26px!important}.cj-summary h1{font-family:'Space Grotesk',sans-serif;font-size:45px;line-height:1.15;letter-spacing:-1.8px;margin:15px 0}.cj-summary>p{font-size:15px;line-height:1.7;color:#777386}.cj-celebration{height:110px;position:relative;width:220px;margin:auto}.cj-celebration>div{position:absolute;left:65px;top:10px;width:90px;height:90px;background:linear-gradient(145deg,#bda8e3,#8e7bcb);border-radius:30px;transform:rotate(-10deg);box-shadow:0 12px 30px #a597cd40;color:white;display:grid;place-items:center;animation:cj-bounce .6s ease}.cj-celebration>div svg{width:45px;height:45px;transform:rotate(10deg)}.cj-celebration>span{position:absolute;color:#e3c078;font-size:23px;animation:cj-star .7s ease}.cj-celebration>span:nth-child(1){left:25px;top:19px}.cj-celebration>span:nth-child(2){right:20px;top:0;font-size:30px}.cj-celebration>span:nth-child(3){right:10px;bottom:10px;font-size:16px}.cj-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:30px 0 23px}.cj-stats>div{background:#fff;border:1px solid #e3e4ed;border-radius:15px;padding:23px 10px;display:flex;flex-direction:column;gap:7px}.cj-stats strong{font-family:'Space Grotesk',sans-serif;font-size:29px;font-weight:550;color:#8b79bd}.cj-stats span{font-size:11px;color:#696676}.cj-stats small{font-size:9px;color:#b0adbc}.cj-summary-ideas{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0}.cj-summary-ideas span{font-size:11px;display:flex;align-items:center;gap:6px;background:#eef4ee;padding:8px 11px;border-radius:8px;color:#839982}.cj-summary-ideas svg{width:14px;height:14px}.cj-summary-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:27px}.cj-summary-actions>.cj-button{flex-basis:100%;max-width:340px;margin:0 calc((100% - 340px)/2)}.cj-secondary{border:1px solid #dbd8e9;background:transparent;border-radius:10px;padding:12px 16px;color:#8d83a3;font-size:12px!important}.cj-next-lesson{font-size:12px!important;color:#aaa3b8!important}
.cj-notes-dialog{width:min(940px,calc(100vw - 40px));height:calc(100dvh - 60px);max-height:none;max-width:none;border:1px solid #e3e2ec;border-radius:20px;padding:0;color:#444058;background:#fff;box-shadow:0 20px 100px #2c214b33;font-family:'DM Sans',Arial,sans-serif;overflow:hidden}.cj-notes-dialog::backdrop{background:#30284170;backdrop-filter:blur(5px)}.cj-notes-dialog[open]{display:flex;flex-direction:column}.cj-notes-head{display:flex;justify-content:space-between;align-items:center;padding:20px 30px;border-bottom:1px solid #ece9f3;flex-shrink:0}.cj-notes-head span{font-size:9px;letter-spacing:1.5px;color:#a59ab5}.cj-notes-head h2{font-family:'Space Grotesk',sans-serif;font-size:22px;margin:5px 0 0}.cj-notes-scroll{overflow:auto;padding:25px 45px 55px;overscroll-behavior:contain;flex:1}.cj-unit-list{display:flex;gap:8px;flex-wrap:wrap}.cj-unit-link{border:1px solid #e1ddeb;background:#faf8ff;border-radius:9px;padding:9px 12px;color:#9785b0;font:inherit;font-size:12px;cursor:pointer}.cj-unit-link[aria-current]{background:#ede7f8}.cj-notes-tip{font-size:12px;color:#aaa2b6;line-height:1.7}.cj-book-section{border-top:1px solid #edeaf4;margin-top:30px;padding-top:20px;scroll-margin-top:15px}.cj-book-section>h2{font-family:'Space Grotesk',sans-serif;font-size:28px;margin:10px 0 25px}.cj-book-section .note-h{font-size:20px;margin-top:25px}.cj-book-section .note-p{font-size:16px;line-height:1.85}.cj-book-section .ndia svg{max-width:100%;height:auto}.cj-book-section .term{display:grid;grid-template-columns:1fr 2fr;gap:20px;line-height:1.7;margin:16px 0}
@keyframes cj-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes cj-bounce{0%{transform:rotate(-10deg) scale(.7)}60%{transform:rotate(-10deg) scale(1.08)}100%{transform:rotate(-10deg) scale(1)}}@keyframes cj-star{from{opacity:0;transform:scale(.3) rotate(-70deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes cj-impulse{from{transform:translateX(0)}to{transform:translateX(124px)}}@keyframes cj-muscle{from{transform:scaleX(1)}to{transform:scaleX(.8)}}@keyframes cj-draw{from{stroke-dashoffset:300}to{stroke-dashoffset:0}}@keyframes cj-water{from{transform:translateY(20px);opacity:.3}to{transform:translateY(-10px);opacity:1}}
.cj-impulse{animation:cj-impulse 2s ease-in-out 1}.cj-muscle{transform-origin:180px 120px;animation:cj-muscle 2s ease-in-out 1 alternate}.cj-dna-draw{stroke-dasharray:300;animation:cj-draw 1.7s ease 1}.cj-water-rise{animation:cj-water 2s ease 1}.cj-previous .cj-art *{animation:none}
@media(max-width:800px){.cj-topbar{gap:12px;padding:12px 16px}.cj-top-progress{margin:0 5px}.cj-top-title{max-width:155px}.cj-top-title strong{overflow:hidden;text-overflow:ellipsis}.cj-teach{grid-template-columns:260px minmax(0,1fr)}.cj-explanation{padding:24px}.cj-top-tools{gap:1px}}
@media(max-width:600px){.cj-topbar{height:63px;min-height:63px;gap:8px;padding:8px 10px;flex-wrap:wrap;position:relative}.cj-topbar>.cj-icon{width:30px;min-width:30px}.cj-top-title{max-width:150px}.cj-top-title>strong{font-size:12px}.cj-top-title>span{font-size:8px}.cj-top-progress{position:absolute;bottom:0;left:0;right:0;margin:0;max-width:none;height:3px;border-radius:0}.cj-top-tools .cj-icon{width:34px;min-width:34px}.cj-notes-button{padding:8px 10px;font-size:11px!important;gap:5px}.cj-notes-button svg{width:16px}.cj-fullscreen{display:none}.cj-feed-inner{padding:26px 14px 0}.cj-intro{margin-bottom:25px}.cj-intro h1{font-size:29px}.cj-intro p{font-size:11px}.cj-teach{display:flex;flex-direction:column}.cj-picture{padding:8px 18px;max-height:225px}.cj-picture .cj-art{height:195px}.cj-art-caption{font-size:7px}.cj-explanation{padding:23px 24px}.cj-explanation h2{font-size:21px}.cj-explanation .note-p{font-size:16px;line-height:1.75}.cj-card{border-radius:16px;margin-bottom:22px}.cj-card-foot{padding:12px 16px}.cj-button{font-size:13px!important;padding:10px 17px;gap:8px}.cj-card:has(>.cj-question-art){padding:22px 20px}.cj-question-art{max-height:none}.cj-question-art .cj-art{height:140px}.cj-card>h2{font-size:22px;line-height:1.4;margin:12px 0 22px}.cj-tile{font-size:14px!important;min-height:58px;padding:13px}.cj-type-answer{gap:7px}.cj-type-answer input{font-size:18px;padding:13px 11px}.cj-type-answer .cj-button{padding:10px}.cj-type-answer .cj-button svg{display:none}.cj-match{grid-template-columns:1fr 1.2fr;gap:13px}.cj-match .cj-tile{padding:12px 8px;font-size:12px!important;min-height:80px}.cj-sort-bins{gap:12px}.cj-sort-bins .cj-tile{font-size:13px!important;padding:13px 10px}.cj-feedback{padding:16px}.cj-feedback p{font-size:13px}.cj-past-question{padding:20px 18px;gap:12px}.cj-past-question h3{font-size:14px}.cj-stats{gap:8px}.cj-stats>div{padding:17px 6px}.cj-stats strong{font-size:24px}.cj-stats span{font-size:9px;line-height:1.5}.cj-summary h1{font-size:36px}.cj-summary>p{font-size:13px}.cj-summary-actions>.cj-button{margin:0;width:100%;max-width:none}.cj-notes-dialog{width:100vw;height:100dvh;margin:0;border:0;border-radius:0}.cj-notes-head{padding:18px 20px}.cj-notes-scroll{padding:18px 23px 40px}.cj-book-section .term{grid-template-columns:1fr;gap:6px}.cj-feed-end{height:100px}}
@media(prefers-reduced-motion:reduce){.cj-shell *, .cj-shell *::before,.cj-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.cj-teaching-tip{background:#f2effa;border-left:3px solid #b3a3d8;border-radius:3px 12px 12px 3px;padding:17px 21px;margin:15px 0;line-height:1.75;color:#655780;font-size:15px}.cj-teaching-tip>strong{font-size:11px;text-transform:uppercase;letter-spacing:1px}.cj-teaching-tip p{margin:7px 0 0}.cj-guidance>.cj-choices{margin:18px 0}.cj-guidance>.cj-choices .cj-tile{background:#fffdf8;color:#776650}

.cj-summary{padding-top:20px}.cj-celebration{height:70px}.cj-celebration>div{width:64px;height:64px;left:78px;top:0;border-radius:22px}.cj-celebration>div svg{width:33px;height:33px}.cj-summary-kicker{margin-top:14px!important}.cj-summary h1{font-size:38px;margin:12px 0}.cj-summary h1 br{display:none}.cj-stats{margin:20px 0 16px}.cj-stats>div{padding:15px 10px;gap:6px}.cj-stats strong{font-size:27px;line-height:1.2}.cj-summary-ideas{margin:12px 0}.cj-summary-actions{margin-top:16px}.cj-next-lesson{margin-top:12px!important}
@media(max-width:600px){.cj-summary h1{font-size:32px}.cj-summary h1 br{display:block}.cj-stats>div{padding:15px 5px}.cj-stats strong{font-size:24px}}

.cj-explanation .note-l{padding-left:20px;margin:14px 0 0;font-size:16px;line-height:1.7;color:#575368}.cj-explanation .note-l li{padding-left:4px;margin:10px 0}.cj-explanation .note-l li::marker{color:#9c87c5}.cj-book-concept{padding:12px 0 18px;max-width:690px}.cj-book-concept h3{font-size:19px;margin:8px 0 12px}.cj-book-concept .note-l{line-height:1.8;padding-left:22px}.cj-book-concept li{margin:9px 0}.cj-book-detail{border:1px solid #e3deec;border-radius:12px;padding:16px;margin:20px 0}.cj-book-detail>summary{cursor:pointer;color:#75628e;font-weight:600}.cj-book-detail[open]>summary{margin-bottom:20px}

.cell-term{display:inline;background:none!important;color:inherit!important;border:0!important;border-bottom:1px dotted #796199!important;border-radius:0!important;padding:0!important;font:inherit!important;font-weight:600!important;line-height:inherit!important;cursor:help;box-shadow:none!important;text-align:inherit;vertical-align:baseline;min-height:0!important;letter-spacing:inherit;text-transform:none}@media(hover:hover) and (pointer:fine){.cell-term:hover,.cell-term:focus-visible{color:#62449b!important;background:#eee7fa!important;outline:2px solid #b8a0dd;outline-offset:2px}}.cell-definition{position:fixed;z-index:100000;box-sizing:border-box;padding:16px 18px;border:1px solid #d4c5e8;border-radius:12px;background:#fff;color:#3d344d;box-shadow:0 8px 36px #36214730;font:15px/1.6 'DM Sans',Arial,sans-serif;text-align:left;max-height:calc(100dvh - 24px);overflow:auto}.cell-definition strong{display:block;font-size:16px;margin-bottom:5px}.cell-definition p{margin:0}.cell-book-index{display:grid;gap:18px;margin:22px 0 34px}.cell-book-index>div{display:flex;flex-wrap:wrap;gap:8px}.cell-book-index strong{width:100%;font-size:16px}.cell-book-index button{border:1px solid #ddd4e9;background:#faf7ff;padding:9px 12px;border-radius:8px;font:inherit;font-size:13px;cursor:pointer;text-align:left;color:#665079}.cell-book-subsection{scroll-margin-top:20px;outline:none;margin:30px 0}.cell-book-subsection>h3{font-size:22px;line-height:1.4;border-bottom:1px solid #e8e1ef;padding-bottom:14px;color:#574468}.cell-book-illustrated{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:24px;align-items:center;max-width:none!important;border-bottom:1px solid #f0edf4;padding:22px 0!important}.cell-book-illustrated figure{margin:0;background:#f6f3fa;border-radius:14px;padding:10px}.cell-book-illustrated figure svg{display:block;width:100%;height:auto}.cell-book-illustrated figcaption{font-size:9px;text-align:center;color:#8b8297;line-height:1.5;padding:5px 0}.cj-book-concept h4{font-size:18px;margin:8px 0 12px;color:#4c415e}.cell-book-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.cell-textbook .cj-book-section{margin-top:20px}.cell-book-subsection:focus-visible{outline:2px solid #a88bc9;outline-offset:6px}.cell-book-native{max-width:none}.cell-textbook .note-l{font-size:16px}.cell-textbook .cj-book-section>h2{font-size:25px}
@media(max-width:600px){.cell-book-illustrated{grid-template-columns:1fr;gap:12px}.cell-book-illustrated figure{max-width:240px;width:100%;box-sizing:border-box;justify-self:center}.cell-book-subsection>h3{font-size:20px}.cell-book-actions .btn{white-space:normal}.cell-textbook .card{padding:20px}.cell-term{touch-action:manipulation}}

/* Keep all three learning modes reachable on narrow screens. */
.cj-top-title{min-width:0;max-width:260px}.cj-top-title strong{overflow:hidden;text-overflow:ellipsis}.cj-picture .note-svg{width:100%;margin:0}.cj-picture svg{max-width:100%;height:auto}.cj-native .cj-explanation{max-width:760px;margin:auto;width:100%;box-sizing:border-box}
@media(max-width:900px){.cj-topbar{height:auto;min-height:72px;flex-wrap:wrap}.cj-top-tools{flex-wrap:wrap}.cj-top-progress{min-width:30px}.cj-top-title{flex:1;max-width:none}.cj-top-tools{justify-content:flex-end}}
@media(max-width:600px){.cj-topbar{min-height:96px;padding-bottom:10px}.cj-top-tools{width:100%;justify-content:center;margin-left:0}.cj-top-title{max-width:calc(100% - 48px)}.cj-top-title strong{white-space:nowrap}.cj-top-tools .cj-notes-button{min-height:34px}.cj-picture{max-height:none}.cj-picture .note-svg svg{max-height:260px;width:100%}}

.cj-native{min-height:0}.cj-native .cj-explanation{min-height:160px}

/* Cell Biology textbook pages show their own labelled square diagram beside the text, so give it room to be read. */
.cell-book-illustrated{grid-template-columns:minmax(220px,320px) minmax(0,1fr)}
@media(max-width:600px){.cell-book-illustrated{grid-template-columns:1fr}.cell-book-illustrated figure{max-width:340px}}

/* No transition between a touch release and the next question. Keyboard focus stays visible. */
@media(hover:none), (pointer:coarse){.cj-shell button{transition:none}.cj-button:active{transform:none;border-bottom-width:3px}}
/* Motion, 5 October 2026 (owner's Seneca comparison). The script adds these classes once, to a card that has just
   arrived, a page that has just turned or feedback that has just appeared, so nothing replays when a card is redrawn.
   The touch rules above (no hover colour, no button transitions on touch screens) are unchanged. */
.cj-card.cj-arrive{animation:cj-arrive .42s cubic-bezier(.22,.61,.36,1) both}
@keyframes cj-arrive{from{opacity:0}to{opacity:1}}
.cj-teach.cj-page-next{animation:cj-page-next .26s cubic-bezier(.22,.61,.36,1) both}
.cj-teach.cj-page-back{animation:cj-page-back .26s cubic-bezier(.22,.61,.36,1) both}
@keyframes cj-page-next{from{opacity:.3;transform:translate3d(36px,0,0)}to{opacity:1;transform:none}}
@keyframes cj-page-back{from{opacity:.3;transform:translate3d(-36px,0,0)}to{opacity:1;transform:none}}
.cj-feedback.cj-reveal{animation:cj-reveal .22s ease-out both}
@keyframes cj-reveal{from{opacity:0}to{opacity:1}}
.cj-card.cj-held{box-shadow:none}
.cj-tile.cj-picked-right,.cj-tile.cj-picked-right:disabled{background:#edf6ed;border-color:#9fcaa9;border-bottom-color:#7fb68c;color:#456f52;opacity:1}
.cj-tile.cj-picked-wrong,.cj-tile.cj-picked-wrong:disabled{background:#fff4e3;border-color:#ebc994;border-bottom-color:#ddb06a;color:#8a6232;opacity:1}
.cj-tile.cj-picked-right .cj-choice-letter{border-color:#9fcaa9;color:#456f52}
.cj-tile.cj-picked-wrong .cj-choice-letter{border-color:#ebc994;color:#8a6232}
@media(prefers-reduced-motion:reduce){.cj-card.cj-arrive,.cj-teach.cj-page-next,.cj-teach.cj-page-back,.cj-feedback.cj-reveal{animation:none}}
/* ---------- one lesson per specification point (F20 and F21, 6 October 2026) ----------
   The top bar names the specification point, its title and the lesson number, and opens the specification. Wide
   landscape screens (desktop, iPad landscape) show the specification as a calm side panel that can be hidden; phones
   and iPad portrait open it as a drawer from the top bar. Nothing here moves the lesson feed. */
.cj-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cj-stage{flex:1;min-height:0;display:flex}
.cj-stage>.cj-feed{flex:1;min-width:0}
.cj-spec-toggle{border:0;background:transparent;color:inherit;text-align:left;padding:6px 10px;margin:-6px -10px;border-radius:12px;min-width:0;max-width:440px}
.cj-spec-toggle>strong{display:flex;align-items:center;gap:6px;min-width:0}
.cj-top-code{font-family:'Space Grotesk',sans-serif;font-variant-numeric:tabular-nums;color:var(--cj-purple);font-weight:700;letter-spacing:.2px;flex-shrink:0}
.cj-top-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.cj-spec-toggle>strong>svg{width:16px;height:16px;color:#9a9bad;transition:transform .2s ease}
.cj-spec-toggle[aria-expanded="true"]>strong>svg{transform:rotate(180deg)}
@media(hover:hover) and (pointer:fine){.cj-spec-toggle:hover{background:#f5f1ff}}
.cj-intro-code{color:var(--cj-purple);font-variant-numeric:tabular-nums;letter-spacing:0}
.cj-waiting{text-align:center;color:var(--cj-muted);margin:80px 0}
.cj-specnav{display:none}
.cj-specnav[hidden]{display:none!important}
.cj-specnav-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 18px 14px 22px;border-bottom:1px solid #eeedf5;flex-shrink:0}
.cj-specnav-kicker{display:block;font-size:10px;letter-spacing:1.4px;color:#5f6178;font-weight:650}
.cj-specnav-head h2{font-family:'Space Grotesk',sans-serif;font-size:18px;line-height:1.25;margin:5px 0 4px;color:var(--cj-ink)}
.cj-specnav-head p{margin:0;font-size:12px;color:#5f6178}
.cj-specnav-scroll{position:relative;overflow-y:auto;overscroll-behavior:contain;padding:10px 10px 28px;flex:1;min-height:0}
.cj-nav-list{list-style:none;margin:0;padding:0;position:relative}
.cj-nav-list::before{content:'';position:absolute;left:24px;top:22px;bottom:22px;width:2px;border-radius:2px;background:#ecebf4}
.cj-nav-item{position:relative;margin:0}
.cj-nav-link{display:flex;align-items:flex-start;gap:12px;width:100%;border:0;background:transparent;color:var(--cj-ink);text-align:left;padding:10px 12px 10px 14px;border-radius:12px;position:relative}
.cj-shell .cj-nav-link:focus-visible{outline:3px solid #6356b7;outline-offset:-3px}
@media(hover:hover) and (pointer:fine){.cj-nav-link:hover{background:#f7f5fe}}
.cj-nav-mark{width:22px;height:22px;flex:0 0 22px;margin-top:6px;border-radius:50%;border:2px solid #cfd1e1;background:#fff;box-shadow:0 0 0 4px #fff;display:flex;align-items:center;justify-content:center;position:relative;z-index:1}
.cj-nav-started .cj-nav-mark{border-color:var(--cj-purple);background:linear-gradient(90deg,var(--cj-purple) 50%,#fff 50%)}
.cj-nav-done .cj-nav-mark{border-color:var(--cj-purple);background:var(--cj-purple);color:#fff}
.cj-nav-done .cj-nav-mark svg{width:13px;height:13px;stroke-width:3}
.cj-nav-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.cj-nav-code{font-family:'Space Grotesk',sans-serif;font-variant-numeric:tabular-nums;font-size:12px;font-weight:700;color:#6152c2;letter-spacing:.2px}
.cj-nav-title{font-size:14px;line-height:1.35}
.cj-nav-also{font-size:11.5px;color:#5f6178;line-height:1.4}
.cj-nav-here .cj-nav-link{background:#f1eefc}
.cj-nav-here .cj-nav-link::before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:var(--cj-purple)}
.cj-nav-here .cj-nav-title{font-weight:650}
.cj-nav-here .cj-nav-mark{box-shadow:0 0 0 4px #f1eefc}
@media (min-width:1000px) and (min-aspect-ratio:1/1){
.cj-specnav{display:flex;flex-direction:column;width:312px;flex:0 0 312px;min-height:0;background:#fff;border-right:1px solid #e6e8f0}
}
.cj-specnav-dialog{position:fixed;top:0;margin:0 auto;width:min(560px,100vw);max-width:none;max-height:min(86dvh,1120px);border:0;border-radius:0 0 22px 22px;padding:0;background:#fff;color:var(--cj-ink,#30304a);font-family:'DM Sans',Arial,sans-serif;box-shadow:0 24px 80px #2c214b40;overflow:hidden}
.cj-specnav-dialog[open]{display:flex;flex-direction:column;animation:cj-drawer .24s cubic-bezier(.22,.61,.36,1) both}
.cj-specnav-dialog::backdrop{background:#30284170;backdrop-filter:blur(4px)}
.cj-specnav-dialog button:focus-visible{outline:3px solid #6356b7;outline-offset:-3px}
@keyframes cj-drawer{from{opacity:0;transform:translate3d(0,-18px,0)}to{opacity:1;transform:none}}
.cj-lesson-notes-part{font-family:'Space Grotesk',sans-serif;font-size:13px;letter-spacing:.4px;text-transform:uppercase;color:#5f5880;margin:28px 0 6px}
.cj-lesson-notes:first-of-type .cj-lesson-notes-part{margin-top:8px}
.cj-notes-more{margin:30px 0 4px;display:flex}
@media(max-width:600px){
.cj-spec-toggle{max-width:none;padding:4px 8px;margin:-4px -8px}
.cj-specnav-dialog{width:100vw;border-radius:0 0 18px 18px;max-height:88dvh}
}
@media(prefers-reduced-motion:reduce){.cj-specnav-dialog[open]{animation:none}.cj-spec-toggle>strong>svg{transition:none}}

/* Keep reading history in place. Only the feed moves vertically between steps. */
.cj-feed{overflow-anchor:none}
.cj-card{margin-bottom:32px;scroll-margin-top:max(72px,12vh)}
.cj-card.cj-previous{opacity:.2;transition:opacity .32s ease}
.cj-card.cj-previous:focus-within,.cj-browsing .cj-card.cj-previous{opacity:1}
.cj-card-foot{min-height:76px}
.cj-card.cj-previous .cj-feedback-continue{visibility:hidden;pointer-events:none}
.cj-summary{animation:none;scroll-margin-top:max(72px,12vh)}
@media(max-width:600px){.cj-card{margin-bottom:32px;scroll-margin-top:24px}.cj-card-foot{min-height:72px}.cj-summary{scroll-margin-top:24px}}
