/* The writing desk: warm ink, ribbon red, a document rather than a dashboard. */
:root{--bg:#191918;--panel:#20201e;--editor:#242421;--ink:#e5e0d3;--muted:#aba89e;--line:#3d3d36;--accent:#d7c39a;--mono:'Courier New',Courier,monospace;--sans:Georgia,'Times New Roman',serif}
body{background-image:radial-gradient(ellipse at 20% 0%,#33312750,transparent 65%);font-size:17px}
.site-header{min-height:84px}.wordmark{font-weight:400;letter-spacing:-1.2px}.logo,.cursor{color:#d7c39a}nav{font-family:var(--mono);font-size:11px}nav a{color:#c5bfb1}.status{color:#aba89e}.status i,.small-dot{background:#b9b091}
.hero{display:grid;grid-template-columns:1.4fr 1fr;gap:72px;padding:68px 0 52px;border-bottom:1px solid var(--line)}
.hero h1{font:400 clamp(37px,4.9vw,64px)/1.13 var(--mono);letter-spacing:-3.7px;margin:0}.hero h1>span{color:#d7c39a}.hero .eyebrow{color:#b9b09b;margin-bottom:25px}.type-caret{display:inline-block;width:.52em;height:.09em;background:#bd7464;margin-left:9px;vertical-align:baseline}
.hero-aside{padding-top:8px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.folio{font:10px/1.6 var(--mono);letter-spacing:1px;color:#bf9681;border-bottom:1px solid #6e4c40;padding-bottom:9px;margin-bottom:24px}.hero-aside>p{font-size:20px;line-height:1.7;max-width:365px;color:#d2cabb;margin-bottom:24px}.hero-aside .hero-footnote{font:10px/1.8 var(--mono);color:#a9a597;margin:22px 0 0}
.button{font:12px/1.5 var(--mono);background:#d7c39a;border-color:#d7c39a;color:#211e18;border-radius:0;padding:13px 17px;gap:20px}.button:hover{background:#e8d7b5}.section-intro h2,h2{font-family:var(--mono);font-size:clamp(23px,2.5vw,30px);letter-spacing:-1.2px}.section-intro>p{font:14px/1.7 var(--sans);max-width:315px;color:#b4afa3}.preview-section{padding-top:40px}.section-intro .eyebrow{color:#bd9680}
.workspace{border:1px solid #59564b;border-radius:3px;box-shadow:0 18px 55px #0004;grid-template-columns:202px minmax(0,1fr)}.page-tree{background:#1d1e1b;border-color:var(--line);color:#ada99d}.space-name{color:#d3cbbd}.tree-label,.muted{color:#99968a}.selected{background:#36352d;color:#e0cfac;border-radius:0}.tree-bottom{color:#aaa597}.editor-bar{color:#b5ad9a;background:#292923;border-color:#454339}.breadcrumb strong{color:#ddd3bd}.doc-scroll{background:var(--editor);scrollbar-color:#6b6657 #242421;height:680px}.document{position:relative;padding:34px 48px 48px 65px;font:15px/1.85 var(--mono);background:linear-gradient(90deg,transparent 39px,#84544666 39px,#84544666 40px,transparent 40px);min-height:100%}.document h2,.document h3,.document h4{font-family:var(--mono)}.document h2{font-size:29px}.document h3{font-size:22px}.document h4{font-size:17px;font-weight:600}.document strong{color:#f0e7d5}.doc-meta{color:#aaa18f}.doc-meta span:first-child{border:0;border-radius:0;padding:0;color:#d4c29a}.md-mark{color:#bd9680}.document-subtitle,.source-label{color:#ada28a}.plan{color:#c8bda4;border-color:#484438}.plan summary>span{color:#b5aa93}.tutor-note{border-left:0;padding:0;color:#d6cfbe}.speaker{color:#c5ab87;letter-spacing:1px}.learner{border-left:0;background:#303029;padding:16px 19px;color:#e3dccb;position:relative}.learner:before{content:'>';position:absolute;left:-24px;color:#bf9681}.learner .speaker{color:#bab69c}.feedback-label{color:#daa68c}.feedback.correct .feedback-label{color:#b9c8a2}.topic-divider{border-color:#605a49;color:#c5b697}.answer-box{background:#20211d;border-color:#6c6350;border-radius:0}.answer-box label{color:#ddc8a1}.answer-box label span{color:#b6af9e}.answer-box textarea{font:14px/1.8 var(--mono);color:#eee5d4}.answer-box textarea::placeholder{color:#aaa18e}.answer-bottom{border-color:#494437}.answer-bottom>span{color:#afa591}.answer-bottom button{background:#d7c39a;color:#211e18;border-radius:0;font:11px/1.6 var(--mono);min-height:44px}.text-button{color:#d7c39a}.document-end{color:#b3a68c}.editor-status{color:#b9ac91;background:#20211c}.preview-caption{color:#aaa18f}.approach{padding:65px 0;gap:70px}.number{color:#d4bf96}.approach-copy p,.setup li p,.setup>div>p:last-child{color:#bdb5a5;font-size:16px}.setup h3{font:600 14px var(--mono);color:#e2d4ba}.setup ol{color:#c0ae88}.setup{padding:60px 0}code{background:#2c2b24;border-color:#57503d;color:#e0cca5}.note p{color:#b5ad9c}.note{font-family:var(--mono)}footer .wordmark,footer p,footer>a:last-child{color:#b7ac96}a:focus-visible,button:focus-visible,textarea:focus-visible,.doc-scroll:focus-visible,summary:focus-visible{outline-color:#d7c39a}nav a{display:inline-flex;align-items:center;min-height:44px}.plan summary{min-height:30px}
@media(max-width:1000px){.hero{gap:35px}.hero h1{letter-spacing:-2.5px}.workspace{grid-template-columns:170px minmax(0,1fr)}.document{padding-left:48px;padding-right:28px;background:linear-gradient(90deg,transparent 26px,#84544666 26px,#84544666 27px,transparent 27px)}}
@media(max-width:680px){.hero{grid-template-columns:1fr;gap:30px;padding:38px 0}.hero h1{font-size:clamp(32px,8.5vw,49px);letter-spacing:-2px}.hero-aside{padding:0}.hero-aside>p{font-size:18px;max-width:100%;margin-bottom:18px}.folio{margin-bottom:16px}.hero .button{margin-top:0}.hero-aside .hero-footnote{margin-top:16px}.workspace{display:block}.section-intro h2{font-size:23px}.document{font-size:13px;padding:24px 19px 36px 36px;background:linear-gradient(90deg,transparent 19px,#84544666 19px,#84544666 20px,transparent 20px)}.learner:before{left:-15px}.document h4{font-size:16px}.doc-scroll{height:630px}.plan summary{min-height:44px}.section-intro>p{max-width:100%}.approach,.setup{gap:20px;padding:42px 0}.hero h1 .type-caret{margin-left:5px}.editor-bar{font-size:9px}}

.physics-figure{margin:22px 0 28px;padding:18px 14px 12px;background:#20211d}.physics-figure img{display:block;width:100%;height:auto}.physics-figure figcaption{margin-top:12px;font:11px/1.7 var(--mono);color:var(--muted)}
.demo-title{font:400 clamp(26px,4vw,44px)/1.2 var(--mono);letter-spacing:-1.5px;margin:40px 0 0}.preview-section>.button{margin:6px 0 24px}

/* Reserve the longest word's line while the cursor follows the typed text. */
.hero h1 .rotating-word{display:inline-block;color:var(--accent);width:9.8ch;white-space:nowrap}
.hero h1 .type-caret{display:inline-block;width:.12em;height:.85em;margin-left:.08em;vertical-align:-.06em;background:var(--accent);animation:type-blink 1s steps(1,end) infinite}
@keyframes type-blink{50%{opacity:0}}
.hero h1 u{text-decoration-thickness:.045em;text-underline-offset:.15em}
.try-link,.try-link.button{display:inline-block;background:none;border:0;padding:0;color:var(--ink);font:14px/1.7 var(--mono);text-decoration:underline;text-underline-offset:5px;border-radius:0}
.try-link:hover,.try-link.button:hover{background:none;color:var(--accent)}
.preview-try{margin:22px 0 0}.hero-aside .hero-footnote{font:13px/1.8 var(--mono);max-width:330px}
.approach-example{margin:22px 0 4px}.approach-example img{display:block;width:100%;height:auto;box-shadow:0 12px 30px #0003}.approach-example figcaption{font:11px/1.7 var(--mono);color:var(--muted);margin-top:10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){.hero h1 .type-caret{animation:none}}
@media(max-width:680px){.hero h1 .type-caret{margin-left:.08em}}

/* The original learning document, expanded without altering the embedded desk. */
.example-open{margin:0 0 16px}
#example-fullscreen{position:fixed;inset:0;margin:0;padding:0;border:0;max-width:none;max-height:none;width:100vw;height:100vh;height:100dvh;background:var(--bg);color:var(--ink)}
#example-fullscreen[open]{display:flex;flex-direction:column}
.example-is-open{overflow:hidden}
.example-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));font:12px/1.6 var(--mono);border-bottom:1px solid var(--line)}
.example-toolbar button{flex-shrink:0;min-height:44px;color:var(--ink);margin:0}
#example-fullscreen .workspace{flex:1;min-height:0;min-width:0;margin:0;border:0;border-radius:0;box-shadow:none;overflow:hidden}
#example-fullscreen .editor{display:flex;flex-direction:column;min-height:0;min-width:0;height:100%}
#example-fullscreen .doc-scroll{flex:1;min-height:0;height:auto;overscroll-behavior:contain}
#example-fullscreen .document{max-width:1000px;margin:auto}
@media(max-width:680px){.example-toolbar{font-size:10px;gap:10px}#example-fullscreen .workspace{display:flex}#example-fullscreen .editor{width:100%}}
