:root{--ink:#243a32;--green:#193b34;--green-soft:#dfe7dc;--cream:#f7f4eb;--paper:#fffdf7;--muted:#737969;--line:#dfdfd2;--gold:#a87d35;--brass:#d6b56e;--red:#9d5e4c;--sans:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;--serif:"Songti SC","STSong","Noto Serif CJK SC",serif;--shadow:0 14px 42px #213b3210}
*{box-sizing:border-box}html{background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:14px}body{margin:0;min-width:280px}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--gold)}button{border:0;background:none;min-height:44px}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}p{line-height:1.8}h1,h2,h3,p{margin:0}strong{font-weight:600}[hidden]{display:none!important}.plain{padding:0}.prototype-banner{min-height:30px;background:#ede8d7;color:#695c3c;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;letter-spacing:1px;padding:6px 16px}.prototype-dot{height:5px;width:5px;background:#a08043;box-shadow:5px 0 #a0804366}.banner-extra{letter-spacing:.2px;opacity:.7;margin-left:14px}.site-header{height:94px;display:flex;align-items:center;justify-content:space-between;padding:0 4.5%;border-bottom:1px solid var(--line);gap:24px;background:var(--cream)}.brand{display:flex;align-items:center;gap:12px;text-align:left}.brand-mark{display:grid;place-items:center;width:42px;height:44px;background:var(--green);color:var(--brass);font-family:var(--serif);font-size:24px;clip-path:polygon(0 0,90% 0,90% 10%,100% 10%,100% 100%,10% 100%,10% 90%,0 90%)}.brand strong{display:block;font-family:var(--serif);letter-spacing:3px;font-size:22px;font-weight:600}.brand small{font-size:8px;letter-spacing:1.2px;display:block;color:var(--muted);margin-top:5px}.main-nav{display:flex;gap:32px;height:100%;align-items:stretch;margin-left:auto;margin-right:auto}.nav-button{position:relative;font-size:13px;padding:0 4px;white-space:nowrap;color:var(--muted)}.nav-button.active{color:var(--ink);font-weight:600}.nav-button.active:after{content:"";width:22px;height:2px;position:absolute;bottom:22px;left:50%;transform:translateX(-50%);background:var(--gold)}.model-button{display:flex;gap:9px;align-items:center;border:1px solid #cbd1c4;border-radius:4px;padding:0 14px;font-size:12px;max-width:280px}.model-button #model-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-dot{height:6px;width:6px;border:1px solid var(--gold);border-radius:50%;flex-shrink:0}.shelf-page{max-width:1370px;margin:auto;padding:46px 5% 36px}.hero{display:grid;grid-template-columns:1.3fr 1fr;min-height:285px;gap:30px;border-bottom:1px solid var(--line);padding-bottom:43px}.eyebrow{font-size:10px;letter-spacing:2.8px;color:var(--gold);font-weight:600;text-transform:uppercase}.hero h1{font-family:var(--serif);font-size:clamp(32px,3.4vw,48px);font-weight:500;letter-spacing:2px;line-height:1.5;margin:15px 0 13px}.hero h1 span{display:block}.hero h1 em{font-style:normal;color:#7c896a}.hero p{font-size:13px;color:var(--muted);max-width:430px;margin-bottom:23px;line-height:1.9}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border-radius:3px;padding:10px 18px;font-size:12px;letter-spacing:.5px;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--green);color:#f9f7e9;border:1px solid var(--green)}.button.primary:hover{background:#285147}.button.secondary{border:1px solid #ccd0c3;background:#ffffff50}.button.secondary:hover{background:#e9ecdf}.button.gold{background:#dbbd7c;color:#26392e;border:1px solid #dbbd7c}.button.text{padding-left:10px;padding-right:10px;color:var(--muted)}.hero-actions{display:flex;gap:13px;align-items:center}.quiet-note{font-size:10px;letter-spacing:.6px;color:var(--muted)}.room-art{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;margin:0 25px 0 0;min-height:265px}.room-arch{position:absolute;inset:0 42px 25px;border:1px solid #b8bfab;border-radius:200px 200px 0 0;background:repeating-linear-gradient(0deg,#e9eadf00 0,#e9eadf00 30px,#abb79720 31px,#abb79720 32px),linear-gradient(145deg,#dbe2d3,#edf0e3 85%)}.moon{position:absolute;right:50px;top:38px;height:57px;width:57px;border:1px solid #ab9d6b;border-radius:50%;box-shadow:inset -13px -2px #ddd9b9}.art-stars{position:absolute;top:48px;left:45px;color:#9c9e74;font-size:16px;letter-spacing:37px}.arch-line{position:absolute;inset:13px;border:1px solid #b3baa14a;border-radius:190px 190px 0 0}.still-life{position:relative;display:flex;gap:18px;align-items:flex-end;width:290px;justify-content:center;border-bottom:7px solid #b7a586;padding-bottom:1px;margin-bottom:20px}.art-book{width:67px;height:155px;background:#335649;border-left:7px solid #243e34;box-shadow:2px 3px 0 #a4aa8b;transform:rotate(-8deg);position:relative;color:#d9c389;display:grid;place-items:center}.art-book:before,.art-book:after{content:"";position:absolute;left:9px;right:9px;height:1px;background:#bbab6f80}.art-book:before{top:12px}.art-book:after{bottom:12px}.art-book span{font-family:var(--serif);font-size:20px;writing-mode:vertical-rl;letter-spacing:6px}.art-book.gold-book{background:#bc955a;height:122px;width:44px;border-color:#8d723f;transform:rotate(3deg);margin-left:-9px;color:#f7edc8}.art-ink{width:39px;height:49px;border-radius:5px 5px 12px 12px;background:#344c40;position:relative;margin-left:26px;margin-bottom:4px;border-bottom:5px solid #293e35}.art-ink:before{position:absolute;content:"";width:22px;height:11px;background:#baaa80;top:-7px;left:8px}.quill{position:absolute;width:22px;height:106px;right:0;bottom:30px;background:#f6f4df;border:1px solid #acb497;border-radius:100% 5% 100% 2%;transform:rotate(28deg);transform-origin:bottom left;box-shadow:inset -7px 0 #ccd4bc}.art-caption{position:absolute;bottom:1px;font-size:8px;letter-spacing:2.8px;color:#8a8c72}.section-header{display:flex;justify-content:space-between;align-items:center;margin:35px 0 22px;gap:12px}.section-heading{display:flex;align-items:baseline;gap:15px}.section-heading h2{font-family:var(--serif);font-size:24px;font-weight:500;letter-spacing:2px}.section-heading span{font-size:11px;color:var(--muted)}.subtle-pill{font-size:10px;border:1px solid var(--line);padding:7px 10px;border-radius:2px;color:var(--muted);white-space:nowrap}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.book-card{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:23px;box-shadow:0 6px 20px #38493304;min-width:0;display:flex;flex-direction:column}.book-top{display:flex;align-items:flex-start;gap:19px}.book-cover{width:84px;height:119px;flex-shrink:0;background:#2c4b41;color:#d9c08a;border-radius:1px 3px 3px 1px;border-left:6px solid #213c33;box-shadow:3px 3px 0 #dcdccd;display:flex;align-items:center;justify-content:center;position:relative}.book-cover:before{content:"";position:absolute;inset:8px;border:1px solid #bdb47770}.book-cover:after{content:"◈";position:absolute;bottom:10px;font-size:11px}.book-cover span{font-family:var(--serif);font-size:18px;letter-spacing:4px;writing-mode:vertical-rl;max-height:87px;overflow:hidden}.book-cover.rust{background:#89614e;border-color:#694c3e;color:#f0dab0}.book-meta{flex:1;min-width:0}.tag{font-size:9px;letter-spacing:1px;color:#8a805d;display:block;margin-bottom:9px}.book-meta h3{font-family:var(--serif);font-size:21px;font-weight:500;letter-spacing:1px;margin-bottom:8px;overflow-wrap:anywhere}.book-meta p{font-size:11px;color:var(--muted);line-height:1.9}.book-footer{margin-top:24px;padding-top:13px;border-top:1px solid #e9e8df;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);gap:8px}.book-footer button{font-size:11px;white-space:nowrap;display:flex;align-items:center;gap:12px;padding:0;color:var(--green)}.new-book{border:1px dashed #bac5b3;align-items:center;justify-content:center;background:#edf0e750;min-height:246px;transition:background .15s}.new-book:hover{background:#e6ecdF}.new-book .plus{display:grid;place-items:center;width:40px;height:40px;border:1px solid #b5bdab;color:#829478;margin-bottom:17px;font-size:22px}.new-book h3{font-family:var(--serif);font-size:21px;font-weight:500;letter-spacing:1px}.new-book p{font-size:11px;color:var(--muted);margin-top:10px}.shelf-footer{border-top:1px solid var(--line);margin-top:40px;padding-top:22px;display:flex;justify-content:space-between;gap:25px;font-size:10px;color:var(--muted);line-height:1.8}.shelf-footer strong{font-weight:500;color:#616f5f}.process-note{display:flex;align-items:center;gap:14px}.process-note i{font-style:normal;color:#b0b5a6}.storage-note{max-width:340px;text-align:right}
/* The writing desk: quiet paper, persistent context, a separate suggestion tray. */
.desk-topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 28px;border-bottom:1px solid var(--line);background:#f0f1e7}.desk-breadcrumb{display:flex;gap:12px;align-items:center;min-width:0}.desk-breadcrumb button{padding:0 8px;color:var(--muted);font-size:12px}.desk-breadcrumb .slash{color:#bcc3b2}.desk-title{font-family:var(--serif);font-size:20px;letter-spacing:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desk-topbar-actions{display:flex;gap:14px;align-items:center}.save-label{font-size:10px;color:var(--muted);white-space:nowrap}.desk-layout{display:grid;grid-template-columns:235px minmax(0,1fr) 316px;max-width:1800px;margin:auto;min-height:calc(100vh - 203px)}.manuscript-side{border-right:1px solid var(--line);padding:26px 18px;background:#eff0e7;min-width:0}.side-eyebrow{font-size:9px;letter-spacing:1.6px;color:var(--muted);padding:0 9px;margin-bottom:17px}.side-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;border-bottom:1px solid #d9ddcf;margin-bottom:20px}.side-tabs button{font-size:11px;padding:8px 2px;position:relative;color:var(--muted)}.side-tabs button.active{color:var(--green);font-weight:600}.side-tabs button.active:after{content:"";position:absolute;bottom:-1px;height:2px;background:var(--gold);left:8px;right:8px}.volume-heading{font-size:11px;letter-spacing:1px;color:#7f866e;padding:0 9px;margin:0 0 12px}.chapter-button{width:100%;display:flex;align-items:flex-start;text-align:left;gap:10px;padding:14px 10px;border-radius:3px;position:relative;min-height:66px;margin-bottom:5px}.chapter-button.active{background:#dfe5d6}.chapter-number{font-family:Georgia,serif;font-size:11px;color:#8f997e;padding-top:2px}.chapter-name{font-size:12px;margin-bottom:5px;display:block;overflow-wrap:anywhere}.chapter-state{font-size:9px;color:#8a907f;display:block}.chapter-status-mark{margin-left:auto;font-size:11px;color:#8b9979}.add-chapter{color:var(--muted);font-size:11px;width:100%;border:1px dashed #c5cdba;margin-top:17px;border-radius:3px}.lore-card{padding:15px 10px 19px;border-bottom:1px solid var(--line)}.lore-card h3{font-size:13px;font-weight:500;margin-bottom:7px}.lore-card p{font-size:11px;color:var(--muted);line-height:1.9}.lore-tag{font-size:9px;color:var(--gold);margin-bottom:7px;display:block}.editor-pane{min-width:0;background:var(--paper);padding:26px 0 40px}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 32px;color:var(--muted);font-size:10px}.editor-toolbar-actions{display:flex;gap:9px}.tool-button{font-size:11px;padding:0 8px;color:#65755f}.tool-button:hover{background:#eff0e7}.paper{max-width:780px;padding:32px 48px 15px;margin:auto}.chapter-kicker{font-size:10px;letter-spacing:2.4px;color:var(--gold);margin-bottom:16px}.chapter-title{font-family:var(--serif);font-weight:500;font-size:30px;line-height:1.5;letter-spacing:2px;margin-bottom:8px;overflow-wrap:anywhere}.chapter-subtitle{font-size:10px;color:#99a08b;letter-spacing:1px}.manuscript-divider{width:36px;height:1px;background:#bdad7b;margin:24px 0 25px}.manuscript{border:0;resize:vertical;width:100%;min-height:390px;padding:0;background:transparent;color:#344136;font-family:var(--serif);font-size:17px;line-height:2.25;letter-spacing:.4px;overflow-wrap:anywhere}.manuscript::placeholder{color:#b1b6a5}.manuscript:focus{outline:0}.manuscript:focus-visible{outline:1px dashed #cdd4c2;outline-offset:9px}.editor-bottom{max-width:684px;margin:auto;padding:22px 24px 0;border-top:1px solid #ecebe0;text-align:center;font-family:var(--serif);color:#9a9d86;font-size:13px;letter-spacing:2px}.assistant-pane{border-left:1px solid var(--line);background:#f1f2e9;padding:26px 22px;min-width:0}.assistant-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.assistant-heading h2{font-family:var(--serif);font-size:22px;font-weight:500;letter-spacing:2px}.assistant-heading .spark{color:var(--gold);font-size:20px}.assistant-intro{font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:21px}.context-card{background:#fffdf6;border:1px solid #d9dfcf;padding:17px;border-radius:3px;margin-bottom:19px}.card-label{font-size:9px;letter-spacing:1.5px;color:var(--gold);margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.card-label button{min-height:44px;margin:-15px -7px -10px 0;padding:0 7px;font-size:10px;color:#818b71}.context-card h3{font-size:13px;font-weight:500;margin-bottom:9px}.context-card p{font-size:11px;color:#777f6b;line-height:1.8}.context-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.context-tags span{font-size:9px;background:#edf0e5;padding:4px 7px;color:#727d64}.assistant-label{font-size:10px;letter-spacing:.5px;margin-bottom:11px;color:#69765f}.pipeline{list-style:none;padding:0;margin:0 0 17px;display:flex;flex-direction:column;gap:0}.pipeline li{display:flex;gap:12px;align-items:center;min-height:38px;position:relative;font-size:11px;color:#7c846e}.pipeline li:before{content:"";position:absolute;top:26px;bottom:-8px;left:9px;width:1px;background:#d6dec9}.pipeline li:last-child:before{display:none}.step-dot{position:relative;z-index:1;border:1px solid #c3ceb7;height:19px;width:19px;display:grid;place-items:center;border-radius:50%;background:#f1f2e9;font-size:8px;color:#899679}.pipeline li.done .step-dot{background:#59714e;border-color:#59714e;color:#fff}.pipeline li.current .step-dot{border-color:var(--gold);background:#e8d7b4;color:#785c2c}.pipeline li.current{color:#846b3b}.step-hint{margin-left:auto;font-size:9px;color:#96a087}.full{width:100%}.assistant-disclaimer{font-size:10px;color:#8b917c;text-align:center;margin-top:9px;line-height:1.7}.pending-card{border:1px solid #b9c8aa;border-radius:3px;background:#e6eddc;padding:16px;margin-top:20px}.pending-card h3{font-size:12px;margin-bottom:8px;font-weight:500}.pending-card p{font-size:11px;line-height:1.8;color:#6c795e}.pending-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.pending-actions .button{padding:9px 7px;font-size:10px}.pending-discard{min-height:44px;display:block;margin:4px auto -8px;font-size:10px;color:#828b72}.assistant-footnote{border-top:1px solid #dbe1d0;margin-top:24px;padding-top:17px;color:#8c947f;font-size:10px;line-height:1.9}.mini-memory{display:flex;gap:10px;font-size:10px;color:#78886a;padding-top:15px}.mini-memory span:first-child{color:#a38749}.mobile-desk-tabs{display:none}.empty-body-note{color:#9ea58e;font-size:12px;margin-top:14px}.running-dot{display:inline-block;animation:pulse 1s ease infinite}@keyframes pulse{50%{opacity:.3}}
/* Native dialogs provide keyboard focus trapping and Escape support. */
dialog{padding:0;border:1px solid #c9ccbc;border-radius:7px;background:var(--paper);color:var(--ink);width:min(610px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-shadow:0 35px 120px #0b22164a;overflow:auto}dialog::backdrop{background:#132f285b;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:27px 30px 19px;border-bottom:1px solid var(--line)}.modal-header .eyebrow{font-size:8px;margin-bottom:9px}.modal-header h2{font-family:var(--serif);font-size:28px;letter-spacing:2px;font-weight:500}.close-dialog{height:44px;width:44px;font-size:22px;flex-shrink:0;margin:-7px -10px 0 0;color:#88947b}.modal-body{padding:24px 30px 28px}.modal-note{font-size:11px;color:var(--muted);line-height:1.9;margin-bottom:19px}.form-label{display:block;font-size:12px;margin:17px 0 8px}.form-label:first-child{margin-top:0}.form-input{display:block;width:100%;border:1px solid #ced5c3;border-radius:3px;background:#fffef9;padding:12px;color:var(--ink);min-height:44px;font-size:14px;line-height:1.6}.form-input:disabled{background:#eff0e6;color:#949b86;cursor:not-allowed;opacity:1}.form-input::placeholder{color:#9da68c}.form-input.textarea{min-height:100px;resize:vertical}.form-hint{font-size:10px;color:#8c947e;margin-top:7px;line-height:1.8}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}.segmented{display:flex;background:#eef0e6;border:1px solid #d6deca;border-radius:4px;padding:4px;margin-bottom:21px;gap:5px}.segmented button{flex:1;padding:9px;font-size:12px;color:#7f8a70;border-radius:2px;min-height:44px}.segmented button.selected{background:#fffef9;box-shadow:0 1px 4px #40512d16;color:var(--green)}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:21px}.mode-card{text-align:left;border:1px solid #d0d8c4;border-radius:3px;padding:15px}.mode-card.selected{background:#e7eddd;border-color:#8a9d75}.mode-card strong{display:block;font-family:var(--serif);font-size:20px;font-weight:500;letter-spacing:2px}.mode-card span{display:block;font-size:10px;color:#879174;margin-top:8px;line-height:1.8}.model-explainer{padding:16px;background:#eef1e5;border:1px solid #d2dbc3;margin-bottom:20px;border-radius:3px}.model-explainer strong{display:block;font-size:12px;margin-bottom:7px;font-weight:500}.model-explainer p{font-size:11px;color:#798568;line-height:1.9}.model-connect-state{font-size:10px;display:flex;gap:8px;align-items:center;color:#8c7953;margin-top:15px;padding-bottom:4px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:21px;margin-top:24px}.modal-actions .button{min-width:100px}.compare-dialog{width:min(980px,calc(100vw - 32px))}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.compare-block{min-width:0;background:#f3f3e9;padding:18px;border:1px solid #e0e4d5;border-radius:3px}.compare-block h3{font-size:11px;letter-spacing:1px;margin-bottom:13px;color:#81906f}.compare-block p{font-family:var(--serif);font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:2}.compare-block.added{background:#ecf1e4;border-color:#d3ddc5}.compare-added{background:#d9e6c7;color:#355b30;display:block;white-space:pre-wrap}.paused-notice{padding:12px 14px;background:#eee4c9;font-size:11px;color:#8c733e;border-radius:3px;margin-bottom:12px;line-height:1.8}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,12px);background:#1e3f35;color:#f9f6e8;border:1px solid #809274;box-shadow:0 7px 30px #17302633;border-radius:4px;z-index:20;font-size:12px;padding:13px 20px;max-width:calc(100vw - 28px);width:max-content;line-height:1.8;opacity:0;pointer-events:none;transition:.2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.noscript{padding:40px;text-align:center}.new-card-feedback{font-size:11px;color:var(--red);min-height:18px;margin-top:11px}.footnote-seal{display:inline-block;border:1px solid #a6af97;padding:1px 5px;font-size:9px;margin-right:7px}.soft-entry{animation:enter .4s ease both}@keyframes enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.desk-layout{grid-template-columns:270px minmax(0,1fr) 350px}.paper{padding-top:45px}.manuscript{min-height:490px}.assistant-pane{padding:30px}}
@media(max-width:1150px){.site-header{padding:0 3%}.desk-layout{grid-template-columns:205px minmax(0,1fr) 275px}.assistant-pane{padding:25px 16px}.manuscript-side{padding:26px 12px}.paper{padding:28px 30px 15px}.editor-toolbar{padding:0 21px}.book-grid{gap:15px}.book-card{padding:19px}.book-top{gap:13px}.book-cover{width:68px;height:108px}.book-meta h3{font-size:19px}.room-art{margin-right:0}.room-arch{inset:0 15px 25px}}
@media(max-width:920px){.brand small{font-size:7px}.main-nav{gap:20px}.model-button{max-width:200px}.hero{grid-template-columns:1.25fr 1fr;gap:10px}.hero h1{font-size:35px}.book-grid{grid-template-columns:1fr 1fr}.new-book{grid-column:span 2;min-height:100px;flex-direction:row;gap:16px}.new-book .plus{margin:0}.new-book p{margin:0}.shelf-footer{flex-direction:column;gap:15px}.storage-note{text-align:left;max-width:none}.desk-layout{display:block;min-height:calc(100vh - 250px)}.desk-layout>[data-mobile-pane]{display:none}.desk-layout>[data-mobile-pane].mobile-active{display:block}.mobile-desk-tabs{display:flex;gap:0;align-items:stretch;border-bottom:1px solid var(--line);background:#f0f1e7;position:sticky;top:0;z-index:2}.mobile-desk-tabs button{flex:1;min-height:46px;font-size:12px;border-bottom:2px solid transparent;color:#7c886e}.mobile-desk-tabs button.active{border-bottom-color:var(--gold);color:var(--green);background:#e7ecdd}.manuscript-side{border-right:0;min-height:500px;padding:24px}.assistant-pane{border-left:0;max-width:650px;margin:auto;padding:30px 24px}.editor-pane{min-height:600px;padding-top:20px}.paper{padding:30px 8% 15px;max-width:720px}.editor-toolbar{padding:0 6%}.manuscript{min-height:390px}.side-tabs{max-width:440px}.chapter-button{min-height:73px}.side-eyebrow{margin-top:3px}.add-chapter{max-width:460px}.desk-topbar{padding:13px 22px}.desk-topbar-actions .save-label{display:none}.lore-card{max-width:550px}.assistant-intro{margin-bottom:26px}.pipeline li{min-height:43px}.pipeline li:before{top:28px;bottom:-7px}.assistant-footnote{margin-bottom:15px}.context-card{padding:21px}}
@media(max-width:650px){.prototype-banner{font-size:10px;letter-spacing:.5px;min-height:30px}.banner-extra{display:none}.site-header{height:80px;padding:0 18px;gap:8px;flex-wrap:wrap}.brand{gap:8px}.brand-mark{width:31px;height:36px;font-size:20px}.brand strong{font-size:19px;letter-spacing:2px}.brand small{font-size:6px;letter-spacing:.6px}.main-nav{display:none}.model-button{font-size:10px;padding:0 9px;gap:6px;max-width:155px}.shelf-page{padding:32px 22px 30px}.hero{display:block;padding-bottom:28px;min-height:auto}.hero h1{font-size:34px;letter-spacing:1px;margin-top:14px}.hero p{font-size:12px;max-width:290px;margin-bottom:20px}.room-art{height:220px;min-height:220px;width:250px;margin:26px auto 0}.room-arch{inset:0 10px 23px}.moon{height:45px;width:45px;right:34px;top:31px}.still-life{width:240px}.art-book{height:130px;width:58px}.art-book.gold-book{height:105px}.art-ink{margin-left:12px;width:32px;height:39px}.art-ink:before{width:18px;left:7px}.quill{height:85px;width:20px;bottom:24px}.art-caption{font-size:7px}.hero-actions{gap:12px}.hero-actions .button{font-size:11px;padding:10px 14px}.quiet-note{font-size:9px}.eyebrow{font-size:9px;letter-spacing:2.5px}.section-header{margin:27px 0 18px}.section-heading{gap:9px}.section-heading h2{font-size:22px}.section-heading span{font-size:9px}.subtle-pill{font-size:9px;padding:6px}.book-grid{grid-template-columns:1fr;gap:14px}.book-card{padding:22px}.book-cover{width:77px;height:108px}.book-top{gap:20px}.book-meta h3{font-size:22px}.book-meta p{font-size:11px}.book-footer{margin-top:19px;padding-top:9px}.new-book{grid-column:auto;min-height:110px;gap:14px;flex-wrap:wrap;padding:20px}.new-book h3{font-size:20px}.new-book p{width:100%;text-align:center;margin-top:-7px}.new-book .plus{width:30px;height:30px;font-size:19px}.process-note{gap:8px;flex-wrap:wrap;line-height:2.5}.shelf-footer{margin-top:27px;font-size:9px;padding-top:16px}.desk-topbar{padding:11px 12px;gap:8px}.desk-breadcrumb{gap:5px}.desk-breadcrumb button{font-size:10px;padding:0 4px}.desk-title{font-size:17px;max-width:140px;letter-spacing:.5px}.desk-topbar-actions{gap:0}.desk-topbar-actions .button{font-size:10px;padding:8px 10px}.editor-toolbar{padding:0 18px;gap:6px;flex-wrap:wrap;font-size:9px}.tool-button{font-size:10px;padding:0 4px}.editor-toolbar-actions{gap:7px}.paper{padding:26px 24px 15px}.chapter-title{font-size:28px}.manuscript{font-size:17px;line-height:2.15;min-height:490px}.editor-bottom{font-size:12px;margin:0 24px;padding:24px 0 0}.editor-pane{padding-top:12px}.assistant-pane{padding:27px 24px}.modal-header{padding:23px 22px 17px}.modal-header h2{font-size:25px}.modal-body{padding:22px}.modal-actions{gap:7px;flex-wrap:wrap}.modal-actions .button{min-width:80px;padding:10px 14px}.modal-note{font-size:11px}.form-input{font-size:16px}.mode-card{padding:13px}.mode-card strong{font-size:20px}.mode-card span{font-size:10px}.form-row{grid-template-columns:1fr;gap:0}.form-row .form-label{margin-top:15px}.compare-grid{grid-template-columns:1fr;gap:16px}.compare-block p{font-size:14px}.compare-dialog .modal-body{padding:18px}.model-explainer{padding:14px}.toast{bottom:17px;font-size:11px;padding:12px 16px}.context-card p{font-size:12px}.context-card h3{font-size:14px}.assistant-disclaimer{font-size:10px}}
@media(max-width:350px){.site-header{padding:0 12px}.brand strong{font-size:17px}.brand small{font-size:5px}.model-button{max-width:126px;font-size:9px;padding:0 7px}.shelf-page{padding:28px 16px}.hero h1{font-size:30px}.book-card{padding:18px}.book-top{gap:15px}.book-cover{width:65px;height:105px}.book-meta h3{font-size:20px}.section-heading h2{font-size:20px}.section-heading span{display:none}.room-art{width:235px}.desk-title{max-width:115px;font-size:16px}.paper{padding:26px 19px 15px}.editor-toolbar{padding:0 14px}.chapter-title{font-size:25px}.editor-toolbar-actions{gap:2px}.modal-header{padding:20px 17px 15px}.modal-body{padding:18px}.model-explainer{padding:12px}.mode-cards{gap:8px}.mode-card{padding:12px 10px}.mode-card span{font-size:9px}.modal-actions .button{font-size:11px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
