@charset "UTF-8";
:root{--bg:#f8f9f6;--paper:#fff;--green:#366450;--green-dark:#274c3e;--green-light:#e9f0e9;--ink:#293a33;--muted:#87908a;--line:#e7ebe5;--sidebar:#f0f3ee;--serif:"Noto Serif SC","Source Han Serif SC","Microsoft YaHei",serif;--sans:"Microsoft YaHei UI","Microsoft YaHei","Segoe UI",sans-serif;font-family:var(--sans);color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #a0bca6;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #96b3a0;outline-offset:1px}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}h1{font-size:29px;letter-spacing:1px;font-weight:600;line-height:1.6}h2{font-size:18px;font-weight:600}h3{font-size:16px;font-weight:600}button .icon{flex-shrink:0}.icon{width:20px;height:20px;vertical-align:middle;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 17px;border:1px solid #dce3db;border-radius:7px;background:white;font-size:13px;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover{background:#f1f5ef}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 6px #274c3e0b}.btn.primary:hover{background:var(--green-dark)}.btn.small{min-height:33px;padding:7px 11px;font-size:12px}.btn .icon{width:17px;height:17px}.btn.full{width:100%}.text-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;padding:4px 0;color:var(--green);font-size:12px;line-height:1.6;white-space:nowrap}.text-btn:hover{text-decoration:underline;text-underline-offset:4px}.text-btn .icon{width:16px;height:16px}.icon-btn{border:0;background:transparent;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px}.icon-btn span{display:none}.icon-btn:hover{background:var(--green-light)}.danger{color:#a55148}.danger-solid{background:#a55148;color:white;border-color:#a55148}.danger-solid:hover{background:#8f463e}.muted{color:var(--muted);font-size:12px;line-height:1.8}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;flex-shrink:0;background:var(--sidebar);border-right:1px solid #e3e8df;padding:33px 18px 0;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:10px;align-items:center;margin:0 5px 42px}.brand-mark{width:37px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--green);color:#fff;box-shadow:0 3px 8px #36645015}.brand-mark .icon{width:23px;height:23px}.brand b{font-size:16px;font-weight:600;letter-spacing:.5px}.brand small{display:block;font-size:8px;letter-spacing:1.8px;margin-top:7px;color:#8a958b}.workspace-label{font-size:10px;letter-spacing:1.5px;color:#929b91;margin:0 15px 14px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;border:0;border-radius:6px;background:transparent;text-align:left;color:#748076;padding:11px 14px;font-size:13px;margin:5px 0}.nav-item .icon{width:18px;height:18px}.nav-item:hover{background:#e8eee5}.nav-item.active{background:#e0eadd;color:#315e47;font-weight:600;position:relative}.nav-item.active:before{content:"";width:3px;height:18px;background:#47745a;position:absolute;left:0;border-radius:4px}.sidebar-note{margin:48px 16px 0;color:#97a18f}.sidebar-note>span{font-family:serif;font-size:36px;line-height:1;color:#bcc8b7}.sidebar-note p{font-family:var(--serif);font-size:14px;line-height:2.1;letter-spacing:1px;margin:8px 0 15px}.sidebar-note small{font-size:10px;letter-spacing:.5px;color:#a2aa9c}.sidebar-bottom{margin-top:auto;padding-top:35px}.storage-note{display:flex;align-items:center;gap:10px;padding:18px 8px 26px;color:#82927e}.storage-note .icon{width:19px;height:19px}.storage-note b{display:block;font-size:11px;font-weight:500}.storage-note small{display:block;font-size:10px;color:#9ca596;margin-top:6px}.profile{border-top:1px solid #dfe5d9;display:flex;gap:10px;align-items:center;padding:23px 6px}.avatar{width:34px;height:34px;border-radius:50%;background:#e0e8dc;display:grid;place-items:center;color:#6b8461;font-family:var(--serif);font-size:15px}.profile b{font-size:11px;font-weight:500}.profile small{display:block;font-size:9px;color:#97a18f;margin-top:5px}.profile-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#92aa82}.nav-divider{height:1px;background:#e0e6dc;margin:23px 10px}.novel-label{line-height:1.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:0}.main-shell{min-width:0;flex:1}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fcfdfb}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:11px;min-width:0}.breadcrumb>.icon{width:15px;height:15px;color:#859482}.breadcrumb>span{color:#889287}.breadcrumb strong{font-weight:500;max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slash{padding:0 5px;color:#c2c9bc!important}.top-tools{display:flex;align-items:center;gap:24px;flex-shrink:0}.local-badge{font-size:10px;color:#859280;letter-spacing:.4px}.local-badge i,.page-footer i{display:inline-block;width:5px;height:5px;background:#8eab82;border-radius:50%;vertical-align:2px;margin-right:6px}.top-tools>.text-btn{font-size:11px;color:#879180;border-left:1px solid #e1e7dc;padding-left:23px}.page{max-width:1500px;padding:40px 42px 20px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:2px;color:#99a492;margin-bottom:12px}.page-heading h1 span{color:#9db392}.page-heading p{font-size:12px;color:#8b9388;line-height:1.9;margin-top:10px}.date-chip{display:flex;align-items:center;gap:10px;color:#85987b;font-size:12px;white-space:nowrap}.date-chip>.icon{width:28px;height:28px;stroke-width:1}.date-chip small{display:block;font-size:9px;color:#a1a899;margin-top:7px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:35px}.stat{position:relative;display:flex;align-items:center;gap:17px;padding:22px 23px;border:1px solid var(--line);background:#fff;border-radius:9px;min-height:100px;overflow:hidden}.stat-icon{width:44px;height:44px;display:grid;place-items:center;background:#edf3ea;color:#79936b;border-radius:12px}.stat-icon.sand{background:#f8f1e5;color:#ba9d64}.stat-icon.lavender{background:#f0edf6;color:#a196b3}.stat-icon>.icon{width:22px;height:22px}.stat>div>span{font-size:10px;color:#929a8e}.stat strong{display:block;font-family:"Segoe UI",var(--sans);font-size:29px;font-weight:500;line-height:1.2;margin-top:9px;color:#42513d}.stat strong small{font-family:var(--sans);font-size:10px;margin-left:10px;font-weight:400;color:#929a8e}.stat-decoration{position:absolute;right:17px;top:17px;font-size:9px;letter-spacing:1px;color:#d9dfd4}.desk-layout{display:grid;grid-template-columns:minmax(0,1fr) 262px;gap:28px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-heading h2{display:flex;align-items:center;gap:9px;font-size:16px}.count{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;font-family:"Segoe UI",sans-serif;font-weight:400;font-size:10px;color:#8a9b80;background:#edf1e8;min-width:21px;height:19px}.section-heading p{font-size:10px;color:#9bA291;margin-top:9px;line-height:1.8}.empty-shelf{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px dashed #dce4d7;border-radius:10px;min-height:440px;padding:30px 20px;text-align:center}.tiny-label{font-size:8px;letter-spacing:2px;color:#b3bba9;margin:14px 0}.empty-shelf h2{font-size:19px;letter-spacing:1px;font-weight:500;color:#55634d}.empty-shelf p{font-size:11px;line-height:2.1;color:#a0a697;margin:15px 0 23px}.empty-shelf .btn{padding:11px 22px}.empty-shelf>small{font-size:9px;color:#b3b8ab;letter-spacing:.5px;margin-top:17px}.shelf-art{width:215px;height:132px;position:relative;margin:0 auto 2px}.art-sun{position:absolute;left:72px;top:4px;width:102px;height:102px;border-radius:50%;background:#f3f4e9}.art-window{position:absolute;left:86px;top:13px;width:72px;height:92px;border-radius:40px 40px 0 0;border:2px solid #e0e8d6;background:#edf1e5}.art-window i:first-child{position:absolute;left:34px;top:0;width:2px;height:90px;background:#dde5d2}.art-window i:last-child{position:absolute;left:0;top:45px;width:70px;height:2px;background:#dde5d2}.art-shelf{position:absolute;width:192px;height:8px;border-radius:3px;background:#d6dfc6;left:13px;bottom:13px;box-shadow:0 8px 0 -3px #eef0e8}.art-books{position:absolute;left:36px;bottom:21px;height:66px;display:flex;align-items:flex-end;gap:4px}.art-books i{display:block;width:15px;height:58px;background:#a5bb91;border-radius:2px;position:relative}.art-books i:after{content:"";position:absolute;left:3px;right:3px;height:2px;background:#ffffff80;top:9px;box-shadow:0 35px 0 #ffffff70}.art-books i:nth-child(2){height:67px;width:19px;background:#c0cbb0}.art-books i:nth-child(3){height:51px;background:#decda9}.art-books i:nth-child(4){height:59px;width:14px;transform:rotate(-12deg);transform-origin:bottom;background:#8ba783;margin-left:9px}.art-books i:nth-child(5){height:45px;width:11px;background:#d4dcbd}.art-plant{position:absolute;bottom:21px;right:29px;width:35px;height:76px}.art-plant b{position:absolute;bottom:0;left:6px;width:25px;height:26px;background:#e0d8bc;border-radius:3px 3px 9px 9px}.art-plant>span{position:absolute;left:18px;bottom:20px;width:2px;height:47px;background:#9ab58e;transform:rotate(7deg)}.art-plant i{position:absolute;width:16px;height:26px;background:#b3c49e;border-radius:80% 0 80% 0;left:4px;top:3px;transform:rotate(-35deg)}.art-plant i:nth-of-type(2){left:20px;top:14px;transform:rotate(20deg);background:#9db38e}.art-plant i:nth-of-type(3){left:7px;top:28px;height:20px;transform:rotate(-58deg)}.art-spark{position:absolute;color:#c2cbaa}.art-spark.one{left:16px;top:20px;font-size:25px}.art-spark.two{right:7px;top:31px;font-size:16px}.desk-aside{padding-top:0}.guide-card{background:#f0f3e9;border:1px solid #e5eadc;border-radius:9px;padding:23px 22px;color:#627352}.card-eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;color:#92a17f;margin-bottom:17px}.card-eyebrow .icon{width:16px;height:16px}.guide-card h3{font-size:17px;letter-spacing:.5px}.guide-card ol{list-style:none;padding:0;margin:25px 0 20px}.guide-card li{display:flex;gap:12px;margin:23px 0}.guide-card li>span{font-size:10px;font-family:"Segoe UI",sans-serif;letter-spacing:.6px;color:#9faa89;padding-top:2px}.guide-card li b{font-size:11px;font-weight:500}.guide-card li p{font-size:9px;color:#9ba68f;line-height:1.9;margin-top:6px}.guide-bottom{border-top:1px solid #dfe6d4;padding-top:17px;font-size:9px;color:#a0ab93;display:flex;justify-content:space-between;align-items:center}.guide-bottom .icon{width:20px;height:20px;stroke-width:1}.backup-tip{border:1px solid #e8e6dc;background:#faf9f3;border-radius:9px;padding:20px 22px;margin-top:17px}.tip-icon{color:#b5a17b}.tip-icon .icon{width:19px;height:19px}.backup-tip h3{font-size:12px;color:#82775e;margin:12px 0 9px}.backup-tip p{font-size:10px;color:#aca38f;line-height:2}.backup-tip .text-btn{font-size:10px;color:#948464;margin-top:12px}.page-footer{display:flex;justify-content:space-between;color:#a8b09f;font-size:9px;letter-spacing:.4px;padding-top:29px;margin-top:13px;border-top:1px solid var(--line)}.page-footer i{width:4px;height:4px;vertical-align:1px}.book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.book-card{min-width:0}.book-cover{width:100%;height:225px;display:flex;flex-direction:column;align-items:center;border:0;border-radius:4px 8px 8px 4px;padding:17px 22px;color:#e4e9d9;background:#697c66;box-shadow:inset 6px 0 0 #ffffff12,inset 8px 0 0 #00000010;position:relative;overflow:hidden}.book-cover:hover{filter:brightness(1.05)}.cover-1{background:#8b8296}.cover-2{background:#a58c6c}.cover-3{background:#6c8790}.cover-top{font-size:7px;letter-spacing:2px;width:100%;display:flex;justify-content:space-between;opacity:.6}.cover-symbol{display:block;margin-top:18px;opacity:.65}.cover-symbol .icon{width:27px;height:27px;stroke-width:1}.cover-title{font-family:var(--serif);font-size:24px;line-height:1.6;letter-spacing:3px;margin:13px 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.cover-genre{font-size:9px;letter-spacing:2px;opacity:.65}.cover-line{height:1px;width:35px;background:currentColor;opacity:.4;position:absolute;bottom:22px}.book-info{padding:14px 1px 6px}.book-info h3{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-info p{color:#9aa392;font-size:10px;margin:8px 0 12px}.book-info p span{margin:0 8px}.book-info>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.book-info small{font-size:9px;color:#a5ae9e}.book-info .text-btn{font-size:10px}.novel-page{padding:26px 28px}.novel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.novel-heading>div:first-child{min-width:0;max-width:65%}.novel-heading h1{font-size:25px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere}.novel-heading p{font-size:11px;color:#8c9788;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:700px}.genre-tag{display:inline-block;vertical-align:middle;background:#e9eee3;color:#88967e;font-size:9px;font-weight:400;padding:2px 7px;border-radius:3px;letter-spacing:0;margin-left:12px}.novel-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.save-state{display:inline-flex;align-items:center;gap:4px;color:#8b9d7e;font-size:10px;white-space:nowrap}.save-state .icon{width:13px;height:13px}.save-state.error{color:#ac5b4f}.writing-layout{display:grid;grid-template-columns:200px minmax(320px,1fr) 224px;min-height:570px;height:calc(100vh - 230px);gap:14px}.chapter-panel,.editor-panel,.inspector{background:white;border:1px solid var(--line);border-radius:8px;min-width:0}.chapter-panel{display:flex;flex-direction:column;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 15px;border-bottom:1px solid #eef1eb;gap:6px}.panel-heading h2{font-size:12px;display:flex;align-items:center;gap:6px}.panel-heading .count{font-size:9px;min-width:17px}.panel-heading h2 .icon{width:16px;height:16px;color:#9baf88}.chapter-list{overflow:auto;flex:1;padding:7px}.chapter-item{border:0;background:transparent;width:100%;padding:15px 8px;display:flex;gap:9px;align-items:flex-start;text-align:left;border-radius:5px;margin-bottom:3px}.chapter-item:hover{background:#f5f7f1}.chapter-item.selected{background:#edf3e8}.chapter-index{color:#a5b198;font-size:10px;padding-top:2px;font-family:"Segoe UI",sans-serif}.chapter-item>span:nth-child(2){flex:1;min-width:0}.chapter-item b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;line-height:1.6}.chapter-item small{display:block;font-size:9px;color:#9da694;margin-top:7px}.chapter-item>.icon{width:13px;height:13px;color:#8da17e}.chapter-panel-footer{padding:15px;border-top:1px solid var(--line);font-size:9px;color:#a1aa97}.mini-empty{padding:28px 12px;font-size:11px;color:#a1a997;line-height:2}.editor-panel{display:flex;flex-direction:column;overflow:hidden}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0e8;padding:9px 15px;gap:8px}.status-select select{border:0;background:#f0f4eb;color:#819373;padding:5px 7px;border-radius:4px;font-size:10px}.toolbar-actions{display:flex;align-items:center;gap:13px}.toolbar-actions .text-btn{font-size:10px;color:#98a38e}.toolbar-actions .icon-btn{width:25px;height:25px}.toolbar-actions .icon{width:15px;height:15px}.editor-paper{padding:30px 34px 0;display:flex;flex-direction:column;flex:1;min-height:0}.chapter-title{width:100%;border:0;background:transparent;font-size:22px;color:#45533d;font-family:var(--serif);font-weight:600;padding:8px 0;flex-shrink:0}.chapter-title:focus{outline:none}.chapter-title:focus-visible{box-shadow:0 1px 0 #97b28a}.paper-rule{height:1px;background:#f0f2eb;margin:16px 0 18px;flex-shrink:0}.chapter-content{width:100%;flex:1;min-height:260px;resize:none;border:0;background:transparent;font-size:15px;color:#4e5848;line-height:2.3;padding:0 6px 22px 0;font-family:var(--sans);overflow-y:auto;tab-size:4}.chapter-content:focus{outline:none}.chapter-content::placeholder{color:#c0c7b8;font-weight:400}.editor-footer{border-top:1px solid #edf0e8;padding:13px 17px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px;color:#a2ac99}.editor-footer .save-state{font-size:9px}.editor-empty,.records-empty,.detail-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;text-align:center;padding:40px 20px;min-height:390px}.editor-empty>.icon,.records-empty>.icon,.detail-placeholder>.icon{width:42px;height:42px;color:#b6c5a9;stroke-width:1;margin-bottom:25px}.editor-empty h2{font-size:18px;color:#78866b}.editor-empty p,.records-empty p,.detail-placeholder p{color:#a3ac9a;font-size:11px;line-height:2;margin:13px 0 25px}.inspector{padding:0 15px 15px;overflow:auto}.inspector>.panel-heading{padding:20px 0}.assistant-intro{font-size:11px;color:#7b8b6f;line-height:1.8;margin:17px 0}.assistant-intro span{font-size:10px;color:#a1ab96}.issue-summary{display:flex;align-items:center;gap:9px;margin:15px 0}.issue-summary>b{font-size:23px;font-weight:400;color:#849671}.issue-summary>span{font-size:10px;color:#a0aa94}.issue-card{background:#faf7ef;border:1px solid #eee7d7;border-radius:5px;padding:12px;margin-bottom:10px;overflow-wrap:anywhere}.issue-card>span{font-size:9px;color:#b5a075}.issue-card h4{font-size:11px;line-height:1.8;margin:7px 0;color:#857657}.issue-card p{font-size:10px;line-height:1.9;color:#a29781;white-space:pre-wrap}.issue-card .text-btn{font-size:9px;margin-top:9px;color:#948264}.issues-clear{background:#f4f7f0;border-radius:6px;text-align:center;padding:21px 12px;margin:14px 0}.issues-clear>.icon{display:block;margin:0 auto 12px;color:#9db68a}.issues-clear b{font-size:10px;font-weight:500;color:#849874}.issues-clear p{font-size:10px;line-height:1.9;color:#a2ae97;margin-top:10px}.inspector-note{display:flex;gap:7px;padding:14px 0 20px;color:#b0b8a5}.inspector-note>.icon{width:13px;height:13px;margin-top:2px}.inspector-note p{font-size:9px;line-height:1.9}.inspector>.btn{font-size:10px;min-height:32px;padding:7px}.focus-mode>.sidebar,.focus-mode .topbar,.focus-mode .novel-heading,.focus-mode .chapter-panel,.focus-mode .inspector{display:none}.focus-mode .writing-layout{display:block;max-width:920px;margin:auto;height:calc(100vh - 52px);min-height:0}.focus-mode .editor-panel{height:100%}.focus-mode .editor-paper{padding:40px 75px 0}.records-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1.2fr);gap:24px}.records-panel,.record-detail{border:1px solid var(--line);background:#fff;border-radius:9px;padding:25px;min-width:0}.records-panel .section-heading{flex-wrap:wrap}.records-panel .section-heading>.btn{font-size:11px;padding:8px 12px}.record-list{display:flex;flex-direction:column;gap:9px}.record-card{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #edf0e8;border-radius:6px;padding:15px 12px;background:#fbfcf8}.record-card.selected{background:#eef3e8;border-color:#d9e3cf}.record-avatar{display:grid;place-items:center;flex-shrink:0;width:37px;height:37px;border-radius:8px;background:#e5ebde;color:#95a581}.record-card>span:nth-child(2){flex:1;min-width:0}.record-card b{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.record-card small{display:block;font-size:10px;color:#a0ac94;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-card>.icon{width:15px;height:15px;color:#b0bca4}.record-detail{padding:28px 32px;min-height:520px}.record-detail-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:14px}.record-detail-top .eyebrow{margin:0}.record-detail-top>div{display:flex;gap:8px}.record-detail>h2{font-size:25px;letter-spacing:1px;overflow-wrap:anywhere}.detail-text{font-size:13px;color:#7c8971;line-height:2.2;white-space:pre-wrap;margin:24px 0 28px;overflow-wrap:anywhere}.detail-block{border-top:1px solid var(--line);padding:19px 0}.detail-block h4{font-size:10px;color:#a2ac95;font-weight:400;letter-spacing:1px;margin-bottom:10px}.detail-block p,.detail-block pre{font-family:var(--sans);font-size:12px;color:#77886a;line-height:2;white-space:pre-wrap;margin:0;overflow-wrap:anywhere}.detail-updated{font-size:9px;color:#b0b8a4;margin-top:26px}.status-tag{display:inline-flex;font-size:10px;padding:5px 9px;border-radius:4px;background:#faf3e2;color:#a89364;margin:15px 12px 0 0}.status-tag.resolved{background:#eaf2e4;color:#82966e}.narrow-page{max-width:1000px;padding-top:46px}.page-subtitle{font-size:12px;line-height:2;color:#949e8c;margin:10px 0 30px}.search-controls{display:flex;align-items:center;gap:12px;margin-bottom:30px}.search-input-wrap{display:flex;gap:12px;align-items:center;flex:1;background:#fff;border:1px solid #dce4d5;border-radius:8px;padding:13px 17px;min-width:0}.search-input-wrap .icon{color:#a4b297;width:19px;height:19px}.search-input-wrap input{border:0;outline:0;min-width:0;width:100%;font-size:13px;background:transparent;color:var(--ink)}.search-input-wrap:focus-within{outline:2px solid #abc19b}.search-input-wrap input:focus{outline:0}.search-controls>select{border:1px solid #dce4d5;background:#fff;border-radius:7px;padding:13px;color:#7a8c6d;max-width:220px;min-height:48px;font-size:12px}.result-count{color:#9ba68f;font-size:11px;margin-bottom:18px}.search-result{display:block;width:100%;text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px 25px;margin-bottom:14px}.search-result:hover{border-color:#b3c6a2}.search-result>span{font-size:9px;color:#9bac8d}.search-result h3{font-size:16px;margin:9px 0 14px;color:#5c7050}.search-result p{font-size:12px;line-height:2;color:#8b9880;white-space:pre-wrap;overflow-wrap:anywhere}.search-result small{display:block;text-align:right;font-size:10px;color:#a1b191;margin-top:14px}.search-result small .icon{width:13px;height:13px}mark{background:#f0e7b9;color:#88733c;border-radius:2px;padding:1px 0}.search-empty{text-align:center;padding:70px 15px;color:#abb59f;font-size:12px;line-height:2}.search-empty>.icon{width:40px;height:40px;stroke-width:1;color:#bfccb3;margin-bottom:20px}.search-empty h3{font-size:17px;font-weight:400;margin-bottom:12px;color:#8b9d7c}.backup-notice{display:flex;gap:15px;padding:21px 24px;border-radius:8px;background:#edf3e7;border:1px solid #e0e9d7;margin:28px 0}.backup-notice>.icon{color:#9ab187}.backup-notice b{font-size:13px;color:#788e65;font-weight:500}.backup-notice p{font-size:11px;color:#98a88b;line-height:2;margin-top:9px}.backup-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}.backup-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:28px}.backup-card>.icon{width:29px;height:29px;color:#a1b78d;stroke-width:1.3;margin-bottom:17px}.backup-card h2{font-size:17px}.backup-card p{font-size:11px;line-height:2.1;color:#9aa78b;margin:13px 0 24px}.backup-card>small{display:block;font-size:9px;color:#adb79f;margin-top:16px}.history-heading{margin-top:36px}.snapshot-list{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden}.snapshot-row{display:flex;gap:13px;align-items:center;padding:18px 23px;border-bottom:1px solid var(--line)}.snapshot-row:last-child{border-bottom:0}.snapshot-row>.icon{color:#a8b79a;width:18px;height:18px}.snapshot-row>div{flex:1}.snapshot-row b{font-size:12px;font-weight:400;color:#7e9070}.snapshot-row small{display:block;font-size:10px;color:#acb69f;margin-top:7px}.history-empty{padding:36px 22px;text-align:center;font-size:11px;color:#a6b299}.dialog{border:1px solid #e1e7da;border-radius:12px;padding:0;width:550px;max-width:calc(100vw - 40px);max-height:85vh;color:var(--ink);box-shadow:0 22px 90px #2536232e;background:#fdfefb;overflow:auto}.dialog::backdrop{background:#24312357;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:23px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fdfefb;z-index:1}.dialog-heading h2{font-size:19px}.dialog-heading .icon-btn{color:#93a186}.dialog-body{padding:23px 28px 5px}.dialog-intro{font-size:12px;line-height:1.9;color:#9ba68f;margin-bottom:24px}.field{display:block;margin-bottom:21px}.field>span{display:block;font-size:12px;color:#7b8d6c;margin-bottom:9px}.field input,.field textarea,.field select{display:block;width:100%;background:#fff;border:1px solid #dfe6d7;border-radius:6px;padding:11px 12px;color:#4a5d3e;font-size:13px;line-height:1.8}.field textarea{resize:vertical;min-height:80px}.field input::placeholder,.field textarea::placeholder{color:#b4bdab;font-size:11px}.field-hint{font-size:10px;line-height:1.9;color:#a2ae95;margin:-9px 0 22px}.dialog-footer{display:flex;gap:10px;justify-content:flex-end;padding:18px 28px 23px;border-top:1px solid var(--line);margin-top:10px}.form-error{color:#b16b5c;font-size:12px;line-height:1.7;padding:0 28px}.form-error:not(:empty){padding-bottom:15px}.delete-warning{display:flex;gap:12px;background:#faf0e9;padding:18px;border-radius:6px;margin-bottom:22px;color:#a47965}.delete-warning p{font-size:12px;line-height:1.9;overflow-wrap:anywhere}.help-content h3{font-size:14px;margin:8px 0 10px}.help-content p{font-size:12px;line-height:2;color:#8b9b7d;margin-bottom:22px}.restore-preview{padding:17px 20px;background:#f1f5eb;border-radius:7px;margin-bottom:22px}.tag{font-size:10px;color:#a0ad91;overflow-wrap:anywhere}.restore-preview h3{font-size:17px;margin:12px 0}.restore-preview ul{list-style:none;margin:0;padding:0;max-height:170px;overflow:auto}.restore-preview li{font-size:12px;color:#819471;padding:6px 0;overflow-wrap:anywhere}.restore-preview li>span{float:right;color:#a1ae92;font-size:10px}.radio-choice{display:flex;gap:11px;align-items:flex-start;margin:18px 0;cursor:pointer}.radio-choice input{accent-color:var(--green);margin-top:3px}.radio-choice b{font-size:12px;font-weight:500;color:#718460}.radio-choice small{display:block;font-size:10px;color:#a3af96;line-height:1.9;margin-top:6px}.error-banner{background:#fff1e9;color:#995e4d;padding:12px 22px;display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.8}.error-banner[hidden]{display:none}.error-banner>span{flex:1}.boot{padding:100px;text-align:center;color:#819473}.boot-error{max-width:700px;margin:100px auto;padding:40px;line-height:2}.boot-error h1{font-size:22px;margin:20px 0}.boot-error p{font-size:14px;color:#8c9a80;margin:12px 0}#toast{position:fixed;left:50%;bottom:30px;max-width:80vw;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#344e3e;color:#f3f7ec;padding:12px 22px;line-height:1.8;border-radius:8px;box-shadow:0 6px 20px #294d3826;font-size:12px;z-index:1000;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#dce4d3;border-radius:4px}::-webkit-scrollbar-track{background:transparent}
@media(min-width:1600px){.page{padding-top:54px}.empty-shelf{min-height:480px}.desk-layout{grid-template-columns:minmax(0,1fr) 285px;gap:32px}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.writing-layout{grid-template-columns:220px minmax(360px,1fr) 250px}.editor-paper{padding:35px 50px 0}.chapter-content{font-size:16px}}
@media(max-width:1250px){.sidebar{width:216px;padding-left:13px;padding-right:13px}.brand b{font-size:14px}.brand small{font-size:7px;letter-spacing:1.3px}.page{padding:30px 28px 20px}.topbar{padding:0 28px}.page-heading h1{font-size:25px}.date-chip{display:none}.desk-layout{grid-template-columns:minmax(0,1fr) 235px;gap:20px}.stat{padding:20px 16px;gap:12px}.stat-icon{width:38px;height:38px}.writing-layout{grid-template-columns:170px minmax(290px,1fr)}.inspector{grid-column:1/-1;max-height:340px;margin-top:5px}.writing-layout{height:auto;min-height:580px}.editor-panel{height:650px}.editor-paper{padding:25px 26px 0}.novel-heading{align-items:flex-start}.novel-actions{max-width:210px}.record-detail{padding:24px}.records-layout{gap:16px;grid-template-columns:minmax(250px,.85fr) minmax(280px,1fr)}.records-panel{padding:20px}.novel-page{padding:23px}}
@media(max-width:1000px){.sidebar{width:195px}.brand{gap:8px;margin-left:0;margin-right:0}.brand-mark{width:30px;height:34px}.brand b{font-size:12px}.brand small{font-size:6px;letter-spacing:1.2px}.workspace-label{font-size:9px}.nav-item{font-size:12px}.page-heading h1{font-size:23px;letter-spacing:0}.page-heading p{font-size:11px}.desk-layout{display:block}.desk-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}.backup-tip{margin:0}.guide-card{padding:20px}.guide-card ol{margin-bottom:0}.guide-card li{margin:16px 0}.guide-bottom{display:none}.stats{gap:12px}.stat{padding:17px 12px;gap:9px}.stat-icon{width:32px;height:32px;border-radius:8px}.stat strong{font-size:24px}.stat>div>span{font-size:9px}.stat strong small{font-size:9px;margin-left:5px}.stat-decoration{display:none}.empty-shelf{min-height:410px}.writing-layout{grid-template-columns:150px minmax(260px,1fr);gap:10px}.novel-heading h1{font-size:22px}.novel-actions{max-width:170px;gap:7px}.novel-actions>.save-state{width:100%;justify-content:flex-end}.editor-toolbar{padding:8px}.toolbar-actions{gap:9px}.toolbar-actions .text-btn{font-size:9px}.records-layout{display:block}.record-detail{margin-top:18px}.record-list{display:grid;grid-template-columns:1fr 1fr}.records-empty{min-height:220px}.record-detail .detail-placeholder{min-height:250px}.backup-card{padding:23px}.narrow-page{padding-top:30px}.narrow-page h1{font-size:25px}}
@media(max-width:720px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:14px 18px;display:block}.brand{margin:0 0 14px}.brand b{font-size:15px}.brand small{font-size:7px}.brand-mark{width:33px}.workspace-label,.sidebar-note,.sidebar-bottom,.nav-divider{display:none}.primary-nav{display:flex;gap:7px}.nav-item{justify-content:center;padding:9px;gap:6px;min-height:36px;font-size:11px;margin:0}.nav-item .icon{width:16px;height:16px}.sidebar nav[aria-label="小说资料"]{display:flex;gap:3px;overflow:auto;margin-top:12px}.sidebar nav[aria-label="小说资料"] .nav-item{flex-shrink:0;width:auto;font-size:10px;padding:9px 6px}.sidebar nav[aria-label="小说资料"] .nav-item .icon{display:none}.topbar{height:50px;padding:0 20px}.top-tools{gap:10px}.top-tools>.text-btn{padding-left:10px;font-size:10px}.local-badge{font-size:9px}.breadcrumb{font-size:10px;gap:6px}.breadcrumb strong{max-width:130px}.page{padding:27px 20px 20px}.page-heading h1{font-size:22px}.eyebrow{font-size:8px;letter-spacing:1.5px}.page-heading p{font-size:10px}.stats{gap:8px;margin-bottom:28px}.stat{padding:17px 10px;min-height:98px;align-items:flex-start}.stat-icon{display:none}.stat strong{font-size:25px}.stat strong small{display:inline-block;font-size:8px}.stat>div>span{font-size:8px}.section-heading>.btn{font-size:11px;padding:9px 12px}.section-heading p{font-size:9px}.empty-shelf h2{font-size:17px}.desk-aside{gap:12px}.guide-card,.backup-tip{padding:17px}.guide-card li{gap:8px}.guide-card li p{font-size:8px}.guide-card h3{font-size:15px}.page-footer{font-size:8px;gap:10px;line-height:1.8}.book-grid{gap:17px}.book-cover{height:205px;padding:17px 15px}.cover-title{font-size:21px}.cover-top{font-size:6px;letter-spacing:1px}.book-info>div{flex-wrap:wrap}.novel-page{padding:20px 15px}.novel-heading{flex-wrap:wrap;margin-bottom:18px;gap:16px}.novel-heading>div:first-child{max-width:100%}.novel-heading h1{font-size:22px}.novel-actions{max-width:100%;width:100%;justify-content:flex-start}.novel-actions>.save-state{width:auto;margin-right:auto}.writing-layout{display:flex;flex-direction:column;height:auto}.chapter-panel{max-height:230px}.chapter-list{display:flex;gap:5px;overflow:auto}.chapter-item{min-width:160px;width:160px}.chapter-panel-footer{padding:10px}.panel-heading{padding:10px 14px}.editor-panel{height:650px;flex:none}.editor-paper{padding:23px 22px 0}.chapter-title{font-size:21px}.chapter-content{font-size:15px}.inspector{max-height:none}.inspector .issue-card{padding:15px}.issue-card p{font-size:12px}.inspector .assistant-intro,.inspector-note p{font-size:11px}.focus-mode .novel-page{padding:0}.focus-mode .writing-layout{height:100vh}.focus-mode .editor-panel{height:100vh}.focus-mode .editor-paper{padding:28px 24px 0}.focus-mode .editor-footer>span:last-child{display:none}.records-panel{padding:18px}.record-list{grid-template-columns:1fr}.record-detail{padding:24px}.backup-cards{grid-template-columns:1fr;gap:14px}.backup-notice{padding:18px}.backup-notice p{font-size:10px}.search-controls{gap:8px}.search-controls>select{max-width:115px;font-size:10px;padding:12px 5px}.search-input-wrap{padding:13px 10px;gap:8px}.search-input-wrap input{font-size:11px}.snapshot-row{padding:16px 14px;gap:8px}.snapshot-row .text-btn{font-size:10px}.dialog-heading{padding:20px}.dialog-body{padding:20px 20px 5px}.dialog-footer{padding:17px 20px 20px}.error-banner{flex-wrap:wrap;padding:12px 16px}.error-banner>span{min-width:200px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep reading text comfortable at standard Windows scaling. */
.page-heading p,.page-subtitle{font-size:13px;color:#768271}
.stat>div>span,.section-heading p{font-size:12px;color:#7f8c76}
.empty-shelf p{font-size:13px;color:#85917b}
.empty-shelf>small{font-size:11px;color:#8d9a81}
.card-eyebrow{font-size:12px;color:#7d8d6d}
.guide-card li b,.backup-tip h3{font-size:13px}
.guide-card li p,.backup-tip p{font-size:11px;color:#829173}
.guide-bottom,.backup-tip .text-btn{font-size:11px}
.storage-note b,.profile b{font-size:12px}
.storage-note small,.profile small{font-size:10px;color:#859379}
.breadcrumb,.top-tools>.text-btn{font-size:12px}
.local-badge{font-size:11px}
.chapter-item b{font-size:13px}
.chapter-item small,.chapter-panel-footer,.save-state{font-size:11px}
.editor-footer{font-size:10px}
.chapter-content{font-size:16px}
.assistant-intro,.issue-summary>span{font-size:12px}
.assistant-intro span,.issue-card>span,.issue-card .text-btn{font-size:11px}
.issue-card h4,.issues-clear b{font-size:12px}
.issue-card p,.issues-clear p{font-size:12px;color:#8f846b}
.inspector-note p{font-size:11px;color:#919d85}
.book-info p,.book-info .text-btn{font-size:12px}
.book-info small{font-size:11px}
@media(max-width:1000px){.stat>div>span{font-size:10px}.chapter-item b{font-size:12px}.chapter-item small{font-size:10px}}
@media(max-width:720px){.page-heading p{font-size:12px}.stat>div>span{font-size:9px}.stat strong small{font-size:9px}.breadcrumb,.top-tools>.text-btn{font-size:10px}.local-badge{font-size:9px}.guide-card li b,.backup-tip h3{font-size:12px}.guide-card li p,.backup-tip p{font-size:11px}}
