/* Embedded Student sample. Uses existing Equavo typography, palette and panel rhythm. */
.student-demo{background:var(--biscuit);border:1px solid var(--clay);border-radius:24px;overflow:hidden;scroll-margin-top:145px;color:var(--cocoa)}
.demo-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 32px;background:var(--chocolate);color:var(--oat)}
.demo-brand{display:flex;align-items:center;gap:12px;font-size:15px;letter-spacing:.15em;font-weight:600}.demo-brand img{height:28px;width:20px;object-fit:contain}.demo-brand small{display:inline-block;margin-left:14px;letter-spacing:0;font-size:14px;font-weight:400;border-left:1px solid var(--clay);padding-left:16px}.demo-badge{font-size:12px;line-height:1.5;color:var(--oat)}
.demo-nav{display:flex;gap:6px;padding:10px 32px;border-bottom:1px solid var(--toast);background:var(--oat)}.demo-nav button{min-height:44px;background:transparent;border-radius:12px;padding:10px 22px;font-size:14px}.demo-nav button[aria-current=page]{background:var(--chocolate);color:var(--oat)}.demo-nav button:hover:not([aria-current=page]){background:var(--biscuit)}
.demo-content{padding:32px;min-height:510px}.demo-heading{max-width:72ch;margin-bottom:28px}.demo-kicker{font-size:11px;line-height:1.5;letter-spacing:.1em;font-weight:600;color:var(--chocolate)}.demo-heading h3{font-size:32px;line-height:1.25;letter-spacing:-.035em;margin-top:12px}.demo-heading>p:last-child:not(.demo-kicker){font-size:16px;line-height:1.65;margin-top:16px;color:var(--chocolate)}
.student-demo h4{font-size:24px;font-weight:500;line-height:1.3;letter-spacing:-.03em;margin:0 0 12px}.student-demo button{font:inherit}.student-demo button:disabled{opacity:.5;cursor:not-allowed}.student-demo button:focus-visible,.student-demo a:focus-visible,.student-demo input:focus-visible,.student-demo summary:focus-visible{outline:3px solid var(--cocoa);outline-offset:3px}.demo-nav button[aria-current=page]:focus-visible,.demo-primary:focus-visible{outline-color:var(--clay)!important}
.demo-primary,.demo-secondary,.demo-text{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;border-radius:12px;padding:13px 20px;font-size:14px!important;font-weight:500;background:var(--chocolate);color:var(--oat);line-height:1.5}.demo-primary:hover:not(:disabled){background:var(--cocoa)}.demo-primary svg{width:20px;height:20px}.demo-secondary{background:var(--oat);color:var(--cocoa);border:1px solid var(--clay)}.demo-secondary:hover:not(:disabled){background:var(--toast)}.demo-text{padding:10px 0;border-radius:0;background:transparent;color:var(--cocoa);width:fit-content;text-decoration:underline;text-underline-offset:5px}.demo-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}
.demo-home-grid{display:grid;grid-template-columns:1.75fr 1fr;gap:22px}.demo-recommend{display:grid;grid-template-columns:1.35fr .8fr;gap:30px;align-items:center;background:var(--chocolate);color:var(--oat);border-radius:20px;padding:28px}.demo-recommend .demo-kicker{color:var(--toast);font-size:10px}.demo-recommend h4{font-size:36px;margin:18px 0;letter-spacing:-.04em}.demo-recommend p:not(.demo-kicker){font-size:15px;line-height:1.65;color:var(--oat)}.demo-recommend .demo-primary{background:var(--oat);color:var(--cocoa);margin-top:24px}.demo-recommend .demo-primary:hover{background:var(--toast)}.demo-algebra-art{padding:25px 0;display:flex;flex-direction:column;align-items:center;gap:24px}.demo-algebra-art>div{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.demo-algebra-art>span{font-size:12px;line-height:1.6;text-align:center}.demo-algebra-art .algebra-tile{background:var(--biscuit);color:var(--cocoa);width:32px;height:74px;border-color:var(--oat)}.demo-algebra-art .algebra-tile.unit{height:30px;width:30px}
.demo-reflex-card{background:var(--toast);border-radius:20px;padding:28px;display:flex;flex-direction:column;align-items:start}.demo-reflex-card p:not(.demo-kicker){font-size:15px;margin-bottom:24px;line-height:1.65}.demo-reflex-card h4{font-size:28px;margin-top:24px}.demo-reflex-card .demo-secondary{margin-top:auto}.demo-number-art{display:flex;align-items:center;gap:12px;margin-top:25px}.demo-number-art span{display:grid;place-items:center;width:54px;height:62px;border-radius:10px;background:var(--oat);font-size:24px;font-weight:500}.demo-number-art b{font-weight:400}
.demo-path{margin-top:26px;border-top:1px solid var(--clay);padding-top:24px}.demo-path>span{font-size:11px;letter-spacing:.1em}.demo-path>div{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:14px;font-size:14px}.demo-path strong{font-weight:500;background:var(--oat);padding:10px 16px;border:1px solid var(--clay);border-radius:12px}.demo-path i{font-style:normal}.demo-footnote{border-top:1px solid var(--toast);padding:18px 32px;background:var(--oat);font-size:12px;color:var(--chocolate);line-height:1.6}
.demo-lesson-top{display:flex;justify-content:space-between;align-items:center;gap:24px}.demo-lesson-top>div>p:last-child{font-size:14px;margin-top:7px}.demo-stage-track{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:22px 0 32px}.demo-stage-track span{height:4px;background:var(--toast);border-radius:3px}.demo-stage-track .visited{background:var(--chocolate)}.demo-equation{background:var(--oat);border:1px solid var(--toast);border-radius:16px;padding:28px;text-align:center;font-size:38px;letter-spacing:-.025em;line-height:1.4;margin:24px 0;font-variant-numeric:tabular-nums}.demo-overview p{margin:20px 0;max-width:65ch;font-size:16px}.demo-options{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.demo-options button{min-height:52px;border:1px solid var(--clay);border-radius:12px;padding:14px 20px;background:var(--oat);font-size:16px;line-height:1.5;flex:1 1 150px}.demo-options button[aria-pressed=true]{background:var(--chocolate);color:var(--oat);box-shadow:inset 0 0 0 2px var(--cocoa)}.demo-options button:hover:not([aria-pressed=true]){background:var(--toast)}
.demo-feedback{background:var(--oat);border-left:3px solid var(--chocolate);border-radius:0 12px 12px 0;padding:20px 24px;margin:24px 0}.demo-feedback strong{font-size:17px;font-weight:600}.demo-feedback p{font-size:16px;color:var(--chocolate);line-height:1.65;margin-top:8px}.demo-feedback p b{font-weight:600}.demo-next{border-top:1px solid var(--clay);display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:32px;padding-top:24px}.demo-next>p{font-size:14px;max-width:45ch}.demo-next .demo-primary{flex-shrink:0}.demo-model{background:var(--oat);border:1px solid var(--toast);border-radius:16px;padding:28px;margin:24px 0}.demo-model>p{font-size:14px;line-height:1.6;margin-top:20px;color:var(--chocolate)}.demo-model>.demo-secondary{margin-top:26px}.algebra-row{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:20px;font-size:32px}.algebra-tile{display:inline-flex;align-items:center;justify-content:center;width:46px;height:102px;border:1.5px solid var(--clay);border-radius:9px;background:var(--toast);font-size:26px;color:var(--cocoa);flex-shrink:0}.algebra-tile.unit{width:42px;height:42px;background:var(--biscuit);border-radius:6px;font-size:21px}.algebra-groups{display:flex;justify-content:center;align-items:center;gap:22px;flex-wrap:wrap}.algebra-groups>div{display:flex;flex-direction:column;align-items:center;gap:16px}.algebra-groups>div>span{font-size:16px}.algebra-groups>div>div{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:center}.algebra-groups>b{font-size:24px;font-weight:400}.algebra-groups.grouped{gap:36px}.demo-question{margin-top:28px}.demo-question h4{font-size:22px}.demo-values{border:0;padding:0;display:flex;gap:12px}.demo-values legend{font-size:15px;margin-bottom:14px}.demo-values button{background:var(--biscuit);border:1px solid var(--clay);border-radius:12px;min-width:58px;min-height:48px;font-size:19px}.demo-values button[aria-pressed=true]{background:var(--chocolate);color:var(--oat)}.demo-compare{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;text-align:center;margin-top:28px}.demo-compare>div{padding:24px;background:var(--biscuit);border-radius:12px;display:flex;flex-direction:column;gap:10px}.demo-compare span{font-size:20px}.demo-compare strong{font-size:46px;line-height:1.2;font-weight:500}.demo-compare small{font-size:14px}.demo-compare>b{font-size:28px;font-weight:400}
.demo-answer{margin-top:24px}.demo-answer label{display:block;font-size:14px;margin-bottom:10px}.demo-answer>div{display:flex;gap:14px;align-items:stretch}.demo-answer input{min-width:0;flex:1;background:var(--oat);border:1px solid var(--clay);border-radius:12px;padding:14px 18px;font-size:22px;color:var(--cocoa);line-height:1.4}.demo-answer input::placeholder{color:var(--clay);font-size:16px}.demo-help-row{margin-top:14px}.demo-hint{font-size:15px;border-left:2px solid var(--clay);padding:12px 20px;margin-top:12px;max-width:65ch}.demo-submitted{padding:20px 24px;background:var(--toast);border-radius:12px;display:flex;justify-content:space-between;gap:22px;align-items:center;margin-top:20px}.demo-submitted span{font-size:14px}.demo-submitted strong{font-size:24px;overflow-wrap:anywhere;font-weight:500}.demo-results-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0}.demo-results-grid article{background:var(--oat);border:1px solid var(--toast);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:16px}.demo-results-grid strong{font-size:38px;font-weight:500;letter-spacing:-.04em;line-height:1.2}.demo-results-grid span{font-size:15px;line-height:1.6}.demo-result-note{font-size:14px!important;line-height:1.7;color:var(--chocolate);max-width:75ch;margin-top:24px!important}.demo-progress-list article{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:28px;background:var(--oat);border-radius:16px;margin-top:20px}.demo-progress-list article>div>span{font-size:12px}.demo-progress-list article h4{margin:12px 0;font-size:26px}.demo-progress-list article p{font-size:15px;max-width:60ch;margin-top:8px}.demo-progress-list .demo-secondary{flex-shrink:0}
.demo-details{border-block:1px solid var(--clay);margin-top:20px}.demo-details summary{font-size:16px;padding:18px 0;line-height:1.5;min-height:56px;display:list-item;list-style:disclosure-closed;margin-left:20px}.demo-details[open] summary{list-style:disclosure-open}.demo-details summary::-webkit-details-marker{display:inline}.demo-details p{font-size:15px;padding:0;margin:12px 0 20px;line-height:1.7}.demo-details b{font-size:15px;font-weight:600}.demo-details .demo-route{margin:12px 0 24px}
.demo-reflex-intro{display:grid;grid-template-columns:.9fr 1.1fr;gap:36px;align-items:center}.demo-reflex-intro p{font-size:16px;line-height:1.7;margin-bottom:14px}.demo-target-example{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;background:var(--oat);padding:40px 24px;border-radius:20px;font-size:28px}.demo-target-example span{background:var(--toast);padding:18px 15px;border-radius:12px}.demo-target-example b{font-weight:400}.demo-target-example strong{font-weight:500}.demo-game-meta{display:flex;justify-content:space-between;gap:24px;align-items:center;font-size:14px;margin-bottom:14px}.demo-game-board{background:var(--oat);border-radius:20px;padding:28px;border:1px solid var(--toast)}.demo-target{display:flex;flex-direction:column;align-items:center;gap:7px}.demo-target>span{font-size:12px;letter-spacing:.12em}.demo-target strong{font-size:62px;line-height:1.15;font-weight:500;letter-spacing:-.04em}.demo-target small{font-size:14px}.demo-game-prompt{font-size:15px;line-height:1.6;margin:22px 0;text-align:center;min-height:26px}.demo-number-tiles{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:24px 0}.demo-number-tiles button{background:var(--biscuit);border:1px solid var(--clay);border-radius:14px;min-height:90px;padding:14px 6px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center}.demo-number-tiles strong{font-size:32px;font-weight:500;line-height:1.1}.demo-number-tiles small{font-size:11px;min-height:16px}.demo-number-tiles button[aria-pressed=true]{background:var(--chocolate);color:var(--oat);box-shadow:inset 0 0 0 2px var(--cocoa)}.demo-number-tiles button:disabled{opacity:.75}.demo-used{display:grid;place-items:center;font-size:13px;min-height:90px;border:1px dashed var(--toast);border-radius:14px;color:var(--clay)}.demo-game-controls{display:flex;justify-content:space-between;gap:20px;align-items:start;flex-wrap:wrap}.demo-operators{display:flex;gap:10px}.demo-operators button{min-width:56px;min-height:52px;border:1px solid var(--clay);border-radius:12px;font-size:28px;background:var(--biscuit);line-height:1}.demo-operators button[aria-pressed=true]{background:var(--chocolate);color:var(--oat)}.demo-game-tools{display:flex;gap:12px}.demo-game-tools button{font-size:13px!important;padding-inline:15px}.demo-route{padding:0;list-style:none;border-top:1px solid var(--toast);margin:24px 0 0;display:flex;flex-wrap:wrap;gap:10px}.demo-route li{padding:12px 16px;margin:12px 0 0!important;font-size:19px;line-height:1.5;background:var(--biscuit);border-radius:10px}.demo-route b{font-size:inherit;font-weight:600}.demo-empty-route{font-size:14px;padding:20px 0 0;border-top:1px solid var(--toast);margin-top:24px}.demo-game-result{padding:24px;background:var(--chocolate);color:var(--oat);border-radius:16px;margin-top:22px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}.demo-game-result>strong{font-size:24px;font-weight:500}.demo-game-result>p{font-size:15px;line-height:1.6;flex:1 1 100%;order:3}.demo-game-result .demo-primary{background:var(--oat);color:var(--cocoa)}.demo-game-result .demo-primary:hover{background:var(--toast)}
.platform-gallery{margin-top:28px;border-block:1px solid var(--toast)}.platform-gallery>summary{font-size:16px;display:list-item;list-style:disclosure-closed;margin-left:20px;padding-block:18px}.platform-gallery[open]>summary{list-style:disclosure-open}.platform-gallery>summary::-webkit-details-marker{display:inline}.platform-gallery .screen-tabs{margin-top:16px}.platform-gallery p{padding:0}.platform-gallery .caption{margin:12px 0 24px}.student-chapter>.wrap>.caption{margin-top:18px;max-width:80ch}
@media(max-width:1050px){.demo-home-grid{grid-template-columns:1.4fr 1fr}.demo-recommend{grid-template-columns:1fr}.demo-algebra-art{display:none}.demo-reflex-intro{grid-template-columns:1fr}.demo-game-tools{margin-top:4px}}
@media(max-width:760px){.student-demo{border-radius:18px}.demo-topbar{padding:20px 20px;flex-wrap:wrap;gap:12px}.demo-brand small{font-size:13px;margin-left:8px;padding-left:12px}.demo-badge{font-size:11px}.demo-nav{padding:8px;gap:3px;justify-content:space-between}.demo-nav button{font-size:13px;padding:10px 12px;flex:1}.demo-content{padding:24px 20px;min-height:0}.demo-heading h3{font-size:28px}.demo-heading>p:last-child:not(.demo-kicker){font-size:15px}.demo-home-grid{grid-template-columns:1fr}.demo-recommend{padding:24px;gap:20px}.demo-recommend h4{font-size:32px}.demo-reflex-card{padding:24px}.demo-reflex-card h4{font-size:27px}.demo-number-art{margin-top:18px}.demo-number-art span{height:50px;width:48px;font-size:22px}.demo-path>div{gap:12px;font-size:13px}.demo-path>div>span{flex-basis:100%}.demo-path i{display:none}.demo-footnote{padding:16px 20px;font-size:11px}.demo-lesson-top{align-items:start;gap:14px}.demo-lesson-top .demo-text{font-size:12px!important;max-width:85px;line-height:1.6}.demo-lesson-top>div>p:last-child{font-size:13px}.demo-kicker{font-size:10px}.demo-options{gap:10px}.demo-options button{flex:1 1 110px;font-size:15px;padding:12px}.demo-equation{font-size:29px;padding:22px 12px}.demo-next{flex-wrap:wrap;gap:16px;margin-top:26px;padding-top:22px}.demo-next>div{flex:1}.demo-next .demo-primary{max-width:100%;font-size:13px!important}.demo-primary,.demo-secondary{padding:12px 15px;gap:10px}.demo-feedback{padding:18px}.demo-feedback p{font-size:15px}.demo-model{padding:22px 16px}.algebra-row{gap:12px;font-size:26px}.algebra-tile{width:35px;height:80px;font-size:23px}.algebra-tile.unit{width:32px;height:32px;font-size:18px}.algebra-groups{gap:14px}.algebra-groups>div>div{gap:5px}.algebra-groups.grouped{gap:25px}.algebra-groups>div>span{font-size:14px}.demo-question h4{font-size:21px}.demo-compare{gap:12px}.demo-compare>div{padding:18px 8px}.demo-compare span{font-size:17px}.demo-compare strong{font-size:34px}.demo-compare small{font-size:12px}.demo-compare>b{font-size:24px}.demo-answer>div{flex-direction:column}.demo-answer input{width:100%;font-size:20px}.demo-answer .demo-primary{align-self:start}.demo-results-grid{gap:12px}.demo-results-grid article{padding:20px 16px}.demo-results-grid strong{font-size:30px}.demo-results-grid span{font-size:13px}.demo-progress-list article{flex-direction:column;align-items:start;padding:22px;gap:20px}.demo-progress-list article h4{font-size:24px}.demo-progress-list article p{font-size:14px}.demo-reflex-intro{gap:24px}.demo-reflex-intro p{font-size:15px}.demo-target-example{padding:28px 16px;gap:10px;font-size:23px}.demo-target-example span{padding:15px 12px}.demo-game-board{padding:22px 16px}.demo-target strong{font-size:54px}.demo-number-tiles{grid-template-columns:repeat(3,1fr);gap:10px}.demo-number-tiles button,.demo-used{min-height:78px;border-radius:12px}.demo-number-tiles strong{font-size:27px}.demo-game-controls{gap:18px}.demo-operators{gap:8px;width:100%}.demo-operators button{min-width:0;flex:1;font-size:26px;min-height:48px}.demo-game-tools{flex-wrap:wrap}.demo-game-prompt{font-size:14px}.demo-game-meta{gap:16px}.demo-game-result{padding:22px}.demo-game-result>strong{font-size:22px}.demo-game-result .demo-primary{order:4}.demo-route li{font-size:17px;padding:10px 12px}.demo-details summary{font-size:14px}.demo-submitted{flex-direction:column;align-items:start;gap:10px}.platform-gallery>summary{font-size:15px}}
@media(max-width:360px){.demo-content{padding-inline:16px}.demo-nav button{padding-inline:8px;font-size:12px}.demo-topbar{padding-inline:16px}.demo-recommend{padding:20px}.demo-recommend h4{font-size:29px}.demo-heading h3{font-size:26px}.demo-equation{font-size:25px}.demo-next{flex-direction:column;align-items:stretch}.demo-next .demo-primary{width:100%}.demo-results-grid{grid-template-columns:1fr}.demo-compare{gap:8px}.demo-compare span{font-size:15px}.demo-model{padding-inline:12px}.algebra-groups.grouped .algebra-tile{width:31px}.demo-game-board{padding-inline:12px}}

/* Review v4: readable teaching copy and retained browser focus. */
@media(max-width:760px){.demo-heading>p:last-child:not(.demo-kicker),.demo-feedback p,.demo-reflex-intro p,.demo-game-prompt,.demo-recommend p:not(.demo-kicker),.demo-reflex-card p:not(.demo-kicker){font-size:16px}.demo-footnote{font-size:12px}.demo-badge{font-size:12px}}
