@font-face{font-family:DM Sans;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/dm-sans-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lora;font-style:italic;font-weight:400 500;font-display:swap;src:url(/fonts/lora-italic-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Lora;font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/lora-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font-sans:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-serif:"Lora",Georgia,serif;--serif:var(--font-serif);--bg:#f6f5f0;--paper:#fffef9;--ink:#3b3935;--muted:#8c8a86;--accent:#5a5854;--border:#e5e3df;--sage:#f1efeb;--sidebar-width:218px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{font-family:var(--font-sans);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;margin:0;font-size:13px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}input,textarea,select{color:inherit}textarea{resize:vertical}a{color:var(--accent)}button,input,textarea,select,a{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline-offset:3px;outline:2px solid #84827e}button{transition:background .15s,box-shadow .15s,color .15s}h1,h2,h3,p{overflow-wrap:break-word}h1,h2{font-family:var(--font-serif);letter-spacing:-.035em;font-weight:400}h1{font-size:36px;line-height:1.3}h2{font-size:27px;line-height:1.3}::selection{color:#34322e;background:#e2e0dc}svg{flex-shrink:0}button svg{pointer-events:none}small{font-size:11px}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}.button{color:#6d6b67;white-space:nowrap;background:#fffef9;border:1px solid #e1dfdb;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:37px;padding:9px 15px;font-size:11px;font-weight:550;text-decoration:none;display:inline-flex}.button:hover:not(:disabled){background:#f2f0ec;border-color:#d1cfcb}.button.primary,.button-primary{color:#fffef7;background:#5a5854;border-color:#5a5854}.button.primary:hover:not(:disabled){background:#494743;border-color:#494743}.button.danger{color:#a65749;border-color:#e0c6bf}.icon-button{color:#93918d;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;width:33px;min-width:33px;height:33px;padding:7px;display:inline-flex}.icon-button:hover:not(:disabled){color:#666460;background:#efede9}.icon-button.danger:hover{color:#a65749;background:#f7e9df}.field{flex-direction:column;gap:8px;font-size:12px;font-weight:500;line-height:1.5;display:flex}.input{background:#fffefb;border:1px solid #e3e1dd;border-radius:6px;width:100%;min-width:0;padding:10px 12px;font-size:12px;font-weight:400;line-height:1.6}.input:focus{outline-offset:0;border-color:#b3b1ad;outline:2px solid #e1dfdb66}.input::placeholder{color:#acaaa6}.field+.field{margin-top:16px}.panel{border:1px solid var(--border);background:var(--paper);border-radius:10px;padding:24px}.badge{color:#898783;background:#f0eeea;border-radius:4px;align-items:center;gap:5px;padding:4px 8px;font-size:10px;display:inline-flex}.muted{color:#908e8a;line-height:1.8}.eyebrow{letter-spacing:.16em;color:#9c9a96;font-size:9px;font-weight:600}.heading-dot{color:#adaba7}.section-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:34px;display:flex}.section-heading h1{margin:12px 0 9px}.section-heading p{margin:0;font-size:12px}.module-page{max-width:1500px;margin:0 auto;padding:40px 44px 80px}.empty-state{text-align:center;color:#9c9a96;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:45px 20px;display:flex}.empty-state h3{font-family:var(--font-serif);color:#787672;margin:8px 0 0;font-size:21px;font-weight:400}.empty-state p{margin:0 0 10px;font-size:12px;line-height:1.8}.button-row{flex-wrap:wrap;gap:10px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100dvh;display:flex}.app-sidebar{z-index:35;width:var(--sidebar-width);background:#f3f1ed;border-right:1px solid #e4e2de;flex-direction:column;padding:25px 14px 0;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{color:#4f4d49;font-family:var(--font-serif);letter-spacing:-1px;align-items:center;gap:11px;padding:0 12px;font-size:25px;line-height:1;display:flex}.brand-symbol{letter-spacing:-5px;font-family:Georgia,serif;font-size:40px;font-weight:400;line-height:1;display:block;position:relative}.brand-symbol>span{color:#a7a5a1;letter-spacing:0;font-size:29px;position:absolute;top:-7px;right:-5px}.brand-writer{font-family:var(--font-sans);letter-spacing:3.6px;color:#999793;margin-top:7px;margin-left:2px;font-size:7px;font-weight:500;display:block}.book-switch-wrap{margin:30px 0 15px;position:relative}.book-switch{text-align:left;color:#63615d;background:#fbf9f5;border:1px solid #e5e3df;border-radius:7px;align-items:center;gap:10px;width:100%;padding:12px 9px;display:flex}.book-switch>span:nth-child(2){flex:1;min-width:0}.book-switch strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:550;line-height:1.5;display:block;overflow:hidden}.book-switch small{color:#a8a6a2;letter-spacing:.1em;margin-top:6px;font-size:7px;display:block}.book-cover-mini{color:#999793;background:#e9e7e3;border:1px solid #d3d1cd;border-radius:2px;flex-shrink:0;place-items:center;width:29px;height:36px;display:grid;box-shadow:inset 3px 0 #dcdad6}.book-switch-menu{z-index:80;background:#fffef8;border:1px solid #dedcd8;border-radius:8px;min-width:225px;max-width:300px;margin-top:5px;padding:6px;position:absolute;top:100%;left:0;box-shadow:0 15px 45px #2d2b2720}.book-switch-menu>button{text-align:left;color:#72706c;background:0 0;border:0;border-radius:4px;align-items:center;gap:8px;width:100%;padding:12px 8px;font-size:11px;display:flex}.book-switch-menu>button:hover{background:#f1efeb}.book-switch-menu>button>span{flex:1}.nav-group{letter-spacing:.13em;color:#a8a6a2;margin:25px 0 11px;padding:0 12px;font-size:8px;font-weight:600}.nav-item{color:#93918d;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:11px;width:100%;min-height:41px;margin:2px 0;padding:12px;font-size:11px;display:flex;position:relative}.nav-item:hover{color:#706e6a;background:#edebe7}.nav-item.active{color:#6b6965;background:#e8e6e2;font-weight:600}.nav-item.active svg{color:#8b8985}.nav-item>small{color:#a8a6a2;margin-left:auto;font-size:9px}.nav-item>i{background:#a7a5a1;border-radius:50%;width:5px;height:5px;margin-left:auto;display:block}.sidebar-bottom{margin-top:auto;padding-top:38px}.writing-goal{border-bottom:1px solid #e4e2de;padding:17px 12px 26px}.writing-goal>div:first-child{color:#9d9b97;align-items:center;gap:8px;font-size:9px;display:flex}.writing-goal>strong{font-family:var(--font-serif);color:#6e6c68;margin:14px 0 12px;font-size:24px;font-weight:400;display:block}.writing-goal>strong>small{font-family:var(--font-sans);color:#a8a6a2;font-size:10px}.progress-track{background:#e6e4e0;border-radius:4px;height:3px;margin-bottom:9px;overflow:hidden}.progress-track>span{background:#a7a5a1;min-width:3px;height:100%;display:block}.sidebar-settings{color:#95938f;text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;padding:20px 9px;display:flex}.avatar{color:#8f8d89;width:30px;height:30px;font-family:var(--font-serif);background:#eceae6;border:1px solid #dedcd8;border-radius:50%;place-items:center;font-size:15px;display:grid}.sidebar-settings>span:nth-child(2){flex:1;min-width:0}.sidebar-settings strong{white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:500;display:block;overflow:hidden}.sidebar-settings small{color:#aba9a5;margin-top:4px;font-size:8px;display:block}.app-main{margin-left:var(--sidebar-width);min-width:0;width:calc(100% - var(--sidebar-width));flex:1}.topbar{z-index:30;background:#fffdf9;border-bottom:1px solid #e7e5e1;justify-content:space-between;align-items:center;gap:18px;height:76px;padding:0 29px;display:flex;position:sticky;top:0}.breadcrumb{color:#a2a09c;align-items:center;gap:14px;min-width:0;font-size:10px;display:flex}.breadcrumb-book{white-space:nowrap;text-overflow:ellipsis;max-width:230px;overflow:hidden}.breadcrumb-sep{color:#d1cfcb}.breadcrumb strong{color:#868480;white-space:nowrap;font-weight:500}.top-actions{align-items:center;gap:10px;display:flex}.sync-indicator{color:#acaaa6;white-space:nowrap;align-items:center;gap:6px;margin-right:8px;font-size:9px;display:flex}.sync-indicator.error,.sync-indicator.conflict{color:#ab8562}.sync-indicator.offline{color:#9b987f}.save-button{background:0 0;min-height:32px;padding:7px 12px;font-size:10px}.share-top{min-height:33px;padding:8px 14px;font-size:10px}.mobile-menu{display:none}.workspace-content{min-width:0;min-height:calc(100dvh - 76px)}.sync-banner{color:#8c795b;background:#fcf1df;border-bottom:1px solid #e4d8bd;align-items:center;gap:10px;padding:10px 25px;font-size:11px;display:flex}.sync-banner>span{flex:1}.sync-banner button{color:#736347;background:0 0;border:0;font-size:10px;text-decoration:underline}.quick-note-button{z-index:38;color:#888682;background:#fcfaf6;border:1px solid #dfddd9;border-radius:7px;align-items:center;gap:9px;padding:12px 15px;font-size:10px;display:flex;position:fixed;bottom:19px;right:25px;box-shadow:0 3px 12px #4745410d}.quick-note-button:hover,.quick-note-button.active{background:#eeece8}.key-hint{color:#adaba7;margin-left:6px;font-size:15px}.quick-drawer{z-index:40;background:#fbf9f5;border-left:1px solid #e4e2de;width:375px;max-width:100%;padding:26px 23px;position:fixed;top:76px;bottom:0;right:0;overflow:auto;box-shadow:-10px 0 35px #312f2b12}.drawer-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.drawer-heading h2{margin:10px 0 25px;font-size:26px}.drawer-heading .eyebrow{font-size:8px}.notes-search{color:#a4a29e;align-items:center;gap:10px;margin:24px 0 25px;display:flex}.notes-search input{background:0 0;border:0;outline:0;width:100%;padding:8px 0;font-size:12px}.notes-search input::placeholder{color:#a8a6a2}.notes-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px;display:grid}.note-card{background:#f1efeb;border:1px solid #e8e6e2;border-radius:7px;padding:20px 22px;transition:box-shadow .15s}.note-card.sand{background:#f4f0e2;border-color:#e8e2cf}.note-card.rose{background:#f4eae4;border-color:#e9dcd2}.note-card:focus-within{box-shadow:0 0 0 2px #d1cfcb}.note-meta{color:#aaa8a4;justify-content:space-between;align-items:center;font-size:9px;display:flex}.note-meta .icon-button{width:25px;min-width:25px;height:25px}.note-title{width:100%;font-family:var(--font-serif);color:#777571;background:0 0;border:0;outline:0;margin:15px 0 12px;font-size:21px;display:block}.note-text{color:#8f8d89;resize:vertical;background:0 0;border:0;outline:0;width:100%;min-height:140px;font-size:12px;line-height:1.9;display:block}.note-text::placeholder{color:#aeaca8}.note-bottom{justify-content:space-between;align-items:center;gap:6px;margin-top:22px;display:flex}.note-bottom select{color:#a8a6a2;background:0 0;border:0;min-width:0;max-width:75%;font-size:9px}.note-colors{gap:5px;display:flex}.note-colors button{background:#e4e2de;border:1px solid #d2d0cc;border-radius:50%;width:10px;height:10px;padding:0}.note-colors .sand{background:#e9dec0;border-color:#dbcfad}.note-colors .rose{background:#ead3c6;border-color:#dbc0af}.notes-compact .notes-grid{grid-template-columns:1fr;gap:14px}.notes-compact .note-card{padding:15px 18px}.notes-compact .note-title{font-size:19px}.notes-compact .note-text{min-height:100px;font-size:11px}.is-focused .app-sidebar{display:none}.is-focused .app-main{width:100%;margin-left:0}.is-focused .topbar{padding-left:35px}.is-focused .quick-note-button{opacity:.6}.is-focused .quick-note-button:hover{opacity:1}.modal{width:min(600px,100vw - 36px);max-height:85dvh;color:var(--ink);background:#fffef9;border:1px solid #e4e2de;border-radius:13px;padding:0;overflow:auto;box-shadow:0 25px 100px #2e2c2830}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#22201c66}.modal-head{border-bottom:1px solid #efede9;justify-content:space-between;align-items:center;gap:15px;padding:25px 27px 18px;display:flex}.modal-head h2{margin:0;font-size:25px}.modal-body{padding:25px 27px 30px}.modal-body>p{color:#908e8a;font-size:12px;line-height:1.9}.modal .button-row{margin-top:25px}.modal form>.button{margin-top:24px}.settings-footer{border-top:1px solid #eae8e4;justify-content:space-between;gap:10px;margin-top:25px;padding-top:20px;display:flex}.trash-row{border-bottom:1px solid #eceae6;align-items:center;gap:10px;padding:15px 0;display:flex}.trash-row>div{flex:1}.trash-row strong{font-size:12px;font-weight:500}.trash-row small{color:#a4a29e;margin-top:7px;font-size:9px;display:block}.trash-row .button{padding:7px 9px;font-size:9px}.conflict-stats{color:#999793;background:#f3f1ed;border-radius:7px;gap:30px;padding:20px;font-size:11px;display:flex}.conflict-stats strong{color:#767470;margin-top:9px;display:block}.toast{color:#f8f6f2;z-index:150;background:#52504c;border:1px solid #797773;border-radius:8px;align-items:center;gap:10px;max-width:85vw;padding:14px 23px;font-size:12px;display:flex;position:fixed;bottom:26px;left:50%;transform:translate(-50%);box-shadow:0 7px 20px #32302c1c}.global-search{color:#a6a4a0;align-items:center;gap:14px;margin-bottom:20px;display:flex}.global-search input{background:0 0;border:0;outline:0;flex:1;min-width:0;padding:9px 0;font-size:15px}.global-search kbd{color:#adaba7;border:1px solid #e7e5e1;border-radius:3px;padding:4px 6px;font-size:9px}.search-results{max-height:52dvh;overflow:auto}.search-results>button{text-align:left;color:#989692;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:15px;width:100%;padding:16px 13px;display:flex}.search-results>button:hover{background:#f4f2ee}.search-results strong{color:#797773;margin-top:6px;font-size:12px;font-weight:550;display:block}.search-results p{color:#a4a29e;margin:6px 0 0;font-size:11px;line-height:1.8}.search-results .eyebrow{font-size:8px}.loading-page{color:#9c9a96;flex-direction:column;justify-content:center;align-items:center;gap:25px;min-height:100dvh;display:flex}.loading-page .brand{margin-bottom:20px}.loading-page>p{font-size:12px}.auth-page{background:#fefcf8;grid-template-columns:1.1fr 1fr;min-height:100dvh;display:grid}.auth-story{background:#f0eeea;flex-direction:column;min-height:100dvh;padding:46px 60px 30px;display:flex;overflow:hidden}.auth-story .brand{padding:0}.auth-story-copy{margin:auto 0;padding:65px 0 35px}.auth-story-copy>.eyebrow{letter-spacing:.2em;font-size:9px}.auth-story h1{color:#52504c;letter-spacing:-.04em;margin:24px 0;font-size:clamp(38px,3.6vw,59px);line-height:1.2}.auth-story h1 em{color:#9b9995;font-weight:400}.auth-story-copy>p{color:#9e9c98;font-size:13px;line-height:1.9}.auth-book{color:#dfddd9;background:#6f6d69;border-left:8px solid #65635f;border-radius:2px 7px 7px 2px;width:240px;height:295px;margin:50px 0 0 90px;padding:35px 30px;position:relative;transform:rotate(-8deg);box-shadow:-7px 7px #e2e0dc,-9px 9px #cac8c4,14px 22px 40px #4d4b4720}.auth-book>svg{color:#c4c2be;margin-bottom:30px}.auth-book>span{letter-spacing:.23em;color:#bab8b4;font-size:8px;display:block}.auth-book>p{font-family:var(--font-serif);margin:15px 0;font-size:26px;line-height:1.35}.auth-book>i{clip-path:polygon(0 0,100% 0,100% 100%,50% 84%,0 100%);background:#bcbab6;width:18px;height:60px;position:absolute;top:0;right:34px}.auth-foot{color:#aaa8a4;margin-top:15px;font-size:10px}.auth-card{width:100%;max-width:470px;margin:auto;padding:45px}.auth-card>.brand{margin-bottom:35px}.auth-card h2{margin:17px 0 13px;font-size:32px}.auth-card>.muted{max-width:320px;margin:0 0 30px;font-size:12px}.auth-card .field{color:#8e8c88;font-size:11px}.auth-card .input{background:#fffefb;min-height:44px;font-size:12px}.auth-card .input::placeholder{color:#b9b7b3}.auth-submit{justify-content:space-between;width:100%;min-height:43px;margin-top:27px;padding:12px 16px;font-size:12px}.auth-switch{text-align:center;color:#aba9a5;margin:23px 0;font-size:10px}.auth-switch button{color:#8b8985;text-underline-offset:3px;background:0 0;border:0;padding:0 0 0 3px;font-size:10px;text-decoration:underline}.auth-private{color:#acaaa6;border-top:1px solid #eae8e4;justify-content:center;align-items:center;gap:10px;margin-top:30px;padding-top:25px;font-size:9px;line-height:1.6;display:flex}.notice{color:#8d8b87;background:#f5f3ef;border:1px solid #e3e1dd;border-radius:6px;margin:15px 0;padding:13px;font-size:11px;line-height:1.7}.notice.error{color:#a27961;background:#fff2e9;border-color:#e6c9bd}@media (min-width:1700px){:root{--sidebar-width:238px}.app-sidebar{padding-left:22px;padding-right:22px}.module-page{padding-left:60px;padding-right:60px}}@media (max-width:1200px){:root{--sidebar-width:190px}.app-sidebar{padding-left:10px;padding-right:10px}.brand{font-size:23px}.book-switch{gap:7px;padding:11px 7px}.book-switch strong{font-size:10px}.book-cover-mini{width:25px;height:32px}.nav-item{gap:9px;padding:11px 10px;font-size:10px}.topbar{padding:0 20px}.breadcrumb-book{max-width:150px}.sync-indicator>span{display:none}.module-page{padding:32px 28px 70px}.notes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-story{padding:38px}.auth-book{margin-left:50px}}@media (max-width:900px){:root{--sidebar-width:175px}.app-sidebar{padding-left:8px;padding-right:8px}.brand{padding-left:9px}.nav-item{gap:7px;font-size:10px}.book-switch .book-cover-mini{display:none}.topbar{height:66px;padding:0 16px}.top-actions{gap:7px}.breadcrumb{gap:9px;font-size:9px}.breadcrumb-book{max-width:110px}.share-top{padding:7px 10px;font-size:9px}.sync-indicator{margin-right:2px}.workspace-content{min-height:calc(100dvh - 66px)}.quick-drawer{top:66px}.writing-goal{padding:12px 9px 20px}.sidebar-settings{padding-left:6px;padding-right:6px}.sidebar-settings>svg{display:none}.auth-story{padding:30px}.auth-story h1{font-size:39px}.auth-book{width:205px;height:265px;margin-left:25px}.auth-card{padding:32px}.auth-card h2{font-size:28px}}@media (max-width:700px){:root{--sidebar-width:218px}.app-sidebar{padding:23px 14px 0;transition:transform .2s;transform:translate(-100%)}.app-sidebar.open{transform:translate(0)}.app-main{width:100%;margin-left:0}.sidebar-scrim{z-index:34;background:#312f2b66;border:0;position:fixed;inset:0}.mobile-menu{display:inline-flex}.topbar{gap:8px;height:61px;padding:0 12px}.breadcrumb{gap:8px;font-size:10px}.breadcrumb-book,.breadcrumb-sep{display:none}.top-actions{gap:4px}.save-button{padding:7px 10px;font-size:9px}.share-top{gap:4px;padding:7px 9px;font-size:9px}.sync-indicator{display:none}.search-button{width:28px;min-width:28px}.workspace-content{min-height:calc(100dvh - 61px)}.nav-item{gap:12px;font-size:12px}.book-switch strong{font-size:11px}.book-switch .book-cover-mini{display:grid}.module-page{padding:28px 18px 80px}.section-heading{align-items:flex-start;gap:12px;margin-bottom:23px}.section-heading h1{margin-top:10px;font-size:29px}.section-heading p{max-width:240px;font-size:11px}.section-heading>.button{padding:8px 11px;font-size:10px}.notes-grid{gap:14px}.note-card{padding:16px}.note-title{font-size:19px}.note-text{font-size:11px}.note-bottom{flex-wrap:wrap}.notes-search{margin:12px 0 22px}.quick-note-button{padding:11px 13px;bottom:15px;right:15px}.quick-drawer{top:61px}.auth-page{grid-template-columns:1fr}.auth-story{min-height:auto;padding:28px}.auth-story-copy{padding:35px 0 0}.auth-story h1{margin:17px 0;font-size:36px}.auth-story-copy>p,.auth-book,.auth-foot{display:none}.auth-card{max-width:440px;padding:35px 28px}.auth-story .brand{font-size:23px}.auth-story .brand-symbol{font-size:32px}.modal-head{padding:22px 21px 17px}.modal-head h2{font-size:23px}.modal-body{padding:22px 21px}.settings-footer{flex-wrap:wrap}.trash-row .button{gap:0;font-size:0}.trash-row .button svg{width:16px}.conflict-stats{gap:20px;font-size:10px}.toast{min-width:250px;font-size:11px;bottom:75px}}@media (max-width:430px){.notes-grid{grid-template-columns:1fr}.section-heading h1{font-size:26px}.section-heading .eyebrow{font-size:8px}.share-top>svg{display:none}.breadcrumb strong{text-overflow:ellipsis;max-width:115px;overflow:hidden}.top-actions{gap:2px}.auth-story h1{font-size:32px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.app-sidebar,.topbar,.quick-note-button,.ms-index,.ms-context,.ms-toolbar{display:none!important}.app-main{width:100%;margin:0}.ms-layout{display:block!important}.ms-paper-scroll{max-height:none;padding:0;overflow:visible}.ms-paper{box-shadow:none;border:0;padding:0}}.app-sidebar>.brand,.book-switch-wrap{flex-shrink:0}.app-sidebar>nav{scrollbar-width:thin;scrollbar-color:#d6d4d0 transparent;flex:1;min-height:0;overflow-y:auto}.sidebar-bottom{flex-shrink:0;padding-top:12px}.nav-item{color:#797773;font-size:12px}.nav-group{color:#85837f;font-size:9px}.book-switch strong{font-size:12px}.book-switch small{color:#888682;font-size:8px}.breadcrumb{color:#807e7a;font-size:11px}.breadcrumb strong{color:#74726e}.sync-indicator{color:#7e7c78;font-size:10px}.eyebrow{color:#7e7c78}.section-heading p,.muted{color:#7b7975}.writing-goal>div:first-child{color:#807e7a;font-size:10px}.writing-goal>small{color:#898783;font-size:9px}.sidebar-settings strong{color:#72706c;font-size:11px}.sidebar-settings small{color:#898783;font-size:9px}.note-text{color:#72706c}.note-meta,.note-bottom select{color:#82807c}.quick-note-button{color:#75736f;font-size:11px}.notes-search{color:#82807c}.auth-card>.muted{color:#83817d}@media (max-height:800px) and (min-width:701px){.app-sidebar{padding-top:20px}.book-switch-wrap{margin-top:22px;margin-bottom:10px}.nav-group{margin-top:18px;margin-bottom:7px}.writing-goal{padding:12px 10px 14px}.writing-goal>strong{margin:9px 0;font-size:21px}.sidebar-settings{padding:14px 8px}.sidebar-bottom{padding-top:8px}}@media (max-width:900px) and (min-width:701px){.nav-item,.book-switch strong{font-size:11px}.breadcrumb{font-size:10px}.sync-indicator{font-size:9px}}@media (pointer:coarse){.button,.nav-item{min-height:44px}.icon-button{width:40px;min-width:40px;min-height:40px}.input{font-size:16px}.nav-item{font-size:13px}}@media (max-width:700px){.app-sidebar:not(.open){visibility:hidden}.app-sidebar.open{visibility:visible}}.auth-theme{z-index:50;position:fixed;top:22px;right:25px}.theme-picker{border:0;border-bottom:1px solid var(--border);margin:0 0 23px;padding:0 0 23px}.theme-picker legend{margin-bottom:12px;font-size:12px;font-weight:500}.theme-picker>div{gap:10px;display:flex}.theme-picker .button.selected{color:#5b5955;background:#edebe7;border-color:#aaa8a4}.theme-toggle{color:#8c8a86}@media (max-width:430px){.top-actions .theme-toggle{width:28px;min-width:28px;padding:5px}.top-actions .search-button{width:26px;min-width:26px}.topbar{gap:4px}.breadcrumb strong{max-width:95px}}
html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1a1b1d;--paper:#27282a;--ink:#e9e7e3;--text:#e9e7e3;--muted:#b6b4b0;--accent:#c6c4c0;--border:#404143;--sage:#38393b;--night-low:#202123;--night-raised:#323335;--night-active:#424345;--night-control:#222325;--night-control-border:#666460;--night-subtle:#a4a29e;--night-danger:#edb09a;--night-danger-bg:#3d2b27;--night-success:#d0ceca;--night-shadow:0 12px 32px #00000024}html[data-theme=dark] body{background:var(--bg);color:var(--ink)}html[data-theme=dark] ::selection{color:#f7f5f1;background:#686662}html[data-theme=dark] :is(button,input,textarea,select,a):focus-visible{outline-color:#cac8c4}html[data-theme=dark] :is(input,textarea,select){caret-color:var(--accent)}html[data-theme=dark] :is(input,textarea)::placeholder{color:var(--night-subtle);opacity:1}html[data-theme=dark] :is(select,select option){color:var(--ink);background-color:var(--night-control)}html[data-theme=dark] input:-webkit-autofill{-webkit-text-fill-color:var(--ink);box-shadow:0 0 0 1000px var(--night-control) inset;caret-color:var(--accent)}html[data-theme=dark] :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--accent)}html[data-theme=dark] :is(.app-sidebar>nav,.ms-paper-scroll,.ms-context,.ve-history-list){scrollbar-color:#676561 transparent}html[data-theme=dark] :is(.muted,.eyebrow,.section-heading p,.heading-dot,.field,.empty-state,.loading-page){color:var(--muted)}html[data-theme=dark] :is(h1,h2,h3,.empty-state h3){color:var(--ink)}html[data-theme=dark] .panel{background:var(--paper);border-color:var(--border)}html[data-theme=dark] .input{color:var(--ink);background:var(--night-control);border-color:var(--night-control-border)}html[data-theme=dark] .input:focus{border-color:#bbb9b5;outline-color:#93918d50}html[data-theme=dark] .input::placeholder{color:var(--night-subtle)}html[data-theme=dark] .button{color:#dcdad6;background:var(--night-raised);border-color:#595a5c}html[data-theme=dark] .button:hover:not(:disabled){background:#444547;border-color:#85837f}html[data-theme=dark] :is(.button.primary,.button-primary){color:#222325;background:#c6c4c0;border-color:#c6c4c0}html[data-theme=dark] .button.primary:hover:not(:disabled){background:#d7d5d1;border-color:#d7d5d1}html[data-theme=dark] .button.danger{color:var(--night-danger);background:var(--night-danger-bg);border-color:#815b4c}html[data-theme=dark] .icon-button{color:var(--muted);background:0 0}html[data-theme=dark] .icon-button:hover:not(:disabled){background:var(--night-active);color:#e2e0dc}html[data-theme=dark] .icon-button.danger:hover{color:var(--night-danger);background:var(--night-danger-bg)}html[data-theme=dark] .badge{color:#d2d0cc;background:#424345}html[data-theme=dark] .app-sidebar{border-color:var(--border);background:#1f2022}html[data-theme=dark] :is(.brand,.brand-symbol,.brand-symbol>span){color:#cfcdc9}html[data-theme=dark] :is(.brand-writer,.book-switch small,.nav-group,.nav-item>small,.sidebar-settings small,.writing-goal>small,.writing-goal>strong>small){color:var(--muted)}html[data-theme=dark] .book-switch{background:var(--paper);color:var(--ink);border-color:#4c4d4f}html[data-theme=dark] .book-cover-mini{color:#cac8c4;background:#444547;border-color:#6b6965;box-shadow:inset 3px 0 #363739}html[data-theme=dark] .book-switch-menu{box-shadow:var(--night-shadow);background:#2c2d2f;border-color:#57585a}html[data-theme=dark] .book-switch-menu>button{color:var(--ink)}html[data-theme=dark] :is(.book-switch-menu>button:hover,.nav-item:hover){background:var(--night-raised);color:#dedcd8}html[data-theme=dark] .nav-item{color:#b6b4b0}html[data-theme=dark] .nav-item.active{color:#dfddd9;background:#3e3f41}html[data-theme=dark] .nav-item.active svg{color:#c5c3bf}html[data-theme=dark] .nav-item>i{background:#c1bfbb}html[data-theme=dark] .writing-goal{border-color:var(--border)}html[data-theme=dark] .writing-goal>div:first-child{color:var(--muted)}html[data-theme=dark] .writing-goal>strong{color:#d4d2ce}html[data-theme=dark] .progress-track{background:#3f4042}html[data-theme=dark] .progress-track>span{background:#b1afab}html[data-theme=dark] :is(.sidebar-settings,.sidebar-settings strong){color:#cac8c4}html[data-theme=dark] .avatar{color:#d6d4d0;background:#38393b;border-color:#666460}html[data-theme=dark] .topbar{border-color:var(--border);background:#232426}html[data-theme=dark] :is(.breadcrumb,.breadcrumb strong,.sync-indicator){color:var(--muted)}html[data-theme=dark] .breadcrumb-sep{color:#7f7d79}html[data-theme=dark] :is(.sync-indicator.error,.sync-indicator.conflict,.sync-indicator.offline){color:#e0bd8c}html[data-theme=dark] .sync-banner{color:#e4c99b;background:#3a3225;border-color:#6c5839}html[data-theme=dark] .sync-banner button{color:#edd5ad}html[data-theme=dark] .quick-note-button{color:#d6d4d0;background:#333436;border-color:#636466;box-shadow:0 5px 20px #00000030}html[data-theme=dark] :is(.quick-note-button:hover,.quick-note-button.active){background:#494a4c}html[data-theme=dark] .key-hint{color:#b3b1ad}html[data-theme=dark] .quick-drawer{border-color:var(--border);background:#262729;box-shadow:-10px 0 35px #00000030}html[data-theme=dark] .sidebar-scrim{background:#090a0cb3}html[data-theme=dark] :is(.notes-search,.notes-search input,.global-search,.global-search input){color:var(--ink)}html[data-theme=dark] :is(.notes-search input,.global-search input)::placeholder{color:var(--night-subtle)}html[data-theme=dark] .global-search kbd{background:var(--night-raised);color:var(--muted);border-color:var(--border)}html[data-theme=dark] .search-results>button{color:var(--muted)}html[data-theme=dark] .search-results>button:hover{background:var(--night-raised)}html[data-theme=dark] .search-results strong{color:var(--ink)}html[data-theme=dark] .search-results p{color:var(--muted)}html[data-theme=dark] .note-card{background:#333436;border-color:#555658}html[data-theme=dark] .note-card.sand{background:#373528;border-color:#625e40}html[data-theme=dark] .note-card.rose{background:#3a2e2b;border-color:#684d43}html[data-theme=dark] .note-card:focus-within{box-shadow:0 0 0 2px #a2a09c66}html[data-theme=dark] :is(.note-title,.note-text){color:#e7e5e1}html[data-theme=dark] :is(.note-meta,.note-bottom select){color:#c8c6c2}html[data-theme=dark] .note-bottom select{background:0 0}html[data-theme=dark] .note-text::placeholder{color:#b5b3af}html[data-theme=dark] .note-colors button{background:#a09e9a;border-color:#bab8b4}html[data-theme=dark] .note-colors .sand{background:#b6a66b;border-color:#cfbf88}html[data-theme=dark] .note-colors .rose{background:#b68371;border-color:#d4a28e}html[data-theme=dark] :is(.modal,.ve-dialog,.sys-confirm-dialog){color:var(--ink);background:#2b2c2e;border-color:#58595b;box-shadow:0 25px 100px #00000070}html[data-theme=dark] .modal::backdrop,html[data-theme=dark] .ve-dialog::backdrop,html[data-theme=dark] .sys-modal-backdrop{background:#08090bb3}html[data-theme=dark] :is(.modal-head,.settings-footer,.trash-row){border-color:var(--border)}html[data-theme=dark] :is(.modal-body>p,.trash-row small){color:var(--muted)}html[data-theme=dark] .conflict-stats{color:#c7c5c1;background:#38393b}html[data-theme=dark] .conflict-stats strong{color:#e7e5e1}html[data-theme=dark] .toast{color:#f5f3ef;background:#505153;border-color:#93918d;box-shadow:0 7px 25px #00000040}html[data-theme=dark] .auth-page{background:#212224}html[data-theme=dark] .auth-story{background:#2a2b2d}html[data-theme=dark] .auth-story h1{color:#eae8e4}html[data-theme=dark] .auth-story h1 em{color:#bcbab6}html[data-theme=dark] :is(.auth-story-copy>p,.auth-foot,.auth-card>.muted,.auth-card .field,.auth-switch,.auth-private){color:#bdbbb7}html[data-theme=dark] .auth-book{color:#e8e6e2;background:#515254;border-left-color:#454648;box-shadow:-7px 7px #979591,-9px 9px #555658,14px 22px 40px #00000035}html[data-theme=dark] .auth-book>span{color:#cdcbc7}html[data-theme=dark] .auth-book>svg{color:#d3d1cd}html[data-theme=dark] .auth-book>i{background:#c0beba}html[data-theme=dark] .auth-card .input{background:var(--night-control);border-color:var(--night-control-border)}html[data-theme=dark] .auth-card .input::placeholder{color:var(--night-subtle)}html[data-theme=dark] .auth-switch button{color:#d3d1cd}html[data-theme=dark] .auth-private{border-color:var(--border)}html[data-theme=dark] .notice{color:#d2d0cc;background:#3b3c3e;border-color:#6b6965}html[data-theme=dark] .notice.error{color:#edb9a0;background:#402e28;border-color:#805647}html[data-theme=dark] .ms-layout{background:var(--bg);color:var(--ink)}html[data-theme=dark] :is(.ms-index,.ms-context){border-color:var(--border);background:#222325}html[data-theme=dark] .ms-toolbar{border-color:var(--border);background:#27282af7}html[data-theme=dark] .ms-paper{background:#2a2b2d;border-color:#424345;box-shadow:0 4px 25px #00000020}html[data-theme=dark] .ms-chapter-item.active{background:#393a3c}html[data-theme=dark] :is(.ms-chapter-title,.ms-prose,.ms-chapter-link strong,.ms-event-guide h3,.ms-empty h2){color:#e8e6e2}html[data-theme=dark] .ms-chapter-title:focus{background:#313234}html[data-theme=dark] .ms-chapter-title::placeholder{color:#a09e9a}html[data-theme=dark] :is(.ms-index-heading,.ms-context-heading,.ms-index-subtitle,.ms-chapter-number,.ms-chapter-link small,.ms-chapter-children>button,.ms-writing-tip>span,.ms-writing-tip p,.ms-toolbar-type,.ms-chapter-eyebrow,.ms-chapter-summary,.ms-scene-heading,.ms-scene-heading>input,.ms-paper-footer,.ms-guide-eyebrow,.ms-event-guide>p,.ms-guide-meta,.ms-next-event>span,.ms-next-event p,.ms-private-hint,.ms-context-empty,.ms-context-empty p,.ms-shortcuts,.ms-shortcuts>span,.ms-organize-help,.ms-move-scene,.ms-empty){color:#b8b6b2}html[data-theme=dark] .ms-chapter-children>button>span{background:#b0aeaa}html[data-theme=dark] :is(.ms-text-button,.ms-add-chapter,.ms-add-scene){color:#c4c2be;border-color:#5c5d5f}html[data-theme=dark] .ms-text-button.danger{color:var(--night-danger)}html[data-theme=dark] .ms-toolbar .icon-button{color:#c9c7c3}html[data-theme=dark] .ms-toolbar .icon-button.is-active{color:#edebe7;background:#4a4b4d}html[data-theme=dark] .ms-toolbar-divider{border-color:#505153}html[data-theme=dark] .ms-chapter-eyebrow select{color:#d1cfcb;background:#3b3c3e;border-color:#6a6864}html[data-theme=dark] .ms-title-rule{background:#a3a19d}html[data-theme=dark] :is(.ms-chapter-details,.ms-organize){background:#323335;border-color:#505153}html[data-theme=dark] .ms-prose p.ms-selected-paragraph{background:linear-gradient(90deg,#72706c45,#0000)}html[data-theme=dark] .ms-prose p.is-editor-empty:first-child:before{color:#a3a19d}html[data-theme=dark] .ms-prose hr{border-color:#706e6a}html[data-theme=dark] .ms-prose a{color:#d6d4d0;text-decoration-color:#8b8985}html[data-theme=dark] .ms-prose .ProseMirror-selectednode{outline-color:#b5b3af}html[data-theme=dark] .ms-event-guide{background:#37383a;border-color:#5a5b5d}html[data-theme=dark] .ms-guide-meta .badge{color:#d3d1cd;background:#494a4c;border-color:#6f6d69}html[data-theme=dark] .ms-complete-event{color:#e2e0dc;background:#424345;border-color:#807e7a}html[data-theme=dark] .ms-complete-event:hover{background:#565759}html[data-theme=dark] .ms-next-event{background:#303133;border-color:#545557}html[data-theme=dark] .ms-selected-excerpt{color:#cccac6;background:#38393b;border-color:#a2a09c}html[data-theme=dark] .ms-note-input{color:#e0deda;background:#2a2b2d;border-color:#616264}html[data-theme=dark] .ms-note-input::placeholder{color:#aba9a5}html[data-theme=dark] .ms-linked-tags>button{color:#d2d0cc;background:#3f4042;border-color:#6a6864}html[data-theme=dark] .ms-shortcuts{border-color:#48494b}html[data-theme=dark] .ms-shortcuts kbd{color:#cac8c4;background:#37383a;border-color:#5a5b5d}html[data-theme=dark] .ms-paragraph-card{color:#b6b4b0;background:#2b2c2e;border-color:#505153}html[data-theme=dark] .ms-paragraph-card.active{background:#424345;border-color:#969490}html[data-theme=dark] .ms-paragraph-preview{color:#dedcd8}html[data-theme=dark] .kw-world-page{color:var(--ink);--kw-readable-muted:#bbb9b5}html[data-theme=dark] :is(.kw-world-heading h1,.kw-world-empty h2,.kw-world-count strong,.kw-inspector-placeholder h3,.kw-event-node>strong,.kw-timeline-event h3,.kw-character-card-body h2,.kw-section-title h2,.kw-character-detail .kw-writing-field>span,.kw-profile-counts strong){color:#e8e6e2}html[data-theme=dark] :is(.kw-world-eyebrow,.kw-world-heading p,.kw-world-count,.kw-world-empty,.kw-world-empty p,.kw-check-line,.kw-world-linked h4,.kw-inspector-placeholder,.kw-timeline-date,.kw-timeline-narrative,.kw-character-card-meta,.kw-character-card-body>p,.kw-character-add-card>p,.kw-profile-counts span,.kw-writing-field small,.kw-section-empty,.kw-scene-check small,.kw-order-row small){color:#bbb9b5}html[data-theme=dark] .kw-world-empty>svg{color:#a5a39f}html[data-theme=dark] .kw-segmented{background:#232426;border-color:#4a4b4d}html[data-theme=dark] .kw-segmented button{color:#bbb9b5}html[data-theme=dark] .kw-segmented button.active{color:#e4e2de;background:#424345;box-shadow:0 2px 5px #00000020}html[data-theme=dark] .kw-story-workspace{background:var(--paper);border-color:var(--border)}html[data-theme=dark] .kw-story-main{background:#202123}html[data-theme=dark] .kw-canvas-hint{color:#cac8c4;background:#2a2b2ded}html[data-theme=dark] .kw-hint-dot{background:#bcbab6}html[data-theme=dark] .kw-event-node{background:#333436;border-color:#595a5c;box-shadow:0 4px 16px #0002}html[data-theme=dark] .kw-event-node.is-selected{border-color:#b8b6b2;box-shadow:0 0 0 2px #acaaa640,0 4px 18px #00000025}html[data-theme=dark] .kw-event-number{color:#e0deda;background:#4a4b4d}html[data-theme=dark] .kw-event-state{color:#cdcbc7!important}html[data-theme=dark] .kw-event-state i{box-shadow:0 0 0 1px #c2c0bc50}html[data-theme=dark] .kw-event-node>p{color:#c2c0bc}html[data-theme=dark] .kw-event-node-bottom{color:#c0beba;border-color:#545557}html[data-theme=dark] .kw-event-handle.react-flow__handle{background:#bbb9b5;border-color:#333436}html[data-theme=dark] .kw-world-inspector{background:#2b2c2e;border-color:#4a4b4d}html[data-theme=dark] :is(.kw-world-inspector .field,.kw-character-detail .field,.kw-world-fieldset legend,.kw-inspector-title .kw-world-eyebrow){color:#cac8c4}html[data-theme=dark] :is(.kw-world-inspector .input,.kw-character-detail .input){color:#e8e6e2;background:#252628;border-color:#666460}html[data-theme=dark] :is(.kw-world-inspector .input:focus,.kw-character-detail .input:focus){border-color:#b7b5b1;box-shadow:0 0 0 3px #a5a39f25}html[data-theme=dark] :is(.kw-world-inspector .input,.kw-character-detail .input)::placeholder{color:#acaaa6}html[data-theme=dark] :is(.kw-world-linked,.kw-inspector-danger,.kw-world-list-toolbar,.kw-character-section,.kw-profile-counts){border-color:#4b4c4e}html[data-theme=dark] .kw-reference-chip{color:#d5d3cf;background:#434446}html[data-theme=dark] :is(.kw-inspector-danger .kw-quiet-danger,.kw-quiet-danger.button,.kw-inline-confirm p,.kw-form-error){color:#e8b29b}html[data-theme=dark] .kw-inline-confirm .danger{color:#fff0e4;background:#854d3a;border-color:#b5775b}html[data-theme=dark] .kw-story-progress{background:#47484a}html[data-theme=dark] .kw-story-progress>div{background:#b3b1ad}html[data-theme=dark] .kw-connection-summary{color:#e1dfdb;border-color:#8d8b87}html[data-theme=dark] .kw-connection-summary svg{color:#b8b6b2}html[data-theme=dark] .kw-timeline-item{border-color:#5a5b5d}html[data-theme=dark] .kw-timeline-item:last-child{border-left-color:#0000}html[data-theme=dark] .kw-timeline-marker{color:#e2e0dc;background:#434446;border-color:#7e7c78}html[data-theme=dark] .kw-timeline-event{background:#2f3032;border-color:#525355}html[data-theme=dark] .kw-timeline-item.is-selected .kw-timeline-event{border-color:#b5b3af}html[data-theme=dark] .kw-search{color:#b7b5b1;background:#27282a;border-color:#626365}html[data-theme=dark] .kw-search:focus-within{border-color:#b4b2ae;box-shadow:0 0 0 3px #a4a29e25}html[data-theme=dark] .kw-search input{color:#e6e4e0}html[data-theme=dark] .kw-search input::placeholder{color:#afada9}html[data-theme=dark] .kw-character-card{background:#2e2f31;border-color:#515254}html[data-theme=dark] .kw-character-card:hover{border-color:#a5a39f;box-shadow:0 9px 24px #00000025}html[data-theme=dark] :is(.kw-character-card-image,.kw-portrait){background:color-mix(in srgb, var(--character-color) 25%, #28292b)}html[data-theme=dark] .kw-character-monogram{color:color-mix(in srgb, var(--character-color) 55%, #eae8e4);opacity:.85}html[data-theme=dark] .kw-character-role{color:#e4e2de;background:#2b2c2edf;border:1px solid #817f7b54}html[data-theme=dark] .kw-character-card-meta{border-color:#525355}html[data-theme=dark] .kw-character-add-card{color:#d0ceca;border-color:#6b6965}html[data-theme=dark] .kw-character-add-card>span{color:#d0ceca;background:#3e3f41;border-color:#616264}html[data-theme=dark] .kw-back-button.button{color:#cdcbc7;background:0 0}html[data-theme=dark] .kw-character-profile{background:#2e2f31;border-color:#535456}html[data-theme=dark] .kw-portrait-placeholder{color:#cfcdc9}html[data-theme=dark] .kw-portrait-upload{color:#e5e3df;background:#2c2d2fdf;border-color:#716f6b}html[data-theme=dark] .kw-color-options button{border-color:#2f3032}html[data-theme=dark] .kw-color-options button.selected{outline-color:#d2d0cc}html[data-theme=dark] .kw-scene-check{background:#333436;border-color:#5c5d5f}html[data-theme=dark] .kw-scene-check strong{color:#e3e1dd}html[data-theme=dark] :is(.kw-muted-button.button,.kw-image-loading){color:#c7c5c1}html[data-theme=dark] .kw-story-main .react-flow{--xy-background-color:#202123;background:#202123}html[data-theme=dark] .react-flow__background-pattern{fill:#4c4d4f;stroke:#4c4d4f}html[data-theme=dark] .react-flow__edge-path{stroke:#8d8b87!important}html[data-theme=dark] .react-flow__edge.selected .react-flow__edge-path{stroke:#d5d3cf!important}html[data-theme=dark] .react-flow__arrowhead polyline{stroke:#a8a6a2;fill:#a8a6a2}html[data-theme=dark] .react-flow__edge-text{fill:#dddbd7!important}html[data-theme=dark] .react-flow__edge-textbg{fill:#323335!important}html[data-theme=dark] .kw-story-main .react-flow__controls{background:#313234;border-color:#666460;box-shadow:0 3px 12px #00000030}html[data-theme=dark] .kw-story-main .react-flow__controls-button{fill:#d9d7d3;background:#313234;border-color:#57585a}html[data-theme=dark] .kw-story-main .react-flow__controls-button:hover{background:#4a4b4d}html[data-theme=dark] .kw-story-main .react-flow__minimap{background:#242527;border-color:#5f6062}html[data-theme=dark] .react-flow__minimap-mask{stroke:#8c8a86;fill:#1a1b1db3!important}html[data-theme=dark] .react-flow__minimap-node{stroke:#969490;fill:#84827e!important}html[data-theme=dark] .kw-maps{color:var(--ink)}html[data-theme=dark] :is(.kw-maps-eyebrow,.kw-maps-heading p,.kw-map-footer,.kw-map-image-hint,.kw-map-settings summary,.kw-map-settings label,.kw-place-detail label,.kw-place-item-copy small,.kw-places-header span,.kw-places-tip,.kw-place-pin-detail>div,.kw-place-references h3,.kw-place-references p,.kw-map-empty p){color:#bfbdb9}html[data-theme=dark] :is(.kw-map-main,.kw-places-panel){background:#2c2d2f;border-color:#505153}html[data-theme=dark] :is(.kw-map-toolbar,.kw-map-footer,.kw-map-settings,.kw-places-header,.kw-places-tip){border-color:#505153}html[data-theme=dark] .kw-map-picker select{color:#e5e3df;background:0 0}html[data-theme=dark] .kw-map-scroll{background:#232426}html[data-theme=dark] .kw-map-pin{color:#f7f5f1;background:#414244;border-color:#eeece8;box-shadow:0 4px 12px #00000045}html[data-theme=dark] .kw-map-pin.selected{background:#936432;border-color:#f3e3c8;box-shadow:0 0 0 5px #212224b3,0 3px 12px #00000060}html[data-theme=dark] .kw-map-pin-label{color:#f1efeb;background:#363739f5;border-color:#8e8c88;box-shadow:0 3px 12px #00000040}html[data-theme=dark] .kw-map-placement{color:#e0deda;background:#3e3f41}html[data-theme=dark] .kw-map-placement select{color:#e0deda;background:#2e2f31;border-color:#7a7874}html[data-theme=dark] .kw-map-empty{background:#2a2b2d}html[data-theme=dark] .kw-map-empty h2{color:#eae8e4}html[data-theme=dark] .kw-map-empty-art{color:#bdbbb7;background:#3a3b3d;border-color:#616264}html[data-theme=dark] .kw-map-empty-orbit{border-color:#5d5e60}html[data-theme=dark] .kw-places-search{color:#c2c0bc;background:#292a2c;border-color:#686662}html[data-theme=dark] .kw-places-search input{color:#e4e2de}html[data-theme=dark] :is(.kw-maps input,.kw-maps textarea)::placeholder{color:#b2b0ac}html[data-theme=dark] .kw-place-item{color:#bdbbb7;background:0 0;border-color:#4f5052}html[data-theme=dark] .kw-place-item:hover{background:#414244}html[data-theme=dark] .kw-place-item-copy strong{color:#e3e1dd}html[data-theme=dark] .kw-place-symbol{color:#d0ceca;background:#3f4042;border-color:#676561}html[data-theme=dark] :is(.kw-places-empty,.kw-place-back,.kw-place-image-button){color:#cfcdc9}html[data-theme=dark] .kw-place-name{color:#edebe7;background:0 0}html[data-theme=dark] .kw-place-name:focus{background:#404143}html[data-theme=dark] .kw-place-photo{background:#292a2c}html[data-theme=dark] .kw-place-pin-detail{background:#3c3d3f}html[data-theme=dark] .kw-places-tip{color:#cfcdc9;background:#37383a}html[data-theme=dark] .kw-place-linked-map{color:#e6e4e0;background:#444547;border-color:#6f6d69}html[data-theme=dark] .kw-place-references button{color:#dcdad6;background:#3b3c3e}html[data-theme=dark] :is(.kw-map-text-danger,.kw-map-text-danger:hover,.kw-map-delete-confirm){color:var(--night-danger)}html[data-theme=dark] :is(.kw-place-delete-confirm,.kw-map-error){color:#edba9e;background:#3e2e27;border-color:#855d47}html[data-theme=dark] .kw-danger{color:#fff3e8!important;background:#9a5941!important;border-color:#c88768!important}html[data-theme=dark] .sys-workspace{--sys-ink:#eae8e4;--sys-muted:#bdbbb7;--sys-line:#515254;--sys-paper:#2f3032;--sys-wash:#3c3d3f;color:var(--sys-ink)}html[data-theme=dark] :is(.sys-eyebrow,.sys-page-heading p.muted,.sys-sidebar-title,.sys-nav-text small,.sys-writing-tip,.sys-writing-tip p,.sys-writing-tip span,.sys-overline,.sys-description,.sys-stats,.sys-rule-summary>span,.sys-field>small,.sys-dependencies>p,.sys-dependency-empty,.sys-dependency-intro p,.sys-graph-node small,.sys-dependency-hint,.sys-confirm-dialog p){color:#c3c1bd}html[data-theme=dark] .sys-sidebar-title>span:last-child{background:#424345}html[data-theme=dark] .sys-nav-item{color:#c9c7c3;background:0 0}html[data-theme=dark] .sys-nav-item:hover{background:#3b3c3e}html[data-theme=dark] .sys-nav-item.is-active{color:#ebe9e5;background:#454648;border-color:#72706c}html[data-theme=dark] .sys-nav-icon{background:#37383a;border-color:#616264}html[data-theme=dark] .sys-system-overview{box-shadow:0 3px 15px #00000015}html[data-theme=dark] .sys-delete-system{color:#c0beba!important}html[data-theme=dark] .sys-delete-system:hover{color:#f0b59b!important;background:#4c3025!important}html[data-theme=dark] :is(.sys-description,.sys-search input,.sys-field .input)::placeholder{color:#b1afab}html[data-theme=dark] .sys-stats{border-color:#57585a}html[data-theme=dark] .sys-view-switch{background:#2b2c2e;border-color:#5b5c5e}html[data-theme=dark] .sys-view-switch button{color:#cac8c4}html[data-theme=dark] .sys-view-switch button.is-active{color:#f0eeea;background:#505153;box-shadow:0 2px 6px #00000020}html[data-theme=dark] .sys-search{color:#c9c7c3;background:#2e2f31;border-color:#5f6062}html[data-theme=dark] .sys-search input{color:#eceae6}html[data-theme=dark] .sys-search button{color:#cbc9c5}html[data-theme=dark] .sys-rule-card:hover{box-shadow:0 3px 12px #00000020}html[data-theme=dark] .sys-rule-card.is-open{border-color:#999793;box-shadow:0 5px 20px #00000020}html[data-theme=dark] .sys-rule-toggle{color:#d5d3cf}html[data-theme=dark] .sys-rule-number{color:#c5c3bf;border-color:#616264}html[data-theme=dark] .sys-rule-summary strong{color:#edebe7}html[data-theme=dark] .sys-rule-tags>span{color:#d5d3cf;background:#434446;border-color:#636466}html[data-theme=dark] .sys-rule-tags .sys-dependency-tag{color:#e3e1dd;background:#4c4d4f}html[data-theme=dark] :is(.sys-rule-body,.sys-dependencies,.sys-rule-footer,.sys-dependency-intro,.sys-dependency-row){border-color:#5a5b5d}html[data-theme=dark] :is(.sys-field>span,.sys-dependencies legend){color:#dad8d4}html[data-theme=dark] .sys-field .input{color:#edebe7;background:#2a2b2d;border-color:#797773}html[data-theme=dark] .sys-dependency-option{color:#d5d3cf;background:#38393b;border-color:#696763}html[data-theme=dark] .sys-dependency-option.is-selected{color:#f0eeea;background:#4f5052;border-color:#9d9b97}html[data-theme=dark] .sys-dependency-option small{color:#dac49e}html[data-theme=dark] .sys-danger-action{color:#ecb496}html[data-theme=dark] .sys-danger-action:hover{color:#ffd3b9}html[data-theme=dark] .sys-empty-large{background:#323335}html[data-theme=dark] .sys-empty-icon{color:#dad8d4;background:#494a4c}html[data-theme=dark] :is(.sys-empty-large>p,.sys-empty-rules>p,.sys-no-results){color:#cac8c4}html[data-theme=dark] .sys-example-labels span{color:#ceccc8;border-color:#6d6b67}html[data-theme=dark] .sys-empty-rules{color:#d2d0cc;background:#353638;border-color:#817f7b}html[data-theme=dark] :is(.sys-empty-rules h3,.sys-dependency-intro h3){color:#eceae6}html[data-theme=dark] .sys-dependency-view{background:#323335}html[data-theme=dark] .sys-graph-node{color:#e6e4e0;background:#3b3c3e;border-color:#72706c}html[data-theme=dark] .sys-graph-node:hover{background:#4e4f51;border-color:#a6a4a0}html[data-theme=dark] .sys-graph-icon{background:#515254}html[data-theme=dark] :is(.sys-graph-relation,.sys-graph-relation small){color:#cac8c4}html[data-theme=dark] .sys-graph-target{color:#e4e2de;background:#444547;border-color:#797773}html[data-theme=dark] .sys-graph-target:hover{color:#fbf9f5;background:#5b5c5e}html[data-theme=dark] .sys-foundation-badge{color:#d5d3cf;background:#3f4042}html[data-theme=dark] .sys-graph-targets{border-color:#75736f}html[data-theme=dark] .sys-confirm-icon{color:#efbc97;background:#55392a}html[data-theme=dark] .sys-confirm-dialog h2{color:var(--ink)}html[data-theme=dark] .sys-danger-button{color:#fff3e7!important;background:#9a5f42!important;border-color:#c78d65!important}html[data-theme=dark] .sys-danger-button:hover{background:#b07351!important}html[data-theme=dark] .ve-workspace{--text:var(--ink);color:var(--ink)}html[data-theme=dark] :is(.ve-heading-mark,.ve-empty-icon){color:#cbc9c5;background:#3d3e40;border-color:#636466}html[data-theme=dark] .ve-tabs{border-color:var(--border)}html[data-theme=dark] .ve-tabs>button{color:#c0beba}html[data-theme=dark] .ve-tabs>button.active{color:#e6e4e0;border-color:#bab8b4}html[data-theme=dark] .ve-tabs>button>span{color:#e4e2de;background:#494a4c}html[data-theme=dark] .ve-notice{color:#e3e1dd;background:#434446}html[data-theme=dark] .ve-error{color:#f3bea3;background:#4b3026}html[data-theme=dark] :is(.ve-loading,.ve-muted,.ve-section-title>span,.ve-working-copy small,.ve-version-copy small,.ve-create-version>small,.ve-empty-small,.ve-lock-label,.ve-version-stats span,.ve-book-preview>p,.ve-preview-chapter>span,.ve-preview-chapter small,.ve-version-path,.ve-role-options small,.ve-share-link>p,.ve-comments-toolbar p,.ve-checkbox,.ve-comment-heading>span,.ve-comment-location,.ve-export-formats small,.ve-export-preview>p,.ve-export-preview>span:last-child,.ve-import-card>p,.ve-import-card>small,.ve-dialog>p,.ve-empty-state){color:#bfbdb9}html[data-theme=dark] .ve-working-copy{background:#3b3c3e;border-color:#666460}html[data-theme=dark] .ve-live-dot{background:#c0beba}html[data-theme=dark] :is(.ve-small-tag,.ve-kind-tag){color:#d6d4d0;background:#424345;border-color:#686662}html[data-theme=dark] :is(.ve-kind-tag.final,.ve-version-icon.final){color:#e6e4e0;background:#4b4c4e;border-color:#807e7a}html[data-theme=dark] .ve-kind-tag.revision{color:#d9c8ed;background:#443b50}html[data-theme=dark] :is(.ve-kind-tag.backup,.ve-version-icon.backup){color:#ded3a1;background:#494329;border-color:#80723f}html[data-theme=dark] .ve-version-item{color:var(--ink)}html[data-theme=dark] .ve-version-item:hover{background:#393a3c}html[data-theme=dark] .ve-version-item.selected{background:#404143;border-color:#74726e;box-shadow:0 3px 12px #00000020}html[data-theme=dark] .ve-version-icon{color:#cfcdc9;background:#38393b;border-color:#626365}html[data-theme=dark] .ve-version-item>svg{color:#c8c6c2}html[data-theme=dark] :is(.ve-create-version,.ve-history,.ve-preview-chapter,.ve-version-path>span,.ve-role-options>label,.ve-chapter-picker,.ve-chapter-picker>div,.ve-chapter-picker>label+label,.ve-share-link){border-color:#535456}html[data-theme=dark] :is(.ve-version-detail,.ve-card,.ve-comment,.ve-export-formats>button){background:#2f3032;border-color:#535456}html[data-theme=dark] :is(.ve-book-preview,.ve-export-preview){background:#363739;border-color:#5a5b5d}html[data-theme=dark] .ve-preview-rule{background:#8f8d89}html[data-theme=dark] :is(.ve-empty-state h2,.ve-empty-state h3,.ve-export-formats strong){color:#e9e7e3}html[data-theme=dark] :is(.ve-card-icon,.ve-role-options>label>svg,.ve-export-preview>svg){color:#cac8c4}html[data-theme=dark] .ve-role-options>label.selected{background:#464749;border-color:#8d8b87}html[data-theme=dark] :is(.ve-role-options input,.ve-chapter-picker input,.ve-checkbox input){accent-color:#cbc9c5}html[data-theme=dark] .ve-chapter-picker>div{background:#3b3c3e}html[data-theme=dark] .ve-chapter-picker>div>button{color:#d7d5d1}html[data-theme=dark] .ve-share-link.inactive{background:#2f3032}html[data-theme=dark] .ve-link-url{background:#292a2c;border-color:#5f6062}html[data-theme=dark] .ve-link-url>input{color:#d2d0cc}html[data-theme=dark] :is(.ve-text-link,.ve-text-button){color:#d6d4d0}html[data-theme=dark] .ve-danger{color:var(--night-danger)}html[data-theme=dark] .ve-comment.resolved{background:#333436}html[data-theme=dark] .ve-comment.resolved .ve-comment-content>p{color:#c6c4c0}html[data-theme=dark] .ve-comment-avatar{color:#e7e5e1;background:#4a4b4d}html[data-theme=dark] .ve-comment blockquote{color:#d0ceca;background:#3a3b3d;border-color:#94928e}html[data-theme=dark] .ve-export-formats>button{color:#c6c4c0}html[data-theme=dark] .ve-export-formats>button.selected{color:#e8e6e2;background:#48494b;border-color:#9d9b97}html[data-theme=dark] :is(.ve-export-description,.ve-local-note){color:#d2d0cc;background:#3b3c3e;border-color:#6e6c68}html[data-theme=dark] .kw-reader{--reader-bg:#1e1f21;--reader-paper:#2b2c2e;--reader-ink:#e9e7e3;--reader-muted:#bdbbb7;--reader-line:#4d4e50;--reader-green:#d0ceca}html[data-theme=dark] .kw-reader-skip{color:#232426;background:#d8d6d2}html[data-theme=dark] .kw-reader-edition{color:#dedcd8;background:#424345}html[data-theme=dark] .kw-reader-icon:hover{background:#464749}html[data-theme=dark] .kw-reader-select-wrap select{background:0 0}html[data-theme=dark] .kw-reader-ornament{color:#b4b2ae}html[data-theme=dark] .kw-reader-paragraph-active{background:#424345;box-shadow:0 0 0 9px #424345}html[data-theme=dark] .kw-reader-prose blockquote{color:#cac8c4;border-color:#93918d}html[data-theme=dark] .kw-reader-paragraph-comment{color:#bfbdb9}html[data-theme=dark] .kw-reader-paragraph-comment:hover{color:#edebe7;background:#4b4c4e}html[data-theme=dark] .kw-reader-scene-break{color:#b4b2ae}html[data-theme=dark] .kw-reader-divider{border-color:#83817d}html[data-theme=dark] .kw-reader-comments{box-shadow:0 5px 25px #00000025}html[data-theme=dark] .kw-reader-quote{color:#ceccc8;border-color:#9c9a96}html[data-theme=dark] .kw-reader-comment-resolved{opacity:1;color:#bdbbb7}html[data-theme=dark] .kw-reader-comments-empty{color:#b6b4b0}html[data-theme=dark] .kw-reader-comment-form label{color:#d0ceca}html[data-theme=dark] :is(.kw-reader-comment-form input,.kw-reader-comment-form textarea){color:#eceae6;background:#262729;border-color:#6b6965}html[data-theme=dark] :is(.kw-reader-comment-form input,.kw-reader-comment-form textarea)::placeholder{color:#b3b1ad}html[data-theme=dark] .kw-reader-button{color:#252628;background:#ceccc8;border-color:#ceccc8}html[data-theme=dark] .kw-reader-button:hover{background:#dfddd9;border-color:#dfddd9}html[data-theme=dark] .kw-reader-form-error{color:#ecb29b}html[data-theme=dark] .kw-reader-alert{color:#ead09b;background:#443b27}html[data-theme=dark] .kw-reader-loader{border-color:#ceccc8 #5d5e60 #5d5e60}html[data-theme=dark] .kw-reader-commenting .kw-reader-main{filter:none}html[data-theme=dark] .theme-picker .button.selected{color:#222325;background:#c6c4c0;border-color:#d7d5d1}html[data-theme=dark] .theme-picker .button.selected:hover{color:#222325;background:#d7d5d1;border-color:#e3e1dd}html[data-theme=dark] .theme-picker .button.selected svg{color:#222325}@media print{html[data-theme=dark] :is(body,.ms-layout,.ms-paper,.ms-prose,.ms-chapter-title,.kw-reader,.kw-reader-prose){color:#232426!important;box-shadow:none!important;background:#fff!important}html[data-theme=dark] :is(.ms-chapter-summary,.ms-scene-heading,.kw-reader-subtitle,.kw-reader-author,.kw-reader-chapter-heading h2,.kw-reader-book-header h1){color:#4c4d4f!important}}
:root,html[data-theme=light]{--bg:#f1efea;--paper:#faf8f3;--ink:#302e2b;--text:#302e2b;--muted:#6c6861;--accent:#77582d;--border:#dedad2;--sage:#ece7dd;--surface-subtle:#f3f0e9;--surface-active:#e9e1d3;--control-border:#a19b90;--focus-ring:#8b652e}html[data-theme=dark]{--bg:#18191b;--paper:#232426;--ink:#e4e1da;--text:#e4e1da;--muted:#b4b0a8;--accent:#d8ba88;--border:#3c3e42;--sage:#2c2d30;--surface-subtle:#202123;--surface-active:#38342e;--control-border:#73716b;--focus-ring:#d8ba88;--night-low:#1d1e20;--night-raised:#2c2d30;--night-active:#38342e;--night-control:#1d1e20;--night-control-border:#73716b;--night-subtle:#aaa69e;--night-success:#b9cbb2}html[data-theme] body{background:var(--bg);color:var(--ink);font-size:14px}html[data-theme] :is(button,input,select,textarea,a,summary):focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}html[data-theme] ::selection{color:var(--ink);background:#d8ba8852}html[data-theme] :is(input,textarea,select){caret-color:var(--accent)}html[data-theme] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}html[data-theme] a{color:var(--accent);text-underline-offset:.2em}html[data-theme] .button{min-height:40px;font-size:12px}html[data-theme] .input{border-color:var(--control-border);min-height:42px;font-size:14px;line-height:1.6}html[data-theme] .field{color:var(--muted);font-size:12px;line-height:1.5}html[data-theme] :is(.button.primary,.button-primary,.kw-reader-button){background:var(--accent);border-color:var(--accent);color:#fffaf1}html[data-theme=dark] :is(.button.primary,.button-primary,.kw-reader-button){color:#25231f}html[data-theme] :is(.button.primary,.button-primary,.kw-reader-button):hover:not(:disabled){filter:brightness(1.08);background:var(--accent);border-color:var(--accent)}html[data-theme] :is(.button,.icon-button){border-radius:7px}html[data-theme] :is(.app-sidebar,.ms-index,.ms-context){background:var(--surface-subtle)}html[data-theme] :is(.topbar,.ms-toolbar){background:var(--paper)}html[data-theme] .brand{color:var(--ink)}html[data-theme] :is(.brand-symbol,.brand-symbol>span){color:var(--accent)}html[data-theme] .nav-item{min-height:44px;color:var(--muted);font-size:13px;line-height:1.45}html[data-theme] .nav-item.active{background:var(--surface-active);color:var(--ink)}html[data-theme] .nav-item.active svg{color:var(--accent)}html[data-theme] .nav-item>i{background:var(--accent)}html[data-theme] .nav-group{color:var(--muted);letter-spacing:.1em;font-size:10px}html[data-theme] .book-switch{color:var(--ink)}html[data-theme] .book-switch strong{font-size:12px}html[data-theme] :is(.book-switch small,.sidebar-settings small,.writing-goal>small){color:var(--muted);font-size:10px;line-height:1.5}html[data-theme] .sidebar-settings strong{color:var(--ink);font-size:12px}html[data-theme] :is(.breadcrumb,.breadcrumb strong,.sync-indicator){color:var(--muted);font-size:12px}html[data-theme] :is(.sync-indicator.pending,.sync-indicator.offline,.sync-indicator.conflict){color:var(--accent)}html[data-theme=light] .sync-indicator.error{color:#994b3e}html[data-theme=dark] .sync-indicator.error{color:#e6a591}html[data-theme] .writing-goal>div:first-child{color:var(--muted);font-size:11px}html[data-theme] .writing-goal>strong{color:var(--ink)}html[data-theme] .writing-goal>strong>small{color:var(--muted);font-size:11px}html[data-theme] .progress-track>span{background:var(--accent)}html[data-theme] .book-switch-menu>button{font-size:13px;line-height:1.5}html[data-theme] .book-cover-mini{background:var(--surface-active);border-color:var(--border);color:var(--accent);box-shadow:inset 3px 0 var(--border)}html[data-theme] .quick-note-button{color:var(--ink);background:var(--paper);border-color:var(--border);min-height:44px;font-size:12px}html[data-theme] .is-focused .quick-note-button{opacity:1}html[data-theme] .is-focused .share-top{display:none}html[data-theme] :is(.global-search input,.notes-search input){font-size:15px}html[data-theme] .search-results button{min-height:48px}html[data-theme] .theme-toggle{color:var(--muted)}html[data-theme] .theme-picker .button.selected{background:var(--accent);border-color:var(--accent);color:#fffaf1}html[data-theme=dark] .theme-picker .button.selected,html[data-theme=dark] .theme-picker .button.selected:hover,html[data-theme=dark] .theme-picker .button.selected svg{background:var(--accent);border-color:var(--accent);color:#25231f}html[data-theme] .ms-layout{background:var(--bg);color:var(--ink)}html[data-theme] .ms-paper{background:var(--paper);border-color:var(--border);box-shadow:0 3px 20px #00000009}html[data-theme] :is(.ms-chapter-title,.ms-prose){color:var(--ink)}html[data-theme] .ms-chapter-title:focus{background:0 0}html[data-theme] .ms-chapter-item.active{background:var(--surface-active)}html[data-theme] .ms-chapter-link strong{color:var(--ink)}html[data-theme] :is(.ms-index-heading,.ms-context-heading,.ms-index-subtitle,.ms-chapter-link small,.ms-chapter-number,.ms-chapter-children>button,.ms-chapter-summary,.ms-chapter-eyebrow,.ms-scene-heading,.ms-scene-heading>input,.ms-paper-footer,.ms-private-hint,.ms-writing-tip p,.ms-writing-tip>span,.ms-shortcuts,.ms-shortcuts>span){color:var(--muted)}html[data-theme] .ms-scene-heading>input{letter-spacing:.025em;min-height:34px;font-size:12px}html[data-theme] .ms-chapter-eyebrow select{color:var(--muted);background:var(--surface-subtle);border-color:var(--control-border);min-height:34px;font-size:12px}html[data-theme] .ms-title-rule{background:var(--border);height:1px}html[data-theme] .ms-toolbar .icon-button{color:var(--muted);width:36px;min-width:36px;height:36px;min-height:36px}html[data-theme] .ms-toolbar .icon-button.is-active{color:var(--ink);background:var(--surface-active)}html[data-theme] .ms-prose{text-align:left;overflow-wrap:break-word}html[data-theme] .ms-prose p.ms-selected-paragraph{box-shadow:-3px 0 0 -1px var(--accent);background:0 0}html[data-theme] .ms-prose a{color:var(--accent);text-decoration-color:currentColor}html[data-theme] .ms-prose hr{border-color:var(--border)}html[data-theme] .ms-scene-actions{opacity:.65}html[data-theme] .ms-scene:hover .ms-scene-actions,html[data-theme] .ms-scene:focus-within .ms-scene-actions{opacity:1}html[data-theme] .ms-note-input{color:var(--ink);background:var(--paper);border-color:var(--control-border);font-size:14px}html[data-theme] :is(.ms-event-guide,.ms-next-event,.ms-selected-excerpt,.ms-organize,.ms-chapter-details){background:var(--surface-subtle);border-color:var(--border)}html[data-theme] .ms-event-guide h3{color:var(--ink)}html[data-theme] :is(.ms-event-guide>p,.ms-next-event p,.ms-next-event>span,.ms-selected-excerpt,.ms-guide-meta,.ms-context-empty,.ms-context-empty p,.ms-guide-eyebrow,.ms-event-label){color:var(--muted)}html[data-theme] .ms-complete-event{background:var(--paper);border-color:var(--control-border);color:var(--ink)}html[data-theme] .ms-paragraph-card{background:var(--paper);color:var(--muted);border-color:var(--border)}html[data-theme] .ms-paragraph-card.active{background:var(--surface-active);border-color:var(--accent)}html[data-theme] .ms-paragraph-preview{color:var(--ink)}html[data-theme] :is(.ms-add-chapter,.ms-add-scene,.ms-text-button:not(.danger)){color:var(--muted);border-color:var(--control-border)}html[data-theme=light] :is(.muted,.eyebrow,.section-heading p,.empty-state,.loading-page,.note-meta,.note-bottom select,.note-text,.auth-story-copy>p,.auth-foot,.auth-switch,.auth-private,.kw-world-eyebrow,.kw-world-heading p,.kw-world-count,.kw-character-card-body>p,.kw-character-card-meta,.kw-world-fieldset legend,.kw-world-inspector .field,.kw-maps-heading p,.kw-maps-eyebrow,.kw-places-tip,.kw-place-item-copy small,.ve-muted,.ve-section-title>span,.ve-version-copy small,.ve-working-copy small,.ve-create-version>small,.ve-version-stats span,.ve-lock-label,.ve-book-preview>p,.ve-preview-chapter small,.ve-export-description,.ve-local-note,.ve-dialog>p){color:var(--muted)}html[data-theme] :is(.note-title,.note-text){color:var(--ink)}html[data-theme] .note-text{font-size:14px;line-height:1.8}html[data-theme] .notes-compact .note-text{font-size:14px}html[data-theme] .note-meta{font-size:11px}html[data-theme] .note-colors button{border-width:3px;width:24px;height:24px}html[data-theme=light] .sys-workspace{--sys-ink:#302e2b;--sys-muted:#6c6861;--sys-line:#dedad2;--sys-paper:#faf8f3;--sys-wash:#f3f0e9}html[data-theme=dark] .sys-workspace{--sys-ink:#e4e1da;--sys-muted:#b4b0a8;--sys-line:#3c3e42;--sys-paper:#232426;--sys-wash:#2c2d30}html[data-theme] :is(.kw-segmented button.active,.sys-view-switch button.is-active,.sys-nav-item.is-active,.ve-version-item.selected,.ve-export-formats>button.selected,.ve-role-options>label.selected){background:var(--surface-active);color:var(--ink);border-color:var(--control-border)}html[data-theme] .ve-tabs>button.active{color:var(--accent);border-color:var(--accent)}html[data-theme] .kw-event-node.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px #d8ba8833}html[data-theme] .kw-event-handle.react-flow__handle{background:var(--accent)}html[data-theme] .kw-places-tip{background:var(--surface-subtle);color:var(--muted)}html[data-theme] :is(.kw-character-add-card,.kw-place-linked-map,.kw-reference-chip){color:var(--muted)}html[data-theme] :is(.kw-form-error,.ve-error,.notice.error,.button.danger){filter:none}html[data-theme] .kw-reader{--reader-bg:var(--bg);--reader-paper:var(--paper);--reader-ink:var(--ink);--reader-muted:var(--muted);--reader-line:var(--border);--reader-green:var(--accent);font-family:var(--font-sans)}html[data-theme] .kw-reader-prose{font-family:var(--font-serif);text-align:left}html[data-theme] .kw-reader-paragraph-active{background:var(--surface-active);box-shadow:0 0 0 9px var(--surface-active)}html[data-theme] :is(.kw-reader-comments-empty,.kw-reader-comment-form label,.kw-reader-quote){color:var(--muted)}html[data-theme] .kw-reader-comment-form :is(input,textarea){color:var(--ink);border-color:var(--control-border);background:var(--paper);font-size:14px}html[data-theme] .kw-reader-icon{color:var(--muted)}html[data-theme] .kw-reader-edition{background:var(--surface-active);color:var(--muted)}html[data-theme] .modal-wide{width:min(920px,100vw - 32px);max-width:calc(100vw - 32px)}html[data-theme] .sidebar-bottom{padding-top:10px}html[data-theme] .writing-goal{padding-block:10px 12px}html[data-theme] .writing-goal>strong{margin-block:7px;font-size:21px}html[data-theme] .writing-goal>small{display:none}html[data-theme] .sidebar-settings{padding-block:13px}@media (max-width:900px){html[data-theme] .nav-item{font-size:12px}html[data-theme] .breadcrumb{font-size:11px}html[data-theme] .topbar{padding-inline:12px}}@media (max-width:700px){html[data-theme] .ms-paper{box-shadow:none;border-inline:0;padding-inline:22px}html[data-theme] .ms-paper-scroll{padding-inline:0}html[data-theme] .ms-paper-footer{flex-wrap:wrap;line-height:1.6}html[data-theme] .ms-toolbar{scrollbar-width:thin;overflow:auto hidden}html[data-theme] .ms-toolbar .icon-button{flex-shrink:0}html[data-theme] :is(.save-button,.share-top){padding-inline:9px;font-size:11px}html[data-theme] .top-actions{gap:2px}html[data-theme] .sync-indicator{flex:0 0 16px;margin-right:2px;display:flex}html[data-theme] .sync-indicator>span{display:none}}@media (pointer:coarse){html[data-theme] :is(.button,.nav-item,.ms-toolbar .icon-button,.ms-chapter-eyebrow select){min-height:44px}html[data-theme] .ms-toolbar .icon-button{width:44px;min-width:44px;height:44px}html[data-theme] :is(.input,.ms-note-input,.kw-reader-comment-form input,.kw-reader-comment-form textarea){font-size:16px}html[data-theme] .note-colors button{width:32px;height:32px}}@media (prefers-reduced-motion:reduce){html[data-theme] *{scroll-behavior:auto!important;transition-duration:0s!important}}@media print{html[data-theme] :is(body,.ms-layout,.ms-paper,.ms-prose,.ms-chapter-title,.kw-reader,.kw-reader-prose){color:#262626!important;box-shadow:none!important;background:#fff!important}}
