/* Original NanT identity: notebook margins, campus stickers, a quiet reading page. */
:root{--ink:#232126;--muted:#626069;--line:#d0cbd5;--paper:#fffdf6;--accent:#7042df;--green:#5630a9;--rail:#f3f0ff;--serif:Georgia,'Times New Roman',serif;background:#faf8f0;color:var(--ink)}
html{scroll-behavior:smooth;scroll-padding-top:20px}body{background:#faf8f0}a{color:#5530a4}button,input,select,textarea{font-size:13px}button{transition:transform .15s,box-shadow .15s}button:enabled:hover{transform:translateY(-2px)}:focus-visible{outline:3px solid #7042df;outline-offset:4px}.app-header{height:90px;padding:0 5%;background:#faf8f0;border-bottom:2px solid var(--ink);gap:30px}.brand{width:auto;gap:9px;letter-spacing:-2px;font-size:34px}.brand img{width:58px;height:58px}.brand strong{font-weight:900}.brand-sub{font-family:DeskMono,monospace;font-size:9px;letter-spacing:0;line-height:1.5;max-width:125px}.header-path{margin-left:auto;letter-spacing:0;font-size:11px;color:#39343f;display:flex;gap:24px}.header-path a{color:inherit;text-decoration:none}.header-path a:hover{text-decoration:underline}.local-badge{margin-left:0;font-size:10px;background:#d7ff3f;color:#222126;border:1.5px solid var(--ink);padding:9px 12px;border-radius:30px}.hero{max-width:1440px;margin:auto;padding:65px 6% 62px;display:grid;grid-template-columns:1.15fr 1fr;gap:60px;align-items:center}.hero-kicker{font-family:DeskMono,monospace;font-size:11px;font-weight:600;letter-spacing:.6px;display:flex;align-items:center;gap:8px}.hero-kicker:before{content:'';width:10px;height:10px;background:#7042df;border-radius:50%}.hero h1{font-size:clamp(48px,5.8vw,88px);font-weight:900;line-height:.99;letter-spacing:-5px;margin:24px 0}.hero h1 em{font-style:normal;background:#d7ff3f;box-shadow:7px 0 #d7ff3f,-4px 0 #d7ff3f;display:inline-block;transform:rotate(-2deg);padding:0 5px 8px}.hero-copy>p{font-size:16px;line-height:1.75;max-width:440px;color:#5e5863}.hero-actions{display:flex;gap:12px;align-items:center;margin:27px 0 18px;flex-wrap:wrap}.hero-cta{background:#7042df;color:white;padding:16px 22px;border:2px solid var(--ink);box-shadow:4px 4px var(--ink);border-radius:9px;text-decoration:none;font-size:14px;font-weight:750}.hero-cta:hover{transform:translate(-1px,-1px);box-shadow:5px 5px var(--ink)}.hero-secondary{background:transparent;color:var(--ink);padding:14px;font-size:13px;font-weight:650;border:0;text-decoration:underline;text-underline-offset:5px}.hero-fine{font-family:DeskMono,monospace;font-size:10px!important;color:#69616e!important}.hero-art{position:relative;min-height:380px;display:grid;place-items:center;background-image:radial-gradient(#c3b9cf 1px,transparent 1px);background-size:19px 19px;border-radius:30px}.preview-note{background:#fffdf6;width:83%;max-width:375px;transform:rotate(3deg);border:2px solid var(--ink);border-radius:5px;box-shadow:9px 9px #d5c4ff;padding:28px 28px 24px;position:relative}.preview-note:before{content:'';position:absolute;top:-13px;left:34%;height:28px;width:110px;background:#f7b3c6d9;transform:rotate(-5deg)}.preview-note .note-top{font-family:DeskMono,monospace;font-size:9px;color:#6b6374;border-bottom:1px solid #d0cbd5;padding-bottom:14px}.preview-note h2{font-size:24px;line-height:1.1;letter-spacing:-.8px;margin:18px 0 10px}.preview-note p{font-size:12px;line-height:1.7;color:#615a68}.preview-note pre{font-family:DeskMono,monospace;background:#efebff;border:1px solid #d6cbef;border-radius:6px;font-size:11px;line-height:1.8;padding:14px;white-space:pre-wrap;color:#5530a4}.note-bottom{font-family:DeskMono,monospace;font-size:9px;color:#6d6574;display:flex;justify-content:space-between;margin-top:20px}.sticker{position:absolute;font-weight:850;border:2px solid var(--ink);box-shadow:3px 3px var(--ink);z-index:1}.sticker-lime{right:-5px;top:23px;transform:rotate(10deg);background:#d7ff3f;padding:13px 17px;border-radius:50%;font-size:14px;line-height:1.1;text-align:center}.sticker-pink{left:-8px;bottom:20px;transform:rotate(-9deg);background:#ffb8ce;padding:11px 18px;border-radius:7px;font-family:DeskMono,monospace;font-size:11px}.squiggle{position:absolute;bottom:0;right:22px;width:95px;color:#7042df}.ticker{display:flex;justify-content:center;gap:30px;flex-wrap:wrap;padding:16px 5%;background:#d7ff3f;border-block:2px solid var(--ink);font-family:DeskMono,monospace;font-size:11px;font-weight:600}.ticker span:before{content:'✳';margin-right:15px}.desk-heading{max-width:1440px;margin:40px auto 22px;padding:0 4%;display:flex;justify-content:space-between;align-items:end;gap:20px}.desk-heading h2{font-size:31px;letter-spacing:-1px;margin:0}.desk-heading p{font-size:12px;color:#685f70}.workspace{max-width:1500px;margin:0 auto 55px;border:2px solid var(--ink);border-radius:15px;overflow:clip;grid-template-columns:305px minmax(0,1fr) 250px;min-height:900px;box-shadow:6px 6px #d7ff3f}.sidebar{background:#f3f0ff;color:var(--ink);padding:27px 22px;border-right:1px solid #d0cbd5}.sidebar h1{font-family:inherit;font-weight:850;font-size:27px;letter-spacing:-1px;margin:20px 0 12px}.sidebar .section-label{color:#7042df}.sidebar-intro{font-size:12px;color:#665c74;line-height:1.65;margin-bottom:23px}.section-label{font-size:10px;font-weight:600}.section-label span{opacity:.85}label{font-size:9px;color:#5f526f;font-weight:600}input:not([type=checkbox]),select,textarea{border:1.5px solid #b2a8c3;color:#2e2639;background:#fffdf8;border-radius:6px;padding:11px 10px;font-size:12px}input::placeholder,textarea::placeholder{color:#8b8195}input[type=file]{font-size:10px!important}input[type=file]::file-selector-button{background:#e2d8ff;color:#48316d;border:0;border-radius:3px;padding:5px;margin-right:6px}input[type=checkbox]{accent-color:#7042df;width:15px;height:15px}.hint{font-size:11px;color:#70647c;line-height:1.65}.source-details{border-color:#d0c5e4}.source-details summary{font-size:12px;color:#50396b}.source-details summary span{color:#7b6a8d}.text-button{color:#6740ad;font-size:11px}.source-details .text-button{color:#6740ad}.engine-status{color:#5d437c;font-size:10px}.engine-status>span:first-child{color:#7042df}.primary{border:2px solid #27212e;border-radius:7px;background:#7042df;color:white;box-shadow:3px 3px #27212e;font-size:13px;padding:14px;margin-top:18px}.primary:hover{background:#6334d0}.secondary{color:#493b5f;background:#fffdf8;border:1.5px solid #a99aba;border-radius:6px;font-size:12px}.secondary:hover{background:#e7ddff}.demo-block{border-color:#d0c5e4}.demo-block p,.sidebar-bottom{color:#7b6b89;font-size:10px}.demo-block .text-button{color:#6740ad}.sidebar-bottom{border-color:#d0c5e4}.chapter-nav{border-color:#d0c5e4}.chapter-nav h3{color:#715782}.chapter-link{color:#4c3761;border-color:#d0c5e4}.chapter-link span{color:#715782}.chapter-link.active{color:#7042df}main{background:#ede9f1;padding:0 20px}.reader-toolbar{height:65px}.crumb{font-size:9px;color:#776781}.state-badge{font-size:10px;color:#685775;background:#e1d7f3;border-radius:20px;padding:6px 9px}.blank-paper,.result{border:1px solid #d7cfe0;border-radius:5px;box-shadow:0 4px 0 #dcd6e4;padding:28px 30px}.blank-paper{min-height:650px;background:repeating-linear-gradient(#fffdf6,#fffdf6 31px,#eae4f2 31px,#eae4f2 32px);position:relative}.paper-running-head{color:#87778e;font-size:8px}.paper-number{font-family:inherit;font-weight:900;font-size:85px;color:#d3c3f1;letter-spacing:-7px;margin-top:52px}.blank-paper h2{font-family:inherit;font-size:36px;font-weight:850;letter-spacing:-1.8px;line-height:1.05}.blank-paper>p{font-family:inherit;font-size:14px;color:#7b6d87;line-height:1.85}.paper-divider{background:#d7cfe0}.paper-path{color:#766481;font-size:8px}.paper-path b{color:#7042df}.blank-paper .paper-note{color:#85748e}.main-footer{font-size:8px;color:#8a7b94;line-height:1.5;padding-block:20px}.source-title{font-family:inherit;font-weight:850;font-size:32px;letter-spacing:-1px;color:#302436}.source-meta{color:#7a6985}.chapter-ordinal{color:#7042df}.review-strip{color:#746480;border-color:#ded5e6}.tabs{gap:17px}.tabs button{font-size:11px;color:#887391}.tabs button[aria-pressed=true]{color:#7042df;border-color:#7042df}.prose{color:#312c35;line-height:1.85}.prose h2{font-weight:650;color:#35213d}.prose h3{color:#715187}.prose pre{background:#f0ecf8;color:#433450;border:1px solid #ded5eb;padding:16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;border-radius:5px}.prose code{background:#eee7f8;color:#563478}.prose blockquote{color:#786385;border-left-color:#c9b6e6}.export-panel{background:#fffdf6;border-left:1px solid #d0cbd5;padding:27px 19px;color:var(--ink)}.export-panel h2{font-family:inherit;font-weight:850;font-size:27px;letter-spacing:-1px}.export-intro{color:#817088;font-size:12px}.style-option{border:1.5px solid #d1c5df;border-radius:8px;padding:12px 8px;color:#3b2a49;background:#fffdf6}.style-option[aria-pressed=true]{border:2px solid #7042df;background:#f3edff}.style-option strong{font-size:11px}.style-option small{font-size:9px;color:#80708b}.style-check{color:#7042df}.pdf-button{border:2px solid #27212e;background:#d7ff3f;color:#27212e;border-radius:7px;box-shadow:3px 3px #27212e;font-size:12px;padding:14px}.pdf-button:hover{background:#cbf02e}.pdf-specs{color:#6b5b75;font-size:9px}.pdf-specs div{border-color:#e2d9e8}.timestamp-choice{color:#796684;font-size:10px;line-height:1.5}.workflow-note{border-color:#dfd4e7;color:#776481;font-size:10px}.workflow-note strong{color:#584264}.other-exports{gap:15px}.saved-label{color:#7a6586}.status{border:1px solid #c5a8e8;border-left:4px solid #7042df;background:#eee1ff;color:#563374;border-radius:6px;font-size:12px}.status.success{background:#eff7d5;border-color:#afca4e;color:#4e5d29}.stage{color:#8c7a9b;font-size:9px}.stage.current{color:#7042df;border-color:#7042df}.stage.done{color:#657a35}.metrics{gap:8px}.metric{background:#f0ebf8;padding:12px;color:#604776}.evidence-card{border-color:#d4c7e1;color:#604e70}.frame-row{font-size:11px}.history-panel summary{color:#6b4c84}.history-item{color:#59426e;border-color:#d4c7e1}.footer-brand{border-top:2px solid #232126;background:#e7dcff;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 5%;font-family:DeskMono,monospace;font-size:10px}.footer-brand a{color:#4d326b}.footer-brand strong{font-family:system-ui,sans-serif;font-size:24px;letter-spacing:-1px}.hosted-notice{padding:12px;border:1px solid #c7b3e6;background:#e8dcff;border-radius:6px;font-size:11px;color:#5f4279;line-height:1.6}.export-error{color:#8f2859}.cloud-usage{font-size:10px;color:#6a527f;line-height:1.7;margin:12px 0}
@media(min-width:1600px){.workspace{margin-inline:auto}}@media(max-width:1530px){.workspace{margin-inline:3%}}@media(max-width:1150px){.workspace{grid-template-columns:280px minmax(0,1fr)}.export-panel{grid-column:1/-1;border-left:0;border-top:1px solid #d0cbd5;display:block;padding:26px}.style-picker{display:flex;gap:12px}.style-option{flex:1}.pdf-specs{max-width:500px}.export-panel .pdf-button{max-width:400px}.hero{gap:35px}.brand-sub{display:none}}@media(max-width:760px){.app-header{height:76px;padding:0 5%;gap:10px}.brand{font-size:28px}.brand img{width:44px;height:44px}.header-path{gap:14px;font-size:10px}.header-path a:first-child{display:none}.local-badge{font-size:8px;padding:7px 8px}.hero{grid-template-columns:1fr;padding:40px 7% 32px;gap:22px}.hero h1{font-size:61px;letter-spacing:-3.7px}.hero-copy>p{font-size:14px}.hero-art{min-height:330px}.preview-note{max-width:320px;padding:23px}.sticker-lime{right:1px;top:10px}.sticker-pink{left:0;bottom:0}.ticker{gap:12px;font-size:9px;padding:13px}.ticker span:before{margin-right:6px}.desk-heading{padding:0 7%;display:block;margin-top:30px}.desk-heading h2{font-size:26px}.workspace{display:flex;flex-direction:column;margin-inline:5%;box-shadow:4px 4px #d7ff3f}.sidebar{border-right:0;border-bottom:1px solid #d0cbd5;padding:24px}.sidebar h1 br{display:none}.sidebar h1{font-size:25px}.sidebar-intro{max-width:400px}.sidebar-bottom{display:none}main{padding:0 15px 20px}.blank-paper,.result{padding:24px}.blank-paper{min-height:580px}.blank-paper h2{font-size:34px}.source-title{font-size:27px}.prose{font-size:15px}.export-panel{padding:24px}.style-picker{display:block}.style-option{width:100%}.footer-brand{align-items:start;line-height:1.8;font-size:9px}.footer-brand>div{max-width:200px}.screen-dialog{max-width:95vw}.main-footer{font-size:7px}.hero-fine{font-size:9px!important}.reader-mobile-tools{display:none!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
