.guide-entry{display:flex;align-items:center;gap:13px;text-align:left;background:#fdfdf7;border:1px solid #dce4d2;border-radius:11px;padding:17px 20px;width:100%;margin-bottom:23px;color:var(--green);min-height:72px}.guide-entry:hover{background:#eef3e7}.guide-entry span{flex:1}.guide-entry strong{display:block;font-size:15px;font-weight:500}.guide-entry small{display:block;font-size:11px;color:#6c7b61;line-height:1.7;margin-top:5px}.help-guide{display:flex;flex-direction:column;padding:0;border:1px solid var(--border);border-radius:16px;background:#fdfdf8;color:#374432;width:min(780px,calc(100% - 40px));height:min(920px,calc(100dvh - 40px));max-width:none;max-height:none;box-shadow:0 15px 70px #182f3525;overflow:hidden}.help-guide:not([open]){display:none}.help-guide::backdrop{background:#27393277;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.guide-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 28px 17px;flex-shrink:0;border-bottom:1px solid var(--border)}.guide-header .eyebrow{font-size:9px;margin-bottom:6px}.guide-header h2{font-family:var(--serif);font-size:24px;font-weight:500;margin:0;line-height:1.6}.guide-header .secondary{padding:11px 12px;font-size:12px;flex-shrink:0}.guide-first-notice{display:flex;align-items:flex-start;gap:9px;background:#edf2e6;color:#4b6341;padding:13px 28px;font-size:12px;line-height:1.8;flex-shrink:0}.guide-first-notice svg{flex-shrink:0;margin-top:2px}.guide-first-notice p{margin:0}.guide-tabs{display:flex;padding:10px 28px;gap:8px;background:#f5f6ee;border-bottom:1px solid var(--border);flex-shrink:0}.guide-tabs button{flex:1;min-height:44px;border-radius:8px;font-size:14px;color:#6d7b60}.guide-tabs button.active{background:var(--green);color:#fff}.guide-scroll{overflow-y:auto;overscroll-behavior:contain;padding:28px;min-height:0;flex:1;scroll-padding:20px}.guide-section-title{font-size:13px;color:#617356;font-weight:500;letter-spacing:1px;margin:0 0 20px}.guide-warning{background:#f5efdf;border:1px solid #e6dac0;border-radius:11px;padding:19px 21px;color:#665a3f;margin-bottom:30px}.guide-warning h4{font-size:16px;margin:0 0 13px;font-weight:600;line-height:1.7}.guide-warning p,.guide-warning li{font-size:14px;line-height:1.9}.guide-warning ul{margin:0;padding-left:22px}.guide-warning li+li{margin-top:7px}.guide-warning p{margin:0}.guide-article{font-size:15px;line-height:1.95;color:#4c5845;overflow-wrap:anywhere}.guide-article h2,.guide-article h3,.guide-article h4{font-family:var(--serif);font-weight:500;color:#304b36;line-height:1.7;scroll-margin-top:20px}.guide-article h2{font-size:23px;margin:0 0 25px}.guide-article h3{font-size:21px;margin:32px 0 20px;padding-top:25px;border-top:1px solid var(--border)}.guide-article h4{font-size:19px;margin:32px 0 18px;padding-top:23px;border-top:1px solid var(--border)}.guide-article p{margin:0 0 18px;white-space:pre-line}.guide-article ol,.guide-article ul{margin:0 0 22px;padding-left:25px}.guide-article li{padding-left:3px;margin-bottom:11px}.guide-article li ul,.guide-article li ol{margin-top:13px;margin-bottom:5px}.guide-article strong{font-weight:600;color:#295b4e;background:#ecf1e4;padding:2px 0}.guide-article code{font-size:13px;background:#edf0e5;padding:3px 5px;border-radius:4px;white-space:normal}.guide-copy{margin:-3px 0 24px;min-height:46px;max-width:100%;text-align:left;font-size:13px}.guide-bottom-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--border);margin-top:32px;padding-top:24px;padding-bottom:8px}.guide-bottom-nav .text-button{margin-left:auto;padding:8px}.guide-confirm{padding:15px 28px max(18px,env(safe-area-inset-bottom));border-top:1px solid #dce5d2;background:#f1f5ea;flex-shrink:0}.guide-confirm label{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.8;margin:0 0 10px;font-weight:500;min-height:30px}.guide-confirm input{width:22px;height:22px;margin:0;flex-shrink:0;accent-color:var(--green)}.guide-confirm .primary{font-size:14px;min-height:46px}.guide-copy-result{display:flex;align-items:center;gap:10px;padding:13px 28px;background:#e9f2e2;border-top:1px solid #cbdcc0;color:#295b4e;font-size:13px;line-height:1.8;flex-shrink:0}.guide-copy-result.failed{background:#fff0e9;color:#924f3b}.guide-copy-result span{flex:1}.guide-copy-result .text-button{color:inherit;flex-shrink:0;font-size:12px;padding:0 7px}.guide-scroll:focus{outline-offset:-3px}@media(max-width:640px){.help-guide{position:fixed;inset:0;margin:0;width:100%;height:100dvh;border:0;border-radius:0}.guide-header{padding:17px 18px 13px}.guide-header h2{font-size:22px}.guide-header .secondary{font-size:11px;padding:10px;gap:5px}.guide-header .eyebrow{font-size:8px;letter-spacing:1.5px}.guide-tabs{padding:9px 16px;gap:7px}.guide-tabs button{font-size:13px;min-height:44px}.guide-scroll{padding:23px 20px}.guide-first-notice{padding:10px 20px;font-size:11px}.guide-warning{padding:17px 16px}.guide-warning li,.guide-warning p{font-size:14px}.guide-article{font-size:15px}.guide-article h2{font-size:22px}.guide-article h3{font-size:20px}.guide-article h4{font-size:18px}.guide-confirm{padding:12px 18px max(16px,env(safe-area-inset-bottom))}.guide-confirm label{font-size:12px}.guide-confirm .primary{font-size:13px}.guide-copy-result{padding:10px 18px;font-size:12px}.guide-bottom-nav{gap:8px}.guide-bottom-nav .secondary{font-size:12px;padding:10px 13px}.guide-bottom-nav .text-button{margin-left:0;font-size:12px}.guide-entry{padding:15px 16px;margin-bottom:19px}.guide-entry small{font-size:10px}}@media(max-width:640px){.guide-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.guide-tabs button{min-width:0}}.workspace-editor .import-inputs,.workspace-editor .import-options{border:0;padding:0;max-height:none;overflow:visible;min-width:0}.import-candidate{border:1px solid var(--border);border-radius:9px;padding:13px;margin:15px 0;overflow-wrap:anywhere}.import-candidate p,.import-preview>p{font-size:12px;line-height:1.9}.import-candidate .check-row{align-items:flex-start}.import-candidate input[type=checkbox]{margin-top:3px}.import-candidate strong{font-weight:500}.import-candidate code{font-size:10px;overflow-wrap:anywhere}.workspace-editor .ai-import-panel pre{font-size:13px;line-height:1.9;white-space:pre-wrap;max-height:320px;overflow:auto;background:#f5f7ef;padding:12px;border-radius:6px}.import-field h4{font-size:14px;margin:18px 0 10px}.import-save-bar{position:sticky;bottom:12px;z-index:12;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--border);border-radius:9px;background:#f7faf1;box-shadow:0 2px 14px #263c2026}.import-save-bar span{font-size:11px;line-height:1.8}.ai-import-panel .map-notice button{margin-top:12px}.import-preview .review-notice{padding:10px}.import-preview .import-options:disabled{opacity:.7}@media(max-width:640px){.import-save-bar{position:fixed;left:12px;right:12px;bottom:calc(73px + env(safe-area-inset-bottom));gap:6px;padding:9px}.import-save-bar .primary{padding:12px 10px;font-size:12px;white-space:nowrap;flex-shrink:0}.import-save-bar span{font-size:10px}.import-candidate{padding:11px}.ai-import-panel{padding-bottom:110px!important}}.findings-panel{margin-bottom:30px}.finding-counts,.finding-entry{padding:12px;background:#f4ecda;border:1px solid #e3d3b1;border-radius:8px;line-height:1.9}.finding-entry{display:block;width:100%;text-align:left;font-size:13px;color:#72542c;margin:12px 0}.finding-card{border:1px solid #d6ddce!important;background:#f5f7f0;border-radius:9px;margin:16px 0;padding:0!important;overflow-wrap:anywhere}.finding-card>summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px;min-height:50px}.finding-card>summary small{width:100%;font-size:11px}.finding-outline{border-color:#dbc496!important;background:#faf3e1}.finding-canon{border-color:#cc9e8b!important;background:#fbede6}.finding-mark{display:inline-grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:20px;height:20px;font-weight:700;flex-shrink:0}.finding-status{font-size:11px;background:#fff9;padding:4px 7px;border-radius:5px}.finding-detail{padding:0 16px 18px}.finding-detail p{font-size:13px;line-height:1.9}.finding-detail h3{font-size:15px;margin:18px 0 10px}.finding-related,.finding-actions{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}.finding-detail small{display:block;line-height:1.9}.finding-node-notice{margin-bottom:18px}.finding-import-notice{margin:12px 0;padding:14px;border:1px solid #dfcca8;border-radius:8px;background:#faf0d9}.finding-import-notice p{font-size:13px;line-height:1.8}.finding-import-notice .secondary{margin-top:8px}@media(max-width:640px){.finding-actions button{flex:1 1 110px}.finding-related .secondary{width:100%}.finding-detail{padding:0 12px 15px}}.story-reader{max-width:760px;margin:0 auto;color:#283c32;overflow-wrap:anywhere}.reader-header{padding-bottom:28px;border-bottom:1px solid var(--border)}.reader-header h1{font-family:var(--serif);font-size:30px;line-height:1.7;margin:24px 0}.reader-header p{font-size:13px;line-height:1.9}.reader-header .reader-small{font-size:11px;color:#71816c}.reader-stats{padding:14px;background:#ecf1e5;border-radius:8px}.reader-toc summary{cursor:pointer;min-height:44px;line-height:2.5}.reader-toc nav{display:grid;gap:8px;padding:12px}.reader-toc a{color:var(--green);text-decoration:underline;min-height:44px;padding:10px}.reader-heading{scroll-margin-top:16px;margin:46px 0 28px}.reader-chapter{padding-top:24px;border-top:1px solid var(--border)}.reader-heading h2{font-family:var(--serif);font-size:25px;line-height:1.8}.reader-section h2{font-size:19px}.reader-scene{margin:32px 0 46px;scroll-margin-top:18px}.reader-scene h3{font-family:var(--serif);font-size:18px;font-weight:500;margin-bottom:23px;line-height:1.9}.reader-body{font-family:var(--serif);font-size:18px;line-height:2.15;letter-spacing:.035em;white-space:pre-wrap;line-break:strict;overflow-wrap:anywhere}.reader-unwritten{color:#7c8778;font-size:13px}.reader-memo{padding:16px;border-left:3px solid #c9d7be;background:#f0f3e9;font-size:13px;line-height:1.9;white-space:pre-wrap}.reader-edit{margin-top:20px;opacity:.8}.story-reader footer{margin:34px 0}.story-reader select{font-size:16px}@media(max-width:640px){.reader-header h1{font-size:26px}.reader-heading h2{font-size:23px}.reader-body{font-size:17px;line-height:2.1}.reader-scene{margin-bottom:40px}}.workspace-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.workspace-nav button{border:1px solid var(--border);background:#fdfdf8;min-height:44px;padding:10px 13px;border-radius:8px;font-size:12px}.workspace-nav .active{background:var(--green);color:#fff}.workspace-columns{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.5fr);gap:20px;align-items:start}.map-panel{padding:18px;position:sticky;top:15px;max-height:90dvh;overflow:auto}.map-panel .section-heading h2{display:flex;align-items:center;gap:8px}.story-tree{list-style:none;padding:0;margin:15px 0 0}.story-tree .story-tree{padding-left:10px;margin:5px 0;border-left:1px solid #d2dfc6}.story-tree li{min-width:0;margin:7px 0}.story-tree button{display:block;width:100%;text-align:left;border:1px solid var(--border);border-radius:8px;background:#fdfdf7;padding:12px;overflow-wrap:anywhere}.story-tree button.selected{background:#e7f0df;border-color:#8aa879}.story-tree strong{display:block;font-size:13px;line-height:1.8;font-weight:500}.story-tree small{display:block;font-size:9px;line-height:1.9;color:#728465}.node-kind{font-size:9px;color:#748967}.story-tree em{display:inline-block;font-style:normal;font-size:10px;padding:3px 5px;background:#dbe9ce;margin:4px 3px 0 0}.story-tree em.review-badge{background:#f6e6c6;color:#8b6331}.story-tree summary{display:flex;align-items:center;gap:5px;cursor:pointer}.story-tree summary:before{content:"▸";font-size:12px}.story-tree details[open]>summary:before{content:"▾"}.workspace-editor{min-width:0;scroll-margin-top:15px}.workspace-editor>.panel,.node-editor>.panel{margin-bottom:18px}.workspace-editor h2{font-family:var(--serif);font-size:23px;font-weight:500;line-height:1.7}.workspace-editor h3{font-size:17px;font-weight:500;line-height:1.7}.workspace-editor .panel{padding:24px}.workspace-editor form{margin-top:20px}.workspace-editor textarea{font-size:14px}.workspace-editor details{padding:12px 0;border-top:1px solid var(--border);overflow-wrap:anywhere}.workspace-editor summary{font-size:12px;line-height:1.9;cursor:pointer;min-height:44px}.workspace-editor summary small{display:block;color:#87977d}.workspace-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.8;max-height:500px;overflow:auto}.workspace-editor details p,.workspace-editor details li{font-size:12px;line-height:1.9}.editor-back{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.editor-back span{font-size:9px;color:#859575}.editor-path{font-size:11px;color:#6e835f;line-height:1.8;overflow-wrap:anywhere}.current-location,.map-progress{font-size:11px;line-height:1.9;color:#627d51;margin-top:15px;overflow-wrap:anywhere}.map-notice{font-size:12px;line-height:1.9;color:#426338;background:#eaf2df;border-radius:8px;padding:12px 15px;overflow-wrap:anywhere}.review-notice{padding:13px;background:#f6edd9;font-size:12px;line-height:1.9;border-radius:8px;margin-bottom:18px}.review-notice button{margin-top:10px}.workspace-editor fieldset{border:1px solid var(--border);border-radius:8px;padding:15px;margin:20px 0;max-height:300px;overflow:auto}.workspace-editor legend{font-size:12px;color:#6d805c}.check-row{display:flex;gap:9px;align-items:center;font-size:12px;line-height:1.8;font-weight:400;min-height:44px;margin:6px 0}.check-row input{width:20px;height:20px;margin:0;flex-shrink:0;accent-color:var(--green)}.adopt-button{margin-top:15px}.preserve-text{white-space:pre-wrap;overflow-wrap:anywhere}.add-node{padding:16px 0;border-bottom:1px solid var(--border);margin-bottom:20px}.add-node input,.add-node select{font-size:13px}.thread-list{display:flex;gap:8px;flex-wrap:wrap}.longform-home-button{margin-bottom:20px;width:100%}.unbacked-warning{font-size:11px;color:#8b673c;background:#f6edda;border:1px solid #e4d6b5;padding:12px 16px;border-radius:9px;line-height:1.9;margin-bottom:20px}.backup-clean{font-size:10px;color:#6f8260;margin-bottom:15px}@media(max-width:1000px){.workspace-columns{grid-template-columns:1fr}.map-panel{position:static;max-height:none}.workspace-editor .panel{padding:21px}.story-tree strong{font-size:14px}.story-tree small{font-size:11px}.story-tree .story-tree{padding-left:13px}}@media(max-width:640px){.workspace-nav{gap:6px}.workspace-nav button{font-size:11px;padding:10px}.workspace-editor input:not([type=checkbox]),.workspace-editor select,.workspace-editor textarea,.add-node input,.add-node select{font-size:16px}.workspace-editor .form-columns{grid-template-columns:1fr}.workspace-editor textarea{line-height:1.9}.workspace-editor .panel{padding:18px}.editor-back{flex-wrap:wrap;gap:4px}.story-tree .story-tree{padding-left:9px}.map-panel{padding:15px}.workspace-editor .accept-confirm .primary{margin-top:9px}.map-notice,.unbacked-warning{font-size:11px}}.accepted-content{background:#edf3e6;border:1px solid var(--border);border-radius:8px;padding:16px;margin-top:18px;overflow-wrap:anywhere}.accepted-content p{font-size:12px;line-height:1.9}.node-save-toolbar{position:sticky;top:8px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f9fbf5;border:1px solid var(--border);padding:10px;border-radius:8px}.node-save-toolbar span{font-size:11px}.node-editor form>.draft-fields{border:0;padding:0;margin:0;max-height:none;overflow:visible;min-width:0}.node-editor .draft-fields:disabled{opacity:.7}@media(max-width:640px){.node-save-toolbar{position:fixed;top:auto;bottom:calc(72px + env(safe-area-inset-bottom));left:12px;right:12px;box-shadow:0 2px 14px #263c2026}.node-editor{padding-bottom:90px}.node-save-toolbar .primary{min-height:44px;padding:10px 16px}}.creation-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 20px}.creation-steps button{min-width:0;min-height:88px;padding:16px;text-align:left;border:1px solid #d3dfcc;border-radius:10px;background:#eaf0e2;color:var(--green);overflow-wrap:anywhere}.creation-steps strong{display:block;font-size:15px;line-height:1.8}.creation-steps small{display:block;font-size:11px;line-height:1.8}.context-consult{border:1px solid var(--border);border-radius:9px;padding:16px;margin:10px 0 18px;background:#edf3e6;overflow-wrap:anywhere}.context-consult p,.consistency-panel p,.creation-welcome p{font-size:13px;line-height:1.9}.consistency-panel h3{margin-top:24px}.creation-welcome h1{font-family:var(--serif);font-size:25px;font-weight:500;line-height:1.8}.creation-welcome{padding:24px}.creation-welcome .primary{margin-top:16px}.mobile-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-nav button:focus-visible,.creation-steps button:focus-visible{outline:2px solid var(--green);outline-offset:3px}@media(max-width:640px){.creation-steps{gap:6px}.creation-steps button{padding:10px 7px;min-height:108px}.creation-steps strong{font-size:12px}.creation-steps small{font-size:10px}.context-consult{padding:13px}.creation-welcome{padding:18px}}.creation-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.memory-panel p{font-size:13px;line-height:1.9;overflow-wrap:anywhere}.memory-proposal{border:1px solid var(--border);padding:16px;border-radius:10px;margin:18px 0;overflow-wrap:anywhere}.memory-panel .draft-fields{border:0;padding:0;margin:0;max-height:none;overflow:visible}.memory-panel input:not([type=checkbox]),.memory-panel textarea,.memory-panel select{min-width:0;width:100%}.memory-panel h3{margin-top:20px}.memory-panel details .primary{width:100%}@media(max-width:640px){.creation-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.creation-steps button{min-height:84px}.memory-proposal{padding:13px}}.storage-panel{border:1px solid var(--border);border-radius:10px;background:#f8f9f1;padding:4px 16px;margin-bottom:20px;overflow-wrap:anywhere}.storage-panel summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:13px;line-height:1.8}.storage-panel p{font-size:12px;line-height:1.9;margin:12px 0}.storage-panel h2{font-size:16px;line-height:1.8;margin:24px 0 12px}.storage-panel h3{font-size:14px;line-height:1.8;margin:12px 0}.storage-panel .storage-total{font-size:22px;color:var(--green)}.storage-panel dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;font-size:12px;line-height:1.8}.storage-panel dt,.storage-panel dd{margin:0;overflow-wrap:anywhere}.storage-panel dd{text-align:right}.storage-project{border-top:1px solid var(--border);padding:12px 0}.storage-warning{background:#f6edd9;padding:12px;border-radius:8px;color:#755526}.storage-panel button{min-height:44px}@media(max-width:640px){.storage-panel{padding:4px 13px}.storage-panel dl{grid-template-columns:1fr;gap:2px}.storage-panel dd{text-align:left;margin-bottom:10px}}:root{font-family:Arial,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif;color:#2e3935;background:#f7f6f0;font-synthesis:none;font-weight:400;--green:#295b4e;--muted:#7b837c;--border:#e6e8df;--serif:Georgia,"Yu Mincho","Hiragino Mincho ProN",serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button,a,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #83ada0;outline-offset:3px}a{color:inherit;text-decoration:none}button svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}input,textarea,select{width:100%;border:1px solid #dce1d7;border-radius:9px;padding:12px 13px;background:#fff;color:#2e3935;min-width:0}textarea{resize:vertical;line-height:1.75}input::placeholder,textarea::placeholder{color:#939890}label{display:block;font-size:13px;font-weight:600;margin-bottom:20px}label input,label textarea,label select{display:block;margin-top:9px;font-weight:400}select{cursor:pointer}hr{border:0;border-top:1px solid var(--border);margin:22px 0}.app-shell{min-height:100dvh;display:flex}.sidebar{width:246px;flex-shrink:0;background:#fcfcf8;border-right:1px solid var(--border);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:34px 23px 20px}.brand{display:flex;align-items:center;gap:11px;font-size:21px;letter-spacing:3px;font-family:var(--serif);font-weight:600}.brand small{display:block;font-family:Arial,sans-serif;font-size:8px;letter-spacing:2px;margin-top:7px;color:#7c877d}.brand-mark{width:43px;height:45px;background:var(--green);color:#f7f6f0;border-radius:12px;display:grid;place-items:center;font-family:var(--serif);font-weight:400;font-size:27px;letter-spacing:0}.sidebar-label{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.7px;color:#979d91;margin:49px 3px 14px}.sidebar-label span{font-size:8px;background:#edf1e8;border-radius:4px;padding:4px 6px;color:#738770;letter-spacing:1px}.project-select{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:9px;background:#fff;padding-left:11px;color:var(--green)}.project-select select{border:0;background:transparent;padding:12px 6px;font-size:12px;font-weight:600}.new-project{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;color:#8a9286;width:100%;padding:13px 0;margin-bottom:26px;min-height:44px}.desktop-nav{display:grid;gap:8px}.desktop-nav button{display:flex;align-items:center;gap:13px;text-align:left;border-radius:9px;padding:13px 14px;color:#828b7e;font-size:13px;min-height:46px}.desktop-nav button.active{background:#e8eee3;color:var(--green);font-weight:600}.desktop-nav button:hover:not(.active){background:#f1f3ec}.nav-count{margin-left:auto;display:grid;place-items:center;min-width:21px;height:21px;border-radius:6px;background:#d8e3ce;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:36px}.local-note{display:flex;gap:9px;padding:16px 0;border-top:1px solid var(--border);font-size:10px;color:#6b7b68;line-height:1.5}.local-note small{display:block;color:#969c90;font-size:9px;margin-top:4px}.sidebar-bottom .text-button{margin-top:10px;font-size:11px;color:#879080}.version{display:block;color:#a5ab9d;font-size:8px;letter-spacing:1.3px;margin:22px 0 0 4px}.main-area{margin-left:246px;width:calc(100% - 246px);min-height:100dvh;display:flex;flex-direction:column}.topbar{height:81px;display:flex;align-items:center;justify-content:space-between;padding:0 44px;border-bottom:1px solid var(--border);gap:16px;background:#f7f6f0}.breadcrumb{display:flex;align-items:center;gap:12px;min-width:0;font-size:11px;color:#929a8c}.breadcrumb strong{font-size:11px;font-weight:500;color:#68745f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb>span{flex-shrink:0}.topbar-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}.save-state{font-size:10px;display:flex;align-items:center;gap:7px;color:#7d8973}.status-dot{width:6px;height:6px;border-radius:50%;background:#85a77b}.status-dot.working{background:#c6a464}.status-dot.failed{background:#bd695c}.icon-button{display:grid;place-items:center;border:1px solid var(--border);width:36px;height:36px;border-radius:9px;color:#77836d;background:#fcfcf8}.icon-button:hover{background:#e8eee3}main{width:100%;max-width:1340px;margin:0 auto;padding:45px 44px 28px;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:31px}.eyebrow{font-size:9px;letter-spacing:2.3px;color:#879679;font-weight:600;margin-bottom:13px}.page-heading h1{font-size:29px;letter-spacing:1.4px;font-family:var(--serif);font-weight:500;line-height:1.6;margin-bottom:8px}.page-description{font-size:12px;line-height:1.8;color:#8a9183;margin-bottom:0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 18px;border-radius:8px;font-size:12px;font-weight:600;line-height:1.5}.primary{background:var(--green);color:#fff;box-shadow:0 3px 4px #244f4710}.primary:hover:not(:disabled){background:#1d463b}.secondary{background:#f5f7f1;border:1px solid #dce3d4;color:var(--green)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--green);font-size:11px;min-height:40px;padding:5px 0}.text-button:hover:not(:disabled){text-decoration:underline}.story-banner{background:#eaf0e2;border:1px solid #e1e7d7;border-radius:14px;position:relative;display:flex;overflow:hidden;min-height:261px;justify-content:space-between}.story-banner-content{padding:29px 32px;z-index:1;max-width:70%;min-width:0}.pill{display:inline-flex;align-items:center;gap:7px;font-size:9px;color:#70835f;background:#f4f7eea6;border:1px solid #dde6d2;border-radius:30px;padding:6px 11px}.tiny-dot{width:4px;height:4px;background:#8aa67c;border-radius:50%}.story-banner h2{font-family:var(--serif);font-size:26px;font-weight:500;margin:18px 0 12px;letter-spacing:1.3px;overflow-wrap:anywhere}.story-banner p{color:#7d8b6f;font-size:11px;line-height:1.9;white-space:pre-wrap;margin-bottom:12px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.banner-link{display:flex;align-items:center;gap:12px;font-size:11px;color:#50714e;padding:6px 0;min-height:35px}.book-art{position:relative;width:230px;min-width:180px;align-self:stretch;margin-right:35px}.art-orbit{width:205px;height:205px;border-radius:50%;border:1px solid #d7e2ca;position:absolute;top:28px;right:0}.art-orbit:after{content:"";position:absolute;inset:17px;border:1px dashed #d2deca;border-radius:50%}.art-book{width:108px;height:154px;position:absolute;top:55px;right:53px;background:#faf9ee;transform:rotate(12deg);border-radius:3px 8px 8px 3px;box-shadow:5px 5px #d7dfca,6px 6px #bfcdb0,10px 13px 20px #6c856028;border:1px solid #d7ddc7;display:flex;flex-direction:column;align-items:center;padding-top:28px}.art-book:before{content:"";position:absolute;left:9px;top:0;bottom:0;border-left:1px solid #d6ddc6}.book-line{width:22px;height:1px;background:#8ca57a;margin-bottom:13px}.book-title{font-family:var(--serif);font-size:15px;line-height:1.7;text-align:center;color:#6e805d;letter-spacing:3px}.book-seal{font-family:var(--serif);font-size:11px;width:22px;height:22px;border:1px solid #b4c3a5;color:#8ba077;border-radius:50%;display:grid;place-items:center;margin-top:11px}.book-shadow{position:absolute;width:120px;height:20px;right:36px;top:213px;background:#bbcdae45;border-radius:50%;filter:blur(7px)}.art-spark{position:absolute;color:#9eb58c;font-size:24px}.spark-one{top:48px;right:15px}.spark-two{top:176px;right:192px;font-size:18px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:23px 0 34px}.stat-card{background:#fffef9;border:1px solid var(--border);border-radius:12px;padding:18px 22px 15px;text-align:left;transition:transform .15s}.stat-card:hover{transform:translateY(-2px)}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#9aa38f}.stat-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px}.canon .stat-icon{background:#edf2e7;color:#708c61}.pending .stat-icon{background:#f9eee6;color:#bd987a}.archived .stat-icon{background:#efeeea;color:#909489}.stat-value{display:flex;align-items:baseline;gap:13px;font-family:var(--serif);font-size:32px;line-height:1.5;margin-top:8px}.stat-value span{font-family:Arial,sans-serif;font-size:13px;letter-spacing:.4px;color:#79816e}.stat-card p{font-size:10px;color:#9a9f91;margin:1px 0 0}.overview-lower{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:26px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.section-heading h2{font-size:14px;font-weight:500;margin:0}.section-heading h2 span{font-size:8px;font-weight:400;letter-spacing:1.5px;color:#a1a694;margin-left:12px}.empty-recent{border:1px dashed #dce2d1;border-radius:12px;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px 15px}.empty-icon{background:#edf0e5;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;color:#92a37f;margin-bottom:14px}.empty-recent h3{font-family:var(--serif);font-size:15px;font-weight:500;margin-bottom:9px}.empty-recent p{font-size:10px;color:#949b8a;line-height:1.9;margin-bottom:7px}.handoff-card{border-radius:13px;border:1px solid #e8e5d9;background:#f0efe6;padding:25px 25px 17px;position:relative;margin-top:7px}.handoff-icon{position:absolute;right:22px;top:25px;color:#9b9e7e}.handoff-card .eyebrow{font-size:8px;letter-spacing:1.2px;color:#a0a487;margin:1px 0 15px}.handoff-card h2{font-family:var(--serif);font-size:22px;line-height:1.6;letter-spacing:1.6px;font-weight:500;margin-bottom:10px}.handoff-card>p:not(.eyebrow){font-size:10px;color:#999d87;line-height:1.9;margin-bottom:5px}.provider-tags{display:flex;align-items:center;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #e0e1d2;font-size:8px;color:#8e947b}.provider-tags span{background:#f8f8ef;padding:4px 8px;border:1px solid #e1e3d5;border-radius:4px}.provider-tags small{font-size:8px;margin-left:auto}.flow-note{display:flex;align-items:center;justify-content:center;gap:9px;font-size:9px;color:#9ba38e;margin:30px 0 10px;line-height:1.9}.flow-note strong{font-weight:500;color:#819174}.footer{display:flex;justify-content:space-between;gap:12px;padding:19px 44px;font-size:8px;letter-spacing:.4px;border-top:1px solid var(--border);color:#a5aa9b}.mobile-nav{display:none}.recent-list{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fffef9}.recent-row{width:100%;display:flex;align-items:center;gap:12px;padding:17px 16px;text-align:left;border-bottom:1px solid var(--border);color:#929c86}.recent-row:last-child{border-bottom:0}.recent-row:hover{background:#f3f5ed}.row-icon{background:#eef2e5;color:#849575;padding:9px;border-radius:9px;display:grid;place-items:center}.row-icon.pending{background:#f6ece2;color:#b19273}.row-icon.archived{background:#efeeea;color:#8e9486}.recent-text{flex:1;min-width:0}.recent-text strong{display:block;font-size:12px;font-weight:500;color:#48543f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-text small{display:block;font-size:9px;color:#959e8a;margin-top:7px}.status-tag{display:inline-flex;align-items:center;font-size:9px;padding:5px 9px;border-radius:5px;flex-shrink:0;background:#edf2e5;color:#6f875f}.status-tag.pending{background:#f7ece1;color:#ac8d6c}.status-tag.archived{background:#eeefea;color:#8d9385}.heading-count{font-family:Arial,sans-serif;font-size:13px;background:#e8eddf;display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:29px;vertical-align:middle;margin-left:15px;border-radius:8px;color:#849572;letter-spacing:0}.filter-bar{display:flex;gap:12px;margin-bottom:25px}.filter-bar>select{width:160px;font-size:12px}.search{display:flex;align-items:center;gap:9px;border:1px solid #dce1d7;border-radius:9px;background:#fff;padding-left:14px;color:#9aa68e;margin-bottom:0;flex:1;max-width:480px}.search input{border:0;background:none;font-size:12px;padding:13px 9px;margin:0}.entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.entry-card{border:1px solid var(--border);background:#fffef9;border-radius:12px;padding:21px;text-align:left;min-width:0}.entry-card:hover{border-color:#afbea1;background:#fff}.entry-card-top{display:flex;justify-content:space-between;align-items:center;color:#939b87;margin-bottom:15px}.entry-card h2{font-family:var(--serif);font-size:18px;font-weight:500;line-height:1.6;margin-bottom:10px;overflow-wrap:anywhere}.entry-card>p{font-size:12px;line-height:1.8;color:#8a9480;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:65px}.entry-card-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding-top:13px;font-size:9px;color:#99a18e}.entry-card-bottom>span:last-child{display:flex;align-items:center;gap:7px}.empty-state{text-align:center;border:1px dashed #dce2d1;border-radius:14px;padding:60px 20px;display:flex;align-items:center;flex-direction:column;background:#fafaf4}.empty-state h2{font-size:21px;font-family:var(--serif);font-weight:500;line-height:1.7;margin-bottom:10px}.empty-state p{font-size:12px;color:#8b9680;line-height:1.8;margin-bottom:24px}.handoff-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:start}.panel{padding:27px;border:1px solid var(--border);border-radius:13px;background:#fffef9}.step-heading{display:flex;align-items:center;gap:12px;margin-bottom:19px}.step-heading>span{font-family:var(--serif);font-size:19px;color:#9baf8c}.step-heading h2{font-size:16px;font-weight:500;margin:0}.muted{font-size:12px;color:#8c9681;line-height:1.9;margin-bottom:22px}.handoff-preview{background:#f7f8f1;font-size:11px;color:#6e7d5f}.full-width{width:100%}.field-hint{font-size:10px;color:#96a088;line-height:1.8;margin:12px 0 0}.return-panel{background:#f0f2e8}.return-illustration{color:#97ad87;margin:20px 0 23px}.return-panel h3{font-family:var(--serif);font-size:20px;font-weight:500;line-height:1.7}.privacy-note{display:flex;align-items:flex-start;gap:9px;border-top:1px solid #dce2d1;margin-top:30px;padding-top:20px;color:#8f9c81}.privacy-note svg{flex-shrink:0}.privacy-note p{font-size:10px;line-height:1.9;margin:0}.error-banner{border:1px solid #e4bcb3;background:#fff1ed;color:#985849;border-radius:9px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;line-height:1.8;margin-bottom:25px}.error-banner .text-button{color:#985849;flex-shrink:0}.toast{position:fixed;left:calc(50% + 123px);bottom:28px;transform:translate(-50%);z-index:10;background:#2f5749;color:#fff;border-radius:10px;padding:14px 18px;box-shadow:0 7px 30px #173b4420;display:flex;align-items:center;gap:10px;font-size:12px;max-width:90vw;width:max-content}.toast button{display:grid;place-items:center;padding:4px;color:#bbcebb;margin-left:6px}.dialog{border:1px solid #e1e5d8;border-radius:16px;background:#fdfdf8;padding:27px;width:min(560px,calc(100% - 28px));max-height:85dvh;color:inherit;box-shadow:0 15px 70px #182f3525}.dialog::backdrop{background:#27393266;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:flex-start;gap:15px;justify-content:space-between;margin-bottom:22px}.dialog-header h2{font-family:var(--serif);font-size:23px;font-weight:500;line-height:1.6;margin:0;overflow-wrap:anywhere}.dialog-header .icon-button{flex-shrink:0}.required{font-size:9px;margin-left:8px;font-weight:400;color:#a68d75}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-actions{display:flex;justify-content:flex-end;gap:10px}.form-error{color:#a76353;font-size:12px;line-height:1.8;margin:15px 0 0}.detail-meta{display:flex;align-items:center;gap:12px;font-size:11px;color:#9aa28e}.detail-body{font-size:14px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;margin:23px 0}.detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--border);margin-top:23px;padding-top:20px}.detail-actions .text-button{margin-left:auto}.accept-confirm{padding:18px;background:#edf2e6;border-radius:10px;margin-top:20px}.accept-confirm h3{font-size:14px;line-height:1.8;font-weight:500}.accept-confirm p{font-size:12px;color:#8b987c;line-height:1.8}.help-content{font-size:13px;line-height:1.9;color:#7b886d}.help-content strong{color:var(--green)}.loading{padding:100px 0;text-align:center;color:#8b9d7b}.loading p{font-size:12px;margin-top:15px}@media(min-width:1500px){main{padding-top:55px}.story-banner{min-height:280px}.story-banner-content{padding:34px 38px}.book-art{margin-right:70px}.art-orbit{top:38px}.art-book{top:65px}.book-shadow{top:223px}}@media(max-width:1150px){.sidebar{width:214px;padding:30px 18px}.main-area{margin-left:214px;width:calc(100% - 214px)}main{padding:35px 28px 25px}.topbar{padding:0 28px}.footer{padding:19px 28px}.page-heading h1{font-size:25px}.page-heading .primary{font-size:11px;padding:11px 13px}.overview-lower{gap:18px;grid-template-columns:minmax(0,1.35fr) minmax(230px,1fr)}.section-heading h2 span{display:none}.story-banner-content{padding:27px}.story-banner h2{font-size:24px}.book-art{margin-right:10px}.stat-card{padding:16px}.toast{left:calc(50% + 107px)}}@media(max-width:850px){.overview-lower{grid-template-columns:1fr}.handoff-card{margin-top:0}.handoff-card br{display:none}.handoff-layout{grid-template-columns:1fr}.handoff-card h2{font-size:21px}.entry-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.book-art{min-width:155px;opacity:.8;margin-right:0}.art-orbit{right:-30px}.art-book{right:20px}.spark-one{right:0}.spark-two{right:143px}.story-banner-content{max-width:70%}.story-banner h2{font-size:22px}.stats-grid{gap:10px}.stat-value{gap:8px}.stat-value span{font-size:11px}.stat-card{padding:13px}.flow-note{align-items:flex-start}}@media(max-width:640px){.app-shell{display:block}.sidebar{position:static;width:100%;border-right:0;border-bottom:1px solid var(--border);padding:18px 20px 13px;display:grid;grid-template-columns:1fr auto;gap:12px;background:#fcfcf8}.brand{font-size:20px;gap:9px}.brand-mark{width:36px;height:39px;font-size:24px;border-radius:10px}.brand small{font-size:7px;letter-spacing:1.6px;margin-top:5px}.sidebar-label,.desktop-nav,.sidebar-bottom{display:none}.project-select{grid-row:2;grid-column:1 / 3}.project-select select{font-size:12px;min-height:44px}.new-project{margin:0;padding:0 3px;font-size:0;width:40px;border:1px solid var(--border);border-radius:9px;align-self:center;min-height:36px;color:var(--green)}.new-project svg{width:20px;height:20px}.new-project:after{content:"作品";font-size:10px}.main-area{margin-left:0;width:100%;min-height:calc(100dvh - 126px);padding-bottom:76px}.topbar{height:52px;padding:0 20px}.breadcrumb{font-size:10px;gap:7px}.breadcrumb>span{display:none}.breadcrumb>svg{display:none}.breadcrumb strong{max-width:180px;font-size:10px}.topbar-actions{gap:10px}.save-state{font-size:9px}.topbar .icon-button{height:31px;width:32px}main{padding:29px 20px 20px}.page-heading{gap:17px;margin-bottom:23px}.eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:11px}.page-heading h1{font-size:25px;letter-spacing:.8px;line-height:1.55;margin-bottom:9px}.page-description{font-size:11px}.page-heading>.primary{align-self:stretch;font-size:12px;min-height:44px}.story-banner{min-height:232px;border-radius:12px}.story-banner-content{padding:23px 21px;max-width:78%}.story-banner h2{font-size:23px;margin-top:18px;position:relative}.story-banner p{font-size:10px;position:relative;max-width:240px}.book-art{position:absolute;right:-50px;bottom:-30px;width:140px;height:210px;min-width:0;opacity:.32}.art-orbit{top:20px;width:180px;height:180px;right:-5px}.art-book{width:88px;height:129px;right:40px;top:35px;padding-top:20px}.book-title{font-size:13px}.book-seal{margin-top:8px;font-size:9px;width:18px;height:18px}.spark-one{top:22px;right:22px}.spark-two{right:150px;top:150px}.book-shadow{top:170px;right:25px;width:105px}.stats-grid{gap:8px;margin:17px 0 27px}.stat-card{padding:12px 11px}.stat-icon{width:29px;height:29px}.stat-icon svg{width:17px;height:17px}.stat-top>svg{width:12px;height:12px}.stat-value{font-size:27px;gap:6px;flex-wrap:wrap;line-height:1.2;margin-top:10px}.stat-value span{font-size:10px}.stat-card p{font-size:8px;line-height:1.8;margin-top:7px}.overview-lower{gap:22px}.section-heading{margin-bottom:12px}.section-heading h2{font-size:14px}.section-heading .text-button{font-size:10px}.empty-recent{min-height:220px}.handoff-card{padding:23px}.handoff-card h2{font-size:22px}.handoff-card br{display:initial}.flow-note{font-size:9px;margin:24px 0 0;gap:7px}.flow-note svg{flex-shrink:0;margin-top:3px}.footer{padding:15px 20px;font-size:8px;gap:8px}.footer>span:last-child{display:none}.mobile-nav{display:flex;position:fixed;left:0;right:0;bottom:0;background:#fcfcf8f5;border-top:1px solid #dce3d3;z-index:5;justify-content:space-around;padding:8px 5px max(8px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);min-height:66px}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#99a08e;border-radius:9px;min-width:56px;min-height:46px;font-size:9px;padding:5px 8px}.mobile-nav button.active{background:#eaf0e2;color:var(--green)}.toast{left:50%;bottom:calc(85px + env(safe-area-inset-bottom));max-width:calc(100vw - 30px);font-size:11px;padding:12px 14px}.toast>svg{flex-shrink:0}.filter-bar{gap:8px;flex-direction:column}.filter-bar>select{width:100%;font-size:13px}.search input{font-size:14px}.entry-card h2{font-size:20px}.entry-card>p{font-size:13px}.empty-state{padding:43px 17px}.empty-state h2{font-size:19px}.panel{padding:21px}.step-heading{gap:9px}.step-heading h2{font-size:15px}.dialog{padding:23px 20px;max-height:90dvh}.dialog-header h2{font-size:22px}.dialog label input,.dialog label textarea,.dialog label select,.panel label input,.panel label textarea,.panel label select{font-size:16px}.dialog-header .icon-button{width:40px;height:40px}.detail-body{font-size:14px}.detail-actions .text-button{margin-left:0}.error-banner{align-items:flex-start}.error-banner .text-button{font-size:10px}.breadcrumb strong{overflow:hidden}.handoff-preview{font-size:13px!important}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media(max-width:640px){.new-project{width:44px;min-height:44px}.new-project:after{content:none}.story-banner-content{max-width:100%;width:100%}.story-banner p{max-width:270px}.book-art{opacity:.2}.story-banner h2{font-size:22px}}.restore-preview{margin-top:23px}.restore-preview h3{font-size:16px;font-weight:500}.restore-project{border:1px solid var(--border);border-radius:10px;padding:16px;margin:16px 0;overflow-wrap:anywhere}.restore-project h4{font-family:var(--serif);font-size:18px;font-weight:500;margin:0 0 9px}.restore-description{font-size:12px;line-height:1.8;white-space:pre-wrap}.restore-project details{margin-top:12px;font-size:12px}.restore-project summary{cursor:pointer;min-height:44px;padding:12px 0;line-height:1.7}.restore-record{padding:14px 0;border-top:1px solid var(--border)}.restore-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;margin:10px 0 0}.restore-history{border-top:1px solid var(--border);padding-left:8px}.restore-result{color:var(--green);line-height:1.9;font-size:14px}.restore-preview .form-actions{margin-top:22px;flex-wrap:wrap}.restore-filename{overflow-wrap:anywhere}.dialog input[type=file]{font-size:12px;padding:12px 7px}.dialog input[type=file]::file-selector-button{border:1px solid var(--border);background:#edf2e6;color:var(--green);border-radius:6px;min-height:40px;margin-right:7px;font:inherit;cursor:pointer}.topbar .icon-button{min-width:36px}@media(max-width:640px){.topbar-actions{gap:7px}.breadcrumb{flex:1;overflow:hidden}.breadcrumb strong{max-width:none}.topbar .icon-button{width:40px;min-width:40px;height:44px}.save-state{font-size:8px}.dialog input[type=file]{font-size:12px!important}}
