.scratch-book{position:relative;display:flex;flex:1;min-height:0;flex-direction:column;gap:.75rem}.scratch-book-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem}.scratch-book-band .scratch-toolbar{display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:.375rem .75rem;padding:0;border:0}.scratch-book-pager{display:flex;align-items:center;gap:.375rem;color:var(--color-ink-secondary);font:700 .8125rem var(--font-sans);white-space:nowrap}.scratch-book-add,.scratch-book-turn{display:inline-flex;align-items:center;justify-content:center;gap:.25rem;min-width:2.25rem;min-height:2.25rem;border:1px solid var(--color-line);border-radius:calc(infinity * 1px);background:var(--color-surface);color:var(--color-forest-800);font:700 .8125rem var(--font-sans);cursor:pointer}.scratch-book-add{padding:0 .75rem}.scratch-book-add:disabled,.scratch-book-turn:disabled{opacity:.35;cursor:default}.scratch-book-add:hover:not(:disabled),.scratch-book-turn:hover:not(:disabled){background:var(--color-sage-100)}.scratch-book-spread{display:grid;flex:1;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.scratch-book-page{position:relative;display:flex;min-width:0;min-height:0;flex-direction:column;gap:.5rem;padding:.75rem .75rem .5rem .5rem;border-radius:.25rem 1rem .5rem .25rem/.25rem .5rem .25rem .25rem;background:var(--color-paper-50);box-shadow:0 1px 3px rgb(0 0 0/.08),inset 0 0 0 1px var(--color-line-soft,#e4ddcf)}.scratch-book-page-right{border-radius:1rem .25rem .25rem .5rem/.5rem .25rem .25rem .25rem}.scratch-book-page[data-empty]{display:grid;place-items:center}.scratch-book-empty{display:grid;justify-items:center;gap:.5rem;margin:0;color:var(--color-ink-muted);font-size:.875rem}.scratch-book-page .scratch-scroll{flex:1;max-height:none;min-height:0}.scratch-book-page .notebook-sheet.scratch-sheet{min-height:100%}.scratch-book-page .answer-facit{flex:none;max-height:40%;overflow-y:auto}.scratch-book-question{display:flex;flex:none;align-items:baseline;gap:.5rem;max-height:30%;overflow-y:auto;padding:.25rem .5rem .5rem 2.75rem;border-bottom:1px solid var(--color-line-soft,#e4ddcf);color:var(--color-ink);font:400 1rem/1.5 var(--font-reading)}.scratch-book-question-label{flex:none;color:var(--color-forest-900);font:800 .9375rem var(--font-sans)}.scratch-book-question-text{min-width:0}.scratch-book-question-text :is(p,ul,ol){margin:0}.scratch-book-ribbons{gap:.5rem;min-height:2.75rem;overflow-x:auto;scrollbar-width:none}.scratch-book-ribbon,.scratch-book-ribbons{display:flex;flex:none;justify-content:center}.scratch-book-ribbon{align-items:start;gap:.125rem;min-width:2.25rem;height:2.5rem;padding:.5rem .375rem 0;border:0;clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%);background:linear-gradient(90deg,var(--color-forest-800),var(--color-sage-700) 50%,var(--color-forest-800));color:var(--color-paper-50);font:800 .75rem var(--font-sans);cursor:pointer;transition:height .16s ease}.scratch-book-ribbon[data-loose]{background:linear-gradient(90deg,#6a452b,#8a5d3b 50%,#6a452b)}.scratch-book-ribbon[aria-current=page]{height:2.75rem}.scratch-book-add:focus-visible,.scratch-book-ribbon:focus-visible,.scratch-book-turn:focus-visible{outline:2px solid var(--color-forest-800);outline-offset:2px}.scratch-book-ribbon-tick{font-size:.6875rem}.tool-book .scratch-book{gap:.625rem}.tool-book .scratch-book-band .scratch-toolbar{flex:0 1 auto;padding:.25rem .5rem .25rem .25rem;border-radius:calc(infinity * 1px);background:var(--color-paper-50);box-shadow:0 2px 6px rgb(0 0 0/30%)}.tool-book .scratch-book-pager{color:rgb(241 228 210/85%)}.tool-book .scratch-book-pager :is(.scratch-book-turn,.scratch-book-add){border-color:rgb(222 192 152/40%);background:transparent;color:var(--color-earth-100)}.tool-book .scratch-book-pager :is(.scratch-book-turn,.scratch-book-add):hover:not(:disabled){background:rgb(255 255 255/8%)}.tool-book :is(.scratch-book-pager button,.scratch-book-ribbon):focus-visible{outline-color:var(--color-sage-200)}.tool-book .scratch-book-spread{gap:0}.tool-book .scratch-book-page{padding:1rem 1.25rem .75rem .75rem;box-shadow:none}.tool-book .scratch-book-page-left{background-image:linear-gradient(270deg,rgb(106 69 43/13%),transparent 1.75rem)}.tool-book .scratch-book-page-right{background-image:linear-gradient(90deg,rgb(106 69 43/15%),transparent 1.75rem)}.tool-book .scratch-book-ribbons{position:absolute;z-index:-2;left:0;right:0;bottom:-4.5rem;height:6rem;min-height:0;align-items:start;overflow:visible}.tool-book .scratch-book-ribbon{height:5.25rem;padding-top:2.9rem}.tool-book .scratch-book-ribbon[aria-current=page]{height:6rem}@media (prefers-reduced-motion:reduce){.scratch-book-ribbon{transition:none}}@media (forced-colors:active){.scratch-book-page,.scratch-book-ribbon{border:1px solid CanvasText}.scratch-book-ribbon{clip-path:none}}

/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer components{.reader-shell-mobile{min-height:100dvh}.mobile-reader-header{z-index:30;border-bottom:1px solid var(--color-line-soft);background:var(--color-paper-50);min-width:0;padding:.25rem .75rem;display:grid;position:sticky;top:0}.mobile-reader-toolbar{grid-template-columns:2.75rem minmax(0,1fr) 2.75rem;align-items:center;gap:.25rem;display:grid}.mobile-reader-identity{flex-wrap:wrap;align-items:center;gap:.125rem .5rem;min-width:0;padding-block:.25rem;display:flex}.mobile-reader-identity h1{overflow-wrap:anywhere;min-width:0;font-size:1.25rem;font-weight:800;line-height:1.25}.mobile-reader-identity [data-difficulty]{padding:.125rem .5rem;font-size:.75rem;line-height:1rem}.mobile-reader-title-controls{flex-shrink:0;align-items:center;gap:.375rem;display:flex}.mobile-reader-header .content-environment-trigger{border-color:var(--color-line-soft);border-radius:var(--radius-control);gap:.25rem;padding-inline:.5rem;font-size:.75rem;line-height:1rem}.mobile-reader-page{width:min(100%,46rem);min-width:0;padding:.75rem 1rem calc(var(--footer-height) + 2rem);align-content:start;gap:1rem;margin-inline:auto;display:grid}body:has(.mathbro-companion) .mobile-reader-page{padding-bottom:calc(var(--footer-height) + 6.5rem)}.mobile-reader-exercise{gap:1.5rem;min-width:0;margin-bottom:3px;display:grid}.mobile-reader-notebook,.mobile-reader-question,.mobile-reader-stem{min-width:0}.mobile-reader-question{--question-card-gap:1.375rem;--study-aid-column-gap:.75rem;border:2px solid var(--color-notebook-edge);border-radius:var(--radius-surface);background:var(--color-notebook-sheet);box-shadow:0 3px 0 var(--color-notebook-edge);padding:1.25rem}.mobile-reader-notebook .mobile-reader-question{border-radius:0 0 var(--radius-surface) var(--radius-surface);position:relative}.mobile-reader-exercise .question-content>:where(p,ol,ul){font-size:1rem}.mobile-reader-question .reader-study-aids>button{gap:.375rem;padding-inline:0;font-size:.875rem}.reader-shell-desktop{height:100dvh;min-height:32rem;overflow:hidden}.reader-shell-desktop .reader-layout{grid-template-rows:minmax(0,1fr);gap:1rem;min-height:0;padding-block:1.5rem}@media not all and (min-width:901px){.reader-shell-desktop .reader-exit-label{display:none}.reader-shell-desktop .reader-exit-link{width:2.75rem;padding-inline:0}.reader-shell-desktop .environment-brand>a>span+span{display:none}}.problem-workspace-mobile .reader-solution{display:grid}.problem-workspace-mobile .reader-solution-heading{top:var(--header-height);padding-block:.75rem;position:sticky}.problem-workspace-mobile .reader-question-column{border-radius:var(--radius-surface) var(--radius-surface) 0 0}.problem-workspace-mobile .reader-solution-column{border-top:1px solid var(--color-line-soft);border-radius:0 0 var(--radius-surface) var(--radius-surface)}.problem-workspace-desktop{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.problem-workspace-desktop.problem-workspace-embedded{height:clamp(24rem,100dvh - 8rem,40rem)}.problem-workspace-desktop .reader-question-column{border-radius:var(--radius-surface) 0 0 var(--radius-surface);grid-template-rows:auto minmax(0,1fr)}.problem-workspace-desktop .reader-solution-column{border-radius:0 var(--radius-surface) var(--radius-surface) 0;border-top:0}.problem-workspace-desktop .reader-question{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--color-sage-500) var(--color-paper-100);min-height:0;padding:.375rem;overflow-y:auto}.problem-workspace-desktop .reader-solution{flex-direction:column;gap:1rem;height:100%;min-height:0;display:flex}.problem-workspace-desktop .reader-solution-heading{border-top:0;flex:none;padding-block:0;position:static}.problem-workspace-desktop .reader-question-reference{display:none}.problem-workspace-desktop .reader-solution-body{flex:1;grid-template-rows:minmax(0,1fr) auto;gap:0;min-height:0}.problem-workspace-desktop .reader-solution-scroll{overscroll-behavior:contain;overflow-anchor:none;scrollbar-gutter:stable;min-height:0;padding:.375rem .5rem 1rem .375rem;scroll-padding-block:1rem;position:relative;overflow-y:auto}.problem-workspace-desktop .reader-solution-actions{padding-top:.75rem}@media not all and (min-width:1024px){.problem-workspace-desktop .reader-question-column,.problem-workspace-desktop .reader-solution-column{padding:1rem}}.reader-shell{flex-direction:column;display:flex}.reader-footer,.reader-shell>header{flex:none}.reader-shell>main{flex:1}.reader-footer{z-index:30;border-top:1px solid var(--color-line-soft);background:var(--color-paper-100);position:sticky;bottom:0}@supports (color:color-mix(in lab,red,red)){.reader-footer{background:color-mix(in srgb,var(--color-paper-100) 92%,transparent)}}.reader-footer{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.reader-footer-inner{min-height:var(--footer-height);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding-block:.75rem;display:flex}.reader-layout{gap:1.5rem}.problem-workspace{border:1px solid var(--color-line);border-radius:var(--radius-surface);background:var(--color-surface);min-width:0;min-height:0;display:grid}.reader-question-column,.reader-solution-column{min-width:0;min-height:0;padding:1rem}.reader-question-column{background:var(--color-sage-100);align-content:start;gap:1.5rem;display:grid}.reader-solution-column{background:var(--color-surface)}.reader-solution,.reader-solution-body{gap:1.25rem}.reader-solution-scroll{scrollbar-color:var(--color-sage-500) var(--color-paper-100);scrollbar-width:thin;min-width:0}.reader-question:focus-visible,.reader-solution-scroll:focus-visible{outline-offset:-3px;-webkit-mask-image:none;mask-image:none}@media (min-width:640px){.reader-layout{gap:2rem}.reader-question-column,.reader-solution-column{padding:1.5rem}}}.reader-shell-desktop{--reader-frame-width:min(calc(100% - clamp(1.5rem, 4vw, 4rem)),100rem);background:var(--color-forest-900) url(/reader/forest-linen.webp) repeat;background-blend-mode:soft-light;background-size:32rem}.reader-shell-desktop .app-header{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0}.reader-shell-desktop :is(.app-header-inner,.reader-layout,.reader-footer-inner){width:var(--reader-frame-width)}.reader-shell-desktop .app-header-inner{min-height:4.5rem}.reader-shell-desktop .app-header :is(.button,.environment-brand>a,.environment-brand>a>span>span){color:var(--color-paper-50)}.reader-shell-desktop .app-header :is(.button-secondary,.content-environment-trigger),.reader-shell-desktop .reader-footer .button{border-color:var(--color-sage-200)}@supports (color:color-mix(in lab,red,red)){.reader-shell-desktop .app-header :is(.button-secondary,.content-environment-trigger),.reader-shell-desktop .reader-footer .button{border-color:color-mix(in srgb,var(--color-sage-200) 45%,transparent)}}.reader-shell-desktop .app-header :is(.button-secondary,.content-environment-trigger),.reader-shell-desktop .reader-footer .button{background:var(--color-forest-900);color:var(--color-paper-50)}.reader-shell-desktop .environment-brand>a>span:first-child{border:1px solid var(--color-sage-200)}@supports (color:color-mix(in lab,red,red)){.reader-shell-desktop .environment-brand>a>span:first-child{border:1px solid color-mix(in srgb,var(--color-sage-200) 45%,transparent)}}.reader-shell-desktop .environment-brand>a>span:first-child{background:var(--color-forest-800)}.reader-shell-desktop :is(.app-header,.reader-footer) :focus-visible{outline-color:var(--color-sage-200)}.reader-shell-desktop .app-header [role=status]{color:var(--color-sage-200)}.reader-shell-desktop .reader-layout{padding-block:.375rem .875rem}:is(.reader-shell-desktop,.problem-book) .problem-workspace-desktop{isolation:isolate;border:1px solid var(--color-sage-500);grid-template-columns:minmax(0,1fr) minmax(0,1fr);position:relative}@supports (color:color-mix(in lab,red,red)){:is(.reader-shell-desktop,.problem-book) .problem-workspace-desktop{border:1px solid color-mix(in srgb,var(--color-sage-500) 45%,var(--color-forest-950))}}:is(.reader-shell-desktop,.problem-book) .problem-workspace-desktop{background:var(--color-forest-900);border-radius:.75rem;padding:.375rem .625rem .625rem;box-shadow:0 10px 24px -10px #00000080}:is(.reader-shell-desktop,.problem-book) .problem-workspace-desktop:before{content:"";z-index:-1;border:1px solid var(--color-line);background:repeating-linear-gradient(to bottom,var(--color-paper-200) 0 1px,var(--color-line) 1px 2px,var(--color-paper-100) 2px 4px);pointer-events:none;border-radius:.25rem;position:absolute;inset:.5rem .25rem .25rem}.reader-shell-desktop .problem-workspace-desktop{--leather-highlight:#5b3b27;--leather:#3a2416;--leather-deep:#22140b;background:radial-gradient(circle at 20% 30%,#ffe1be0d 0 1px,transparent 1.5px) 0 0 /7px 7px,radial-gradient(circle at 70% 60%,#00000024 0 1px,transparent 1.5px) 0 0 /5px 5px,radial-gradient(120% 90% at 30% 15%,var(--leather-highlight) 0,var(--leather) 48%,var(--leather-deep) 100%);border-color:#1a0f08;padding:.875rem 1rem 1.125rem;box-shadow:inset 0 1px #ffe1be17,inset 0 0 0 1px #00000059,inset 0 0 28px #00000073,0 18px 36px -16px #000000b3}.reader-shell-desktop .problem-workspace-desktop:before{inset:.75rem .625rem .625rem}.reader-shell-desktop .problem-workspace-desktop:after{content:"";z-index:-1;pointer-events:none;border:1.5px dashed #dec0984d;border-radius:.5rem;position:absolute;inset:.3125rem}.problem-book-ribbon{z-index:-2;background:linear-gradient(90deg,var(--color-forest-800),var(--color-sage-700) 50%,var(--color-forest-800));clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);pointer-events:none;width:1.125rem;height:3rem;position:absolute;bottom:-1.75rem;left:calc(50% + 2.5rem)}:is(.reader-shell-desktop,.problem-book) .reader-question-column,:is(.reader-shell-desktop,.problem-book) .reader-solution-column{background-color:var(--color-paper-50);padding:clamp(1rem,2.4vw,2.5rem);position:relative}:is(.reader-shell-desktop,.problem-book) .reader-question-column{box-shadow:inset 1px 0 var(--color-surface);background-image:linear-gradient(270deg,#6a452b21,#0000 1.75rem);border-radius:.25rem 1.25rem .5rem .25rem/.25rem .625rem .25rem .25rem;gap:1.5rem}:is(.reader-shell-desktop,.problem-book) .reader-solution-column{background-image:linear-gradient(90deg,#6a452b26,#0000 1.75rem);border-radius:1.25rem .25rem .25rem .5rem/.625rem .25rem .25rem;padding-block:.75rem;box-shadow:inset 1px 0 #6a452b33}:is(.reader-shell-desktop,.problem-book) .reader-solution-heading,:is(.reader-shell-desktop,.problem-book) .reader-solution-heading>[role=group]{background:0 0}:is(.reader-shell-desktop,.problem-book) .reader-solution-heading>[role=group]{flex-shrink:1;max-width:100%}:is(.reader-shell-desktop,.problem-book) .reader-solution-heading>[role=group] button{white-space:normal;min-width:0}:is(.reader-shell-desktop,.problem-book) .reader-solution-heading>[role=group] svg{flex-shrink:0}:is(.reader-shell-desktop,.problem-book) .reader-solution-intro{background:0 0;border:0;border-radius:0;align-self:stretch;padding:1rem .375rem}:is(.reader-shell-desktop,.problem-book) .reader-solution-actions .button,:is(.reader-shell-desktop,.problem-book) .reader-solution-intro .button{white-space:normal;max-width:100%}:is(.reader-shell-desktop,.problem-book) .reader-solution-intro svg{flex-shrink:0}.reader-shell-desktop .reader-footer{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0}.reader-shell-desktop .reader-footer-inner{--reader-navigation-inset:18rem;min-height:6rem;padding-block:.75rem;padding-inline-end:var(--reader-navigation-inset)}.reader-shell-desktop .reader-footer .button-primary{background:var(--color-forest-800)}body:has(.reader-shell-desktop) .mathbro-companion .mathbro-safe-area{--companion-reserve-bottom:0px}@media (hover:hover) and (pointer:fine){.reader-shell-desktop .app-header .button:hover,.reader-shell-desktop .reader-footer .button:hover{background:var(--color-forest-800)}.reader-shell-desktop .reader-footer .button-primary:hover{background:var(--color-sage-700)}}@media (min-width:1024px){.reader-shell-desktop .reader-footer-inner{padding-inline-start:var(--reader-navigation-inset)}}@media not all and (min-width:1024px){.reader-shell-desktop .app-header-inner{min-height:4rem}:is(.reader-shell-desktop,.problem-book) .reader-question-column{padding:1rem}:is(.reader-shell-desktop,.problem-book) .reader-solution-column{padding-inline:1rem}.reader-shell-desktop .reader-footer .button{padding-inline:.75rem;font-size:.8125rem}}@media not all and (min-width:901px){.reader-shell-desktop .environment-brand>a>span+span{display:none}}@media (min-width:646px) and (not (min-height:640px)){.reader-shell-desktop .reader-footer{background:var(--color-forest-950) url(/reader/forest-linen.webp) repeat;background-blend-mode:soft-light;background-size:22rem}}@media (forced-colors:active){.problem-book-ribbon{display:none}:is(.reader-shell-desktop,.problem-book) .problem-workspace-desktop,:is(.reader-shell-desktop,.problem-book) .reader-question-column,:is(.reader-shell-desktop,.problem-book) .reader-solution-column{border:1px solid canvastext}}.reader-position{color:var(--color-sage-200);white-space:nowrap;font-size:.8125rem;font-weight:650}@media not all and (min-width:901px){.reader-shell-desktop .reader-position{display:none}}.reader-shell-desktop.reader-shell-book .app-header-inner{min-height:3.5rem}.reader-shell-desktop.reader-shell-book .reader-layout{padding-block:.125rem 5.5rem}body:has(.reader-shell-book) .mathbro-companion{bottom:max(.5rem,env(safe-area-inset-bottom))}.reader-stepper{border:1px solid var(--color-sage-200);align-items:center;gap:.25rem;padding:.1875rem;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.reader-stepper{border:1px solid color-mix(in srgb,var(--color-sage-200) 45%,transparent)}}.reader-stepper{background:var(--color-forest-900);border-radius:999px}.reader-stepper>:is(a,span){min-height:2.25rem;color:var(--color-paper-50);white-space:nowrap;border-radius:999px;align-items:center;gap:.375rem;font-size:.875rem;font-weight:700;display:inline-flex}.reader-shell-desktop .app-header .reader-stepper>a.button{background:0 0;border:0;min-height:2.25rem}.reader-shell-desktop .app-header .reader-stepper>.reader-stepper-previous{justify-content:center;width:2.25rem;padding:0}.reader-stepper-previous[data-disabled]{opacity:.35}.reader-stepper-position{color:var(--color-sage-200);padding-inline:.375rem;font-size:.8125rem;font-weight:650}.reader-shell-desktop .app-header .reader-stepper>.reader-stepper-next{background:var(--color-forest-800);padding-inline:.875rem .625rem}@media (hover:hover) and (pointer:fine){.reader-shell-desktop .app-header .reader-stepper>a.button:hover{background:var(--color-forest-800)}.reader-shell-desktop .app-header .reader-stepper>.reader-stepper-next:hover{background:var(--color-sage-700)}}@media not all and (min-width:901px){.reader-stepper-position{display:none}}.reader-shell-desktop.reader-shell-book .reader-question-column{gap:.875rem;padding:1.125rem 1.5rem 1.5rem}.reader-shell-desktop.reader-shell-book .reader-solution-column{padding:.75rem 1.5rem}.reader-shell-desktop.reader-shell-book .reader-question-column>:first-child{min-height:0}.reader-shell-desktop.reader-shell-book .reader-question-column h1{font-size:1.375rem;line-height:1.25}.reader-shell-desktop.reader-shell-book .reader-question.scroll-fade[data-fade-top]{--fade-top:0px}.reader-question-more{color:var(--color-earth-700);letter-spacing:.08em;text-transform:uppercase;opacity:0;pointer-events:none;transition:opacity var(--motion-reveal) ease;inset-inline:0;justify-content:center;align-items:center;gap:.25rem;font-size:.6875rem;font-weight:700;display:flex;position:absolute;bottom:.3125rem}.reader-question[data-fade-bottom]~.reader-question-more{opacity:1}.reader-shell-book .table-paper-table[data-look=app] :is(th,td){overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;max-width:11.5ch}.reader-shell-desktop .problem-workspace-book{transition:grid-template-columns .48s var(--ease-feedback)}.reader-shell-desktop .problem-workspace-book:is([data-spine-measuring],[data-spine-dragging]){transition:none}.reader-shell-desktop .problem-workspace-book .problem-book-ribbon{left:calc(1rem + (100% - 2rem) * var(--spine,.5) + 2.5rem)}.problem-book-spine{z-index:3;top:50%;left:calc(1rem + (100% - 2rem) * var(--spine,.5));color:#ead2b4d9;cursor:ew-resize;touch-action:none;background:linear-gradient(90deg,#3a2416,#5b3b27 50%,#3a2416);border-radius:.5rem;place-items:center;width:1.375rem;height:4rem;display:grid;position:absolute;transform:translate(-50%,-50%);box-shadow:0 2px 6px #00000073,inset 0 0 0 1px #ffe1be24}.problem-book-spine:focus-visible{outline:3px solid var(--color-sage-200);outline-offset:2px}@media (prefers-reduced-motion:reduce){.reader-shell-desktop .problem-workspace-book{transition:none}}@media (forced-colors:active){.problem-book-spine{border:1px solid canvastext}}@media (min-width:646px) and (not (min-height:640px)),(min-width:646px) and (not (min-width:1024px)){.reader-shell-desktop .reader-footer-inner{--reader-navigation-inset:17rem}body:has(.reader-shell-desktop) .mathbro-companion .mathbro-safe-area{--companion-reserve-bottom:0px}}@media (min-width:646px) and (not (min-height:640px)){.reader-shell-desktop{height:auto;min-height:100dvh;padding-bottom:8.5rem;overflow:visible}.reader-shell-desktop .reader-layout{flex:none;height:24rem}.reader-shell-desktop .reader-footer{inset-inline:0;position:fixed;bottom:0}.reader-shell-desktop .reader-footer-inner{min-height:7rem}}.tool-book-head{width:var(--reader-frame-width);min-height:4.5rem;color:var(--color-paper-50);align-items:center;gap:1rem;margin-inline:auto;padding-block:.625rem;display:flex}.tool-book-back,.tool-book-exit{border:1px solid var(--color-sage-200);flex:none;justify-content:center;align-items:center;gap:.375rem;min-height:2.75rem;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.tool-book-back,.tool-book-exit{border:1px solid color-mix(in srgb,var(--color-sage-200) 45%,transparent)}}.tool-book-back,.tool-book-exit{background:var(--color-forest-900);color:var(--color-paper-50);font:700 .875rem var(--font-sans);cursor:pointer;border-radius:3.40282e+38px}.tool-book-back{padding:0 1rem}.tool-book-exit{width:2.75rem}.tool-book-back:focus-visible,.tool-book-exit:focus-visible{outline:2px solid var(--color-sage-200);outline-offset:2px}.tool-book-problem{flex:1;align-items:baseline;gap:.75rem;min-width:0;display:flex}.tool-book-title{font:800 1rem var(--font-sans);flex:none;margin:0}.tool-book-stem{-webkit-line-clamp:2;line-clamp:2;color:#f1e4d2e0;min-width:0;font-family:var(--font-reading);-webkit-box-orient:vertical;font-size:1.0625rem;line-height:1.45;display:-webkit-box;overflow:hidden}.tool-book-stem :is(p,div){margin:0;display:inline}.tool-book-stem *,.tool-book-stem .inline-math .katex{color:inherit}.tool-book-stem :is(img,figure,svg:not(.katex svg)){display:none}.reader-shell-tool .reader-layout{padding-block:.25rem 5.5rem}.reader-shell-desktop .problem-workspace-desktop.tool-book{flex-direction:column;padding:.625rem 1rem 1.125rem;display:flex}.reader-shell-desktop .tool-book[data-tool=scratch-paper]:before{top:3.875rem}.tool-book .calculator-spread{gap:0}.tool-book :is(.calculator-spread-sheet,.calculator-spread-keys){background-color:var(--color-paper-50);padding:clamp(1rem,2vw,2rem)}.tool-book .calculator-spread-sheet{background-image:linear-gradient(270deg,#6a452b21,#0000 1.75rem);border-radius:.25rem 1.25rem .5rem .25rem/.25rem .625rem .25rem .25rem}.tool-book .calculator-spread-keys{background-image:linear-gradient(90deg,#6a452b26,#0000 1.75rem);border-radius:1.25rem .25rem .25rem .5rem/.625rem .25rem .25rem}@media (hover:hover) and (pointer:fine){.tool-book-back:hover,.tool-book-exit:hover{background:var(--color-forest-800)}}@media (forced-colors:active){.tool-book :is(.calculator-spread-sheet,.calculator-spread-keys){border:1px solid canvastext}}:is(.reader-shell,.problem-book) .math-scroll,:is(.reader-shell,.problem-book) .question-equation .math-scroll{border:1px solid var(--notebook-edge);border-radius:var(--notebook-sheet-radius);background-color:var(--notebook-surface);background-image:var(--notebook-sheet-image);background-position:var(--notebook-sheet-position);background-size:var(--notebook-sheet-size);background-repeat:var(--notebook-sheet-repeat);box-shadow:var(--notebook-sheet-shadow);padding:.75rem 1rem .75rem 2.5rem}:is(.reader-shell,.problem-book) .question-equation .math-scroll{padding-block:1rem}:is(.reader-shell,.problem-book) :is(.reader-solution-heading,.mobile-solution-toolbar) [role=group]{border-color:var(--color-earth-700)}@supports (color:color-mix(in lab,red,red)){:is(.reader-shell,.problem-book) :is(.reader-solution-heading,.mobile-solution-toolbar) [role=group]{border-color:color-mix(in srgb,var(--color-earth-700) 35%,transparent)}}:is(.reader-shell,.problem-book) :is(.reader-solution-heading,.mobile-solution-toolbar) [role=group]>span>span{background:var(--color-earth-700)}:is(.reader-shell,.problem-book) .reader-solution-heading .button-ghost,:is(.reader-shell,.problem-book) :is(.reader-solution-heading,.mobile-solution-toolbar) [role=group] button[aria-pressed=false]{color:var(--color-earth-700)}.reader-shell .mobile-step-number{background:var(--color-earth-700)}@media (hover:hover) and (pointer:fine){:is(.reader-shell,.problem-book) :is(.reader-solution-heading,.mobile-solution-toolbar) [role=group] button[aria-pressed=false]:hover{background:var(--color-earth-200)}}@media (forced-colors:active){:is(.reader-shell,.problem-book) .math-scroll{background-image:none}}:root{--page-turn-half:.42s}html[data-page-turn] .reader-shell-desktop .reader-question-column{view-transition-name:reader-page-left}html[data-page-turn] .reader-shell-desktop .reader-solution-column{view-transition-name:reader-page-right}html[data-page-turn] .reader-shell-mobile .mobile-reader-page{view-transition-name:reader-sheet}html[data-page-turn]::view-transition-old(root){animation:none}html[data-page-turn]::view-transition-new(root){animation:none}html[data-page-turn]::view-transition-group(*){animation-duration:calc(var(--page-turn-half) * 2)}html[data-page-turn]::view-transition-old(*){mix-blend-mode:normal;animation-fill-mode:both}html[data-page-turn]::view-transition-new(*){mix-blend-mode:normal;animation-fill-mode:both}html[data-page-turn=next]::view-transition-old(reader-page-right){z-index:1;transform-origin:0;animation:page-fold-toward-left var(--page-turn-half) cubic-bezier(.55,.06,.68,.19) both}html[data-page-turn=next]::view-transition-new(reader-page-right){animation:page-uncover calc(var(--page-turn-half) * 2) ease-out both}html[data-page-turn=previous]::view-transition-new(reader-page-left){animation:page-uncover calc(var(--page-turn-half) * 2) ease-out both}html[data-page-turn=next]::view-transition-old(reader-page-left){animation:page-hold calc(var(--page-turn-half) * 2) both}html[data-page-turn=previous]::view-transition-old(reader-page-right){animation:page-hold calc(var(--page-turn-half) * 2) both}html[data-page-turn=next]::view-transition-new(reader-sheet){animation:page-hold calc(var(--page-turn-half) * 2) both}html[data-page-turn=previous]::view-transition-old(reader-sheet){animation:page-hold calc(var(--page-turn-half) * 2) both}html[data-page-turn=next]::view-transition-new(reader-page-left){z-index:1;transform-origin:100%;animation:page-land-from-right var(--page-turn-half) cubic-bezier(.22,.61,.36,1) var(--page-turn-half) both}html[data-page-turn=previous]::view-transition-old(reader-page-left){z-index:1;transform-origin:100%;animation:page-fold-toward-right var(--page-turn-half) cubic-bezier(.55,.06,.68,.19) both}html[data-page-turn=previous]::view-transition-new(reader-page-right){z-index:1;transform-origin:0;animation:page-land-from-left var(--page-turn-half) cubic-bezier(.22,.61,.36,1) var(--page-turn-half) both}html[data-page-turn=next]::view-transition-old(reader-sheet){z-index:1;transform-origin:0;animation:sheet-turn-away calc(var(--page-turn-half) * 1.6) cubic-bezier(.45,.05,.25,1) both}html[data-page-turn=previous]::view-transition-new(reader-sheet){z-index:1;transform-origin:0;animation:sheet-turn-away calc(var(--page-turn-half) * 1.6) cubic-bezier(.45,.05,.25,1) reverse both}@keyframes page-fold-toward-left{0%{filter:brightness();transform:perspective(2400px)rotateY(0)}to{filter:brightness(.8);transform:perspective(2400px)rotateY(-90deg)}}@keyframes page-fold-toward-right{0%{filter:brightness();transform:perspective(2400px)rotateY(0)}to{filter:brightness(.8);transform:perspective(2400px)rotateY(90deg)}}@keyframes page-land-from-right{0%{filter:brightness(.8);transform:perspective(2400px)rotateY(90deg)}to{filter:brightness();transform:perspective(2400px)rotateY(0)}}@keyframes page-land-from-left{0%{filter:brightness(.8);transform:perspective(2400px)rotateY(-90deg)}to{filter:brightness();transform:perspective(2400px)rotateY(0)}}@keyframes page-uncover{0%{filter:brightness(.86)}to{filter:brightness()}}@keyframes page-hold{0%{opacity:1}to{opacity:1}}@keyframes sheet-turn-away{0%{opacity:1;transform:perspective(1600px)rotateY(0)}75%{opacity:1;transform:perspective(1600px)rotateY(-75deg)}to{opacity:0;transform:perspective(1600px)rotateY(-100deg)}}@media (prefers-reduced-motion:reduce){html[data-page-turn] :is(.reader-question-column,.reader-solution-column,.mobile-reader-page){view-transition-name:none}}:root{--leaf-problem:#b4d63f;--leaf-lesson:#3f8f7c;--leaf-discovery:#ead63a;--leaf-quiz:#a3d6c6;--leaf-exam:#f2a9b8;--plant-stem:#3f6b4f;--plant-stalk:#7f9a55;--plant-ink:#3b2a1c;--plant-label:#fbf7ec;--plant-tape:#e9dcc0;--plant-bloom:#f2d27a;--plant-bloom-center:var(--color-concept-earth);--plant-berry:#b8433a}.plant-stem{fill:none;stroke:var(--plant-stalk);stroke-width:3.4;stroke-linecap:round}.plant-stem-ink{fill:none;stroke:var(--plant-ink);stroke-width:1;stroke-linecap:round}.plant-leaf-edge{fill:none;stroke:var(--plant-ink);stroke-width:1.8;stroke-linejoin:round}.plant-vein{fill:none;stroke:var(--plant-ink);stroke-width:.55;stroke-opacity:.7}.plant-petal{fill:var(--plant-bloom);stroke:var(--plant-ink);stroke-width:.8}.plant-ink{fill:var(--plant-ink)}.plant-berry{fill:var(--plant-berry);stroke:var(--plant-ink);stroke-width:.6}.plant-berry-light,.plant-label{fill:var(--plant-label)}.plant-label{stroke:var(--plant-ink);stroke-width:.7}.plant-label-line{stroke:var(--plant-ink);stroke-width:.35}.plant-label-text{font-family:var(--font-reading);font-style:italic;font-size:10px;font-weight:400;fill:var(--plant-ink)}.plant-tape{fill:var(--plant-tape);opacity:.85}.plant-ground-line{stroke:var(--plant-ink);stroke-width:1.2}.plant-grow{animation:plant-grow .7s cubic-bezier(.2,.9,.3,1.2) both;transform-origin:0 0}.plant-bloom{animation-duration:1.1s;animation-delay:.3s;transform-box:view-box}@keyframes plant-grow{0%{transform:scale(0)}to{transform:scale(1)}}.plant-card{border:1px solid var(--color-line-soft);border-radius:var(--radius-surface);background:linear-gradient(180deg,var(--color-surface),var(--color-paper-100));box-shadow:var(--shadow-surface);color:var(--color-ink);min-width:0;display:grid;grid-template-columns:4.5rem minmax(0,1fr);gap:1rem 1.25rem;padding:1rem 1.125rem}@media (min-width:48rem){.plant-card{grid-template-columns:8.5rem minmax(0,1fr) minmax(15rem,17rem);gap:1rem 1.5rem;padding:1.125rem 1.5rem}}.plant-main{gap:.5rem}.plant-main,.plant-side{display:grid;align-content:start;min-width:0}.plant-side{grid-column:1/-1;gap:.875rem}@media (min-width:48rem){.plant-side{grid-column:auto;padding-left:1.25rem;border-left:1px solid var(--color-line-soft)}}.plant-side .plant-forest{border-top:0;padding-top:0}.plant-side .plant-forest-head{flex-wrap:wrap;column-gap:.75rem}.plant-meta{font-size:.8125rem;color:var(--color-ink-muted);font-variant-numeric:tabular-nums}.plant-total{font-family:var(--font-display);font-size:1.375rem;font-weight:500;line-height:1.2;color:var(--color-forest-900);font-variant-numeric:tabular-nums}.plant-total b{font-size:2rem;font-weight:650;letter-spacing:-.02em}.plant-total small{display:block;margin-top:.125rem;font-family:var(--font-sans);font-size:.8125rem;font-weight:500;color:var(--color-ink-muted)}@media (min-width:48rem){.plant-total small{display:inline;margin:0 0 0 .375rem}}.plant-ruler{display:flex;flex-wrap:wrap;align-items:end;gap:.25rem .125rem}.plant-slot{display:block;width:1.375rem;height:1.5rem;flex:none}.plant-slot-empty{fill:none;stroke:var(--color-line);stroke-width:1.6;stroke-dasharray:3 2.5}.plant-ruler-goal{padding:0 .25rem}.plant-ruler-flower{display:block;width:1.5rem;height:1.5rem}.plant-ruler-flower ellipse{fill:none;stroke:var(--color-line);stroke-width:1.4;stroke-dasharray:2.5 2}.plant-ruler-flower circle{fill:var(--color-paper-200)}.plant-ruler-flower[data-open] ellipse{fill:var(--plant-bloom);stroke:none}.plant-ruler-flower[data-open] circle{fill:var(--plant-bloom-center)}.plant-tally{display:flex;flex-wrap:wrap;gap:.25rem .875rem;font-size:.8125rem;color:var(--color-ink-secondary)}.plant-tally li{display:inline-flex;align-items:center;gap:.25rem}.plant-tally b{color:var(--color-ink);font-variant-numeric:tabular-nums}.plant-next .plant-slot,.plant-tally .plant-slot{width:.875rem;height:1rem}.plant-next{display:grid;gap:.375rem;margin-top:.25rem}.plant-next ul{display:flex;flex-wrap:wrap;gap:.5rem}.plant-next a{display:inline-flex;align-items:center;gap:.375rem;min-height:2.5rem;padding:.375rem .875rem .375rem .625rem;border:1px solid var(--color-line-soft);border-radius:999px;background:var(--color-surface);font-size:.8125rem;font-weight:600;color:var(--color-forest-900);text-decoration:none;transition:background-color var(--motion-press) ease,border-color var(--motion-press) ease}.plant-next a:hover{background:var(--color-sage-100);border-color:var(--color-sage-200)}.plant-next a:focus-visible{outline:2px solid var(--color-forest-800);outline-offset:2px}.plant-next b{color:var(--color-sage-700);font-variant-numeric:tabular-nums}.plant-rhythm{display:grid;gap:.25rem}.plant-rhythm ol{display:flex;justify-content:space-between;align-items:end;gap:.25rem}.plant-rhythm li{display:grid;justify-items:center;gap:.1875rem;flex:1 1 0;min-width:0;font-size:.6875rem;line-height:1;color:var(--color-ink-muted)}.plant-rhythm b{min-height:.6875rem;font-size:.6875rem;color:var(--color-ink-secondary);font-variant-numeric:tabular-nums}.plant-rhythm i{display:block;width:.75rem;height:2rem;border-radius:3px;background:linear-gradient(to top,var(--color-sage-500) var(--plant-day),var(--color-paper-200) var(--plant-day))}.plant-rhythm [aria-current] i{background:linear-gradient(to top,var(--plant-stem) var(--plant-day),var(--color-paper-200) var(--plant-day))}.plant-rhythm [aria-current] :is(b,span){color:var(--color-forest-900);font-weight:800}.plant-rhythm [data-future] i{background:transparent;outline:1px dashed var(--color-line);outline-offset:-1px}.plant-card[data-celebrating] .plant-rhythm li:not([data-future]) i{background:linear-gradient(to top,color-mix(in srgb,var(--plant-bloom) 70%,var(--color-sage-500)) var(--plant-day),var(--color-paper-200) var(--plant-day))}.plant-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0 .75rem}.plant-head .plant-title{white-space:nowrap}.plant-title{font-size:1.0625rem;font-weight:800;line-height:1.3}.plant-message{font-size:.875rem;color:var(--color-ink-secondary)}.plant-eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--color-ink-muted)}.plant-nudge{font-size:.8125rem;color:var(--color-ink-secondary);background:var(--color-sage-100);padding:.375rem .625rem;border-radius:var(--radius-control)}.plant-sunlight{animation:plant-sunlight 1.4s var(--ease-feedback) both}@keyframes plant-sunlight{0%{transform:scale(.2);opacity:0}55%{opacity:1}to{transform:scale(1);opacity:.85}}.plant-burst-leaf{opacity:0;transform-origin:0 0;animation:plant-burst 2.6s cubic-bezier(.22,.7,.35,1) both}@keyframes plant-burst{0%{transform:translate(0) rotate(0deg) scale(.3);opacity:0}10%{opacity:1}30%{transform:translate(var(--burst-x1),var(--burst-y1)) rotate(calc(var(--burst-turn) * .3)) scale(1)}85%{opacity:1}to{transform:translate(var(--burst-x2),var(--burst-y2)) rotate(var(--burst-turn)) scale(.9);opacity:0}}.plant-celebration{display:grid;gap:.5rem}.plant-celebration>*{animation:plant-celebration-line .6s var(--ease-feedback) both}.plant-celebration>:nth-child(2){animation-delay:.14s}.plant-celebration>:nth-child(3){animation-delay:.28s}@keyframes plant-celebration-line{0%{transform:translateY(.375rem);opacity:0}}.plant-celebration-title{font-family:var(--font-display);font-size:1.5rem;font-weight:600;line-height:1.15;letter-spacing:-.01em;color:var(--color-forest-900);text-wrap:balance}.plant-celebration-line{font-size:.875rem;color:var(--color-ink-secondary)}.plant-celebration-tree{display:flex;align-items:flex-end;gap:.625rem;font-size:.8125rem;color:var(--color-ink-secondary);animation:plant-celebration-line .6s .28s var(--ease-feedback) both}.plant-celebration-tree p{padding-bottom:.25rem}.plant-celebration-tree-svg{width:3.5rem;height:4.75rem;flex:none}.plant-card[data-celebrating]{border-color:color-mix(in srgb,var(--plant-bloom) 55%,var(--color-line-soft));background:linear-gradient(180deg,color-mix(in srgb,var(--plant-bloom) 16%,var(--color-surface)),var(--color-paper-100) 70%);transition:border-color .9s var(--ease-feedback);overflow:clip}.plant-stage{width:100%;align-self:end}@media (max-width:47.99rem){.plant-stage{align-self:start}}.plant-stage[data-nudge] .plant-body{animation:plant-lean 3.4s ease-in-out infinite;transform-origin:0 0}@keyframes plant-lean{0%,to{transform:rotate(-4deg)}50%{transform:rotate(-1deg)}}.plant-svg{display:block;width:100%;height:auto;overflow:visible}.plant-days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:.6875rem;color:var(--color-ink-muted);border-top:1px solid var(--color-line-soft);padding-top:.5rem}.plant-days b{display:block;font-size:.8125rem;color:var(--color-ink);font-variant-numeric:tabular-nums}.plant-days [aria-current] b{text-decoration:underline;text-underline-offset:3px}.plant-forest{display:grid;gap:.25rem;border-top:1px solid var(--color-line-soft);padding-top:.5rem}.plant-forest-head{display:flex;justify-content:space-between;gap:.5rem;font-size:.75rem;color:var(--color-ink-muted)}.plant-forest-link{display:inline-flex;min-height:2.75rem;align-items:center;font-size:.8125rem;font-weight:700;color:var(--color-forest-800);text-decoration:underline;text-underline-offset:3px}.plant-forest-trees{display:flex;align-items:flex-end;justify-content:space-between;gap:.125rem;border-bottom:1px solid var(--color-line-soft)}.plant-forest-trees li{display:grid;justify-items:center;font-size:.625rem;color:var(--color-ink-muted)}.plant-tree{display:block;width:2.75rem;height:3.375rem}.plant-tree-now{position:relative}.plant-tree-now:after{content:"";position:absolute;left:50%;bottom:.25rem;width:.375rem;height:.375rem;margin-left:-.1875rem;border-radius:50%;background:var(--plant-stem)}.plant-legend{display:grid;gap:.375rem;font-size:.875rem}.plant-legend li{display:flex;align-items:center;gap:.5rem}.plant-legend b{margin-left:auto;font-variant-numeric:tabular-nums}.plant-swatch{width:1.25rem;height:1.25rem;flex:none;overflow:visible}.leaf-counter{gap:.375rem;font-variant-numeric:tabular-nums}.leaf-counter svg{color:var(--plant-stem)}.clear-rail-utility.leaf-counter svg{color:currentColor}.leaf-toast-region{position:fixed;top:calc(var(--header-height) + .25rem + env(safe-area-inset-top, 0px));right:calc(.75rem + env(safe-area-inset-right, 0px));z-index:60;pointer-events:none}.leaf-toast{display:flex;align-items:center;gap:.5rem;padding:.5rem .875rem;border-radius:999px;background:var(--color-forest-900);color:white;font-size:.875rem;font-weight:600;box-shadow:var(--shadow-overlay);animation:leaf-toast 2.8s var(--ease-feedback) both}.leaf-toast-amount{display:inline-flex;align-items:center;gap:.25rem;font-weight:800;color:var(--color-sage-200)}.leaf-toast-count{font-variant-numeric:tabular-nums;opacity:.8}.leaf-toast[data-reached]{gap:.75rem;padding:.5rem 1.125rem .5rem .625rem;border-radius:var(--radius-surface);animation-duration:5.2s;font-weight:500}.leaf-toast[data-reached] b{font-family:var(--font-display);font-size:1.0625rem;font-weight:600;color:var(--plant-bloom)}.leaf-toast-detail{font-size:.8125rem;color:var(--color-sage-200);font-variant-numeric:tabular-nums}.leaf-toast-plant{width:2.5rem;height:3.5rem;flex:none;overflow:visible}@keyframes leaf-toast{0%{transform:translateY(-.75rem) scale(.9);opacity:0}10%,85%{transform:none;opacity:1}to{transform:translateY(-.5rem);opacity:0}}@media (prefers-reduced-motion:reduce){.leaf-toast,.plant-grow,.plant-stage[data-nudge] .plant-body,.plant-sunlight{animation:none}.plant-sunlight{opacity:.85}.plant-burst{display:none}.plant-celebration-tree,.plant-celebration>*{animation-name:plant-celebration-fade}}@keyframes plant-celebration-fade{0%{opacity:0}}