/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.hidden{display:none}.table{display:table}.gap-1{gap:calc(var(--spacing) * 1)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--ink:#292721;--muted:#777269;--faint:#aaa398;--paper:#fbfaf6;--warm:#f3f0e8;--surface:#fff;--line:#ded9ce;--line-soft:#ebe7df;--accent:#2f5c4b;--accent-hover:#244b3d;--accent-soft:#e5eee9;--gold-soft:#f1e8d6;--shadow:0 24px 70px #3931241f}*{box-sizing:border-box}html{background:var(--paper);color:var(--ink);scroll-behavior:smooth}body{background:radial-gradient(circle at 85% 0%, #2f5c4b14, transparent 28rem), var(--paper);color:var(--ink);margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}button,input,textarea,select{color:inherit;font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.invite-page{place-items:center;min-height:100svh;padding:28px;display:grid}.invite-card{border:1px solid var(--line);width:min(100%,440px);box-shadow:var(--shadow);background:#ffffffeb;border-radius:22px;gap:15px;padding:34px;display:grid}.invite-card>.brand-mark{width:38px;height:38px}.invite-card>small{color:var(--muted);margin-top:-7px}.invite-card h1,.invite-card p{margin:0}.invite-card p{color:var(--muted);line-height:1.7}.invite-card label{color:var(--ink);gap:8px;font-weight:650;display:grid}.invite-card input{border:1px solid var(--line);background:var(--paper);border-radius:10px;width:100%;padding:12px 13px}.invite-card .primary-button{justify-content:center;width:100%}.invite-status{background:#fff2ee;border-radius:10px;padding:10px 12px;color:#9d4432!important}textarea,input,select{outline:none}textarea:focus,input:focus,select:focus,button:focus-visible{box-shadow:0 0 0 3px #2f5c4b2e}.site-page{min-height:100vh}.site-topbar{justify-content:space-between;align-items:center;width:min(1180px,100% - 40px);margin:0 auto;padding:24px 0;display:flex}.alternate-origin-notice{background:#fff7e5e6;border:1px solid #a6742f57;border-radius:14px;justify-content:space-between;align-items:center;gap:22px;width:min(1180px,100% - 40px);margin:0 auto 18px;padding:15px 17px;display:flex}.alternate-origin-notice>div:first-child{gap:5px;display:grid}.alternate-origin-notice span{color:var(--muted);line-height:1.55}.alternate-origin-notice>div:last-child{flex:none;gap:8px;display:flex}.alternate-origin-notice button:not(.primary-button){border:1px solid var(--line);color:var(--ink);background:var(--surface);border-radius:10px;padding:10px 13px}.brand-button{background:0 0;border:0;align-items:center;gap:10px;padding:0;font-weight:700;display:flex}.brand-button small{border:1px solid var(--line);color:var(--muted);border-radius:999px;margin-left:3px;padding:4px 8px;font-weight:500}.brand-mark{color:#fff;background:var(--accent);border-radius:10px 10px 10px 3px;place-items:center;width:34px;height:34px;font-family:Songti SC,STSong,serif;font-weight:700;display:inline-grid}.site-topbar nav{gap:6px;display:flex}.site-topbar nav button,.site-topbar nav summary,footer button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:9px 12px}.site-topbar nav button:hover,.site-topbar nav summary:hover,footer button:hover{color:var(--ink);background:var(--warm)}.site-topbar nav button.is-active,.site-topbar nav summary.is-active{color:#fff;background:var(--accent);box-shadow:0 7px 18px #2f5c4b2e}.site-topbar nav button.is-active:hover,.site-topbar nav summary.is-active:hover{color:#fff;background:var(--accent-hover)}.topbar-more{position:relative}.topbar-more>summary{cursor:pointer;-webkit-user-select:none;user-select:none;list-style:none}.topbar-more>summary::-webkit-details-marker{display:none}.topbar-more>summary:after{content:"⌄";margin-left:5px;font-size:.75em}.topbar-more[open]>summary:not(.is-active){color:var(--ink);background:var(--warm)}.topbar-more-menu{z-index:50;border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:4px;width:168px;padding:7px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 38px #39312429}.site-topbar nav .topbar-more-menu button{text-align:left;width:100%}.hero{grid-template-columns:1.05fr .95fr;align-items:center;gap:72px;width:min(1180px,100% - 40px);margin:54px auto 110px;display:grid}.eyebrow,.section-heading>small,.feedback-copy>small,.feedback-banner small{color:var(--accent);letter-spacing:.08em;font-weight:700}.hero h1{letter-spacing:-.055em;margin:22px 0 26px;font-family:Songti SC,STSong,Noto Serif CJK SC,serif;font-size:clamp(3rem,6.8vw,5.6rem);font-weight:600;line-height:1.12}.hero-copy>p{max-width:620px;color:var(--muted);margin:0;font-size:1.08rem;line-height:1.9}.hero-actions{flex-wrap:wrap;gap:12px;margin-top:34px;display:flex}.primary-button,.secondary-button{border-radius:12px;min-height:46px;padding:0 20px;font-weight:650}.primary-button{border:1px solid var(--accent);color:#fff;background:var(--accent);box-shadow:0 9px 24px #2f5c4b33}.primary-button:hover{background:var(--accent-hover)}.secondary-button{border:1px solid var(--line);background:#ffffff94}.secondary-button:hover{border-color:var(--faint);background:var(--surface)}.trust-line{color:var(--muted);flex-wrap:wrap;gap:18px;margin-top:24px;font-size:.86rem;display:flex}.trust-line span:before{content:"✓";color:var(--accent);margin-right:6px;font-weight:700}.hero-demo{border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffc7;border-radius:26px;padding:22px;transform:rotate(1deg)}.demo-top{border-bottom:1px solid var(--line-soft);align-items:center;gap:11px;padding-bottom:18px;display:flex}.demo-top div{gap:2px;display:grid}.demo-top div small,.demo-top>span:last-child{color:var(--muted)}.demo-top>span:last-child{margin-left:auto}.demo-message,.demo-question{border-radius:14px;margin:24px 0;padding:16px}.demo-message{background:var(--warm);margin-left:58px}.demo-message small,.demo-question small{color:var(--muted)}.demo-message p,.demo-question p{margin:7px 0 0;line-height:1.65}.demo-question{border:1px solid var(--line-soft);background:var(--surface);gap:12px;margin-right:26px;display:flex}.demo-question>span{color:#fff;background:var(--accent);border-radius:9px;flex:none;place-items:center;width:30px;height:30px;font-size:.75rem;font-weight:700;display:grid}.demo-input{border:1px solid var(--line);color:var(--faint);background:var(--paper);border-radius:13px;justify-content:space-between;align-items:center;padding:15px 16px;display:flex}.demo-input span{color:#fff;background:var(--ink);border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.mode-section{background:#ece8df;padding:100px max(20px,50vw - 590px)}.section-heading{max-width:760px;margin-bottom:38px}.section-heading h1,.section-heading h2,.feedback-copy h1,.feedback-banner h2{margin:10px 0 12px;font-family:Songti SC,STSong,serif;font-size:clamp(2rem,4.2vw,3.6rem);font-weight:600;line-height:1.25}.section-heading p,.feedback-copy>p,.feedback-banner p{color:var(--muted);line-height:1.8}.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.mode-card{border:1px solid var(--line);background:var(--paper);border-radius:24px;min-height:470px;padding:38px;position:relative;overflow:hidden}.guide-mode{background:#f7f2e7}.focus-mode{color:#e9e5da;background:#292b28;border-color:#363a35}.mode-number{color:#2f5c4b1f;font-family:Georgia,serif;font-size:6rem;line-height:1;position:absolute;top:20px;right:28px}.focus-mode .mode-number{color:#ffffff12}.mode-card>small{color:var(--accent);font-weight:700}.focus-mode>small{color:#9dc2ae}.mode-card h3{max-width:420px;margin:20px 0 16px;font-family:Songti SC,STSong,serif;font-size:clamp(1.75rem,3vw,2.45rem);line-height:1.35}.mode-card p{max-width:500px;color:var(--muted);line-height:1.8}.focus-mode p,.focus-mode li{color:#aaa99f}.mode-card ul{color:var(--muted);grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px;margin:30px 0 34px;padding:0;list-style:none;display:grid}.mode-card li:before{content:"·";color:var(--accent);margin-right:7px;font-weight:900}.focus-mode li:before{color:#9dc2ae}.mode-card>button{color:var(--accent);background:0 0;border:0;border-bottom:1px solid;padding:11px 0;font-weight:700}.focus-mode>button{color:#d3e3da}.feedback-banner{background:var(--accent-soft);border-radius:24px;justify-content:space-between;align-items:center;gap:50px;width:min(1180px,100% - 40px);margin:100px auto;padding:48px;display:flex}.feedback-banner h2{font-size:clamp(1.8rem,3vw,2.8rem)}.feedback-banner p{max-width:680px;margin-bottom:0}footer{border-top:1px solid var(--line);width:min(1180px,100% - 40px);color:var(--muted);justify-content:space-between;align-items:center;margin:0 auto;padding:28px 0;display:flex}.guide-page,.writing-page{background:var(--warm);min-height:100vh}.inside-header,.writing-topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fbfaf6e6;grid-template-columns:1fr auto 1fr;align-items:center;min-height:68px;padding:10px 22px;display:grid}.inside-header>button,.writing-topbar>button{background:0 0;border:0;border-radius:10px;justify-self:start;min-width:38px;min-height:38px}.inside-header>button:hover,.writing-topbar>button:hover{background:var(--warm)}.inside-header>div,.writing-topbar>div{text-align:center;gap:3px;display:grid}.inside-header small,.writing-topbar small{color:var(--muted)}.inside-header .quiet-action{color:var(--muted);white-space:nowrap;justify-self:end}.guide-shell{width:min(760px,100% - 32px);margin:36px auto 0;padding-bottom:60px}.agent-picker{border:1px solid var(--line);background:#ffffff9e;border-radius:18px;gap:14px;margin-bottom:28px;padding:18px;display:grid}.agent-picker>div:first-child{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.agent-picker>div:first-child small{color:var(--ink);font-weight:700}.agent-picker>div:first-child p{color:var(--muted);margin:0;font-size:.8rem}.agent-options{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.agent-options button{color:var(--muted);background:var(--warm);text-align:left;border:1px solid #0000;border-radius:12px;gap:4px;padding:12px 9px;display:grid}.agent-options button:hover{border-color:#2f5c4b40}.agent-options button.is-active{color:var(--accent);background:var(--accent-soft);border-color:#2f5c4b73;box-shadow:0 8px 20px #2f5c4b14}.agent-options button span{font-weight:700}.agent-options button small{color:inherit;font-size:.72rem;line-height:1.35}.platform-perspective-picker{border:1px dashed var(--line);background:#ffffff6b;border-radius:14px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 12px;margin:-16px 0 28px;padding:12px 14px;display:grid}.platform-perspective-picker>button,.platform-perspective-picker>div button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:999px;padding:7px 10px;font-size:.78rem}.platform-perspective-picker>div{flex-wrap:wrap;gap:6px;display:flex}.platform-perspective-picker>div button.is-active,.platform-perspective-picker.is-active>button{color:var(--accent);background:var(--accent-soft);border-color:#2f5c4b66}.platform-perspective-picker>small{color:var(--muted);grid-column:1/-1;line-height:1.5}.guide-progress{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:28px;display:grid}.guide-progress span{background:var(--line);border-radius:999px;height:4px}.guide-progress span.is-done{background:var(--accent)}.conversation{gap:18px;display:grid}.assistant-turn{align-items:flex-start;gap:12px;display:flex}.assistant-avatar{color:#fff;background:var(--accent);border-radius:10px 10px 10px 3px;flex:none;place-items:center;width:34px;height:34px;font-family:Songti SC,STSong,serif;display:grid}.assistant-turn>div,.assistant-question,.user-idea,.user-answer{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:17px 19px}.assistant-turn>div{border-top-left-radius:5px}.assistant-turn small,.assistant-question small,.user-idea small,.user-answer small{color:var(--muted)}.assistant-turn p,.assistant-question p,.user-idea p,.user-answer p{white-space:pre-wrap;margin:7px 0 0;line-height:1.75}.user-idea,.user-answer{background:var(--gold-soft);margin-left:74px}.guide-pair{gap:14px;display:grid}.agent-thinking{color:var(--muted);background:#ebf3ee8c;border:1px solid #2f5c4b33;border-radius:16px;align-items:center;gap:12px;margin-right:74px;padding:15px 17px;display:flex}.agent-thinking p{margin:0;line-height:1.55}.thinking-dot{background:var(--accent);border-radius:50%;flex:none;width:9px;height:9px;animation:1.8s ease-in-out infinite quiet-thinking}@keyframes quiet-thinking{0%,to{opacity:.35;transform:scale(.8)}50%{opacity:.9;transform:scale(1)}}.agent-error{color:#8a4038;background:#fbefed;border:1px solid #9d493e2e;border-radius:11px;margin:0;padding:12px 14px;font-size:.86rem;line-height:1.55}.soft-checkpoint{background:#ebf3ee7a;border:1px dashed #2f5c4b4d;border-radius:16px;justify-content:space-between;align-items:center;gap:18px;margin:4px 0;padding:16px 18px;display:flex}.soft-checkpoint small{color:var(--accent);font-weight:700}.soft-checkpoint p{color:var(--muted);margin:5px 0 0;line-height:1.55}.soft-checkpoint button{color:var(--accent);background:var(--surface);border:0;border-radius:10px;flex:none;padding:9px 12px}.assistant-question{margin-right:74px}.current-question{border-color:#2f5c4b59;box-shadow:0 12px 30px #2f5c4b14}.guide-composer{z-index:3;border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fbfaf6f0;border-radius:17px;margin-top:22px;padding:12px;position:sticky;bottom:18px;box-shadow:0 16px 45px #39312429}.guide-composer textarea{resize:vertical;background:0 0;border:0;width:100%;padding:8px;line-height:1.7}.guide-composer>.composer-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.listening-room{align-items:center;gap:14px;min-height:94px;padding:12px 10px;display:flex}.listening-room p{color:var(--muted);margin:5px 0 0;line-height:1.55}.recording-presence{background:#ffffff9e;border:1px solid #2f5c4b33;border-radius:17px;flex:none;align-items:center;min-width:88px;height:54px;padding:0 11px 0 15px;display:flex;position:relative;box-shadow:inset 0 0 0 1px #ffffff6b}.recording-live-dot{background:#b94e46;border-radius:50%;width:7px;height:7px;animation:1.4s ease-in-out infinite recording-live;position:absolute;top:8px;left:9px;box-shadow:0 0 0 4px #b94e461a}.recording-waveform{justify-content:center;align-items:center;gap:2px;width:62px;height:42px;display:flex}.recording-waveform i{background:linear-gradient(180deg, var(--accent), #2f5c4b85);transform-origin:50%;border-radius:999px;width:2px;min-height:8px;animation:.9s ease-in-out infinite alternate recording-wave;display:block}@keyframes recording-live{0%,to{opacity:.5;transform:scale(.82)}50%{opacity:1;transform:scale(1)}}@keyframes recording-wave{0%{opacity:.5;transform:scaleY(.34)}55%{opacity:1;transform:scaleY(1)}to{opacity:.7;transform:scaleY(.58)}}.voice-status{color:var(--muted);margin:0 8px 10px;font-size:.84rem;line-height:1.5}.voice-shelf{background:var(--accent-soft);border-radius:12px;grid-template-columns:1fr auto auto;align-items:center;gap:8px;margin:0 0 10px;padding:10px 12px;display:grid}.voice-shelf span{color:var(--muted);font-size:.82rem}.voice-shelf button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:9px;padding:8px 10px}.voice-shelf .soft-primary{color:var(--accent);background:var(--surface)}.voice-transcript-review{grid-template-columns:1fr auto;align-items:end}.voice-transcript-review label{grid-column:1/-1;gap:7px;display:grid}.voice-transcript-review textarea{width:100%;min-height:104px;color:var(--ink);background:var(--surface);font:inherit;resize:vertical;border:1px solid #2f5c4b29;border-radius:10px;padding:11px 12px;line-height:1.7}.voice-button,.voice-feedback{color:var(--muted);background:var(--warm);border:0;border-radius:10px;padding:10px 13px}.voice-button:before,.voice-feedback:before{content:"≈";color:var(--accent);margin-right:7px;font-size:.9rem}.is-listening{color:var(--accent);background:var(--accent-soft)}.story-card{background:var(--accent-soft);border:1px solid #2f5c4b5c;border-radius:19px;padding:26px}.story-card-head{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.story-card-head span{font-family:Songti SC,STSong,serif;font-size:1.4rem;font-weight:700}.story-card-head small{color:var(--muted)}.story-card dl{gap:10px;display:grid}.story-card dd{white-space:pre-wrap}.inspiration-summary-form{gap:14px;display:grid}.inspiration-summary-form>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.inspiration-summary-form label{color:var(--muted);gap:7px;font-size:.8rem;font-weight:700;display:grid}.inspiration-summary-form textarea{width:100%;min-height:0;color:var(--ink);background:var(--surface);font:inherit;resize:vertical;border:1px solid #2f5c4b33;border-radius:11px;padding:12px 13px;line-height:1.7}.inspiration-process-review{border-top:1px solid #2f5c4b29;margin-top:18px}.inspiration-process-review summary{color:var(--accent);cursor:pointer;padding:14px 0 0}.inspiration-process-review>div{gap:8px;margin-top:12px;display:grid}.inspiration-process-review p{white-space:pre-wrap;border-radius:10px;gap:4px;margin:0;padding:11px 12px;line-height:1.65;display:grid}.inspiration-process-review p.user{background:var(--surface)}.inspiration-process-review p.assistant{background:var(--warm)}.inspiration-process-review small{color:var(--muted)}.story-card-actions{justify-content:flex-end;gap:10px;display:flex}.story-card-actions>button:not(.primary-button){color:var(--accent);background:0 0;border:0;padding:11px 14px}.card-save-status{color:var(--accent);background:var(--surface);border-radius:10px;margin:14px 0 0;padding:11px 13px;line-height:1.55}.story-card dl>div{border-bottom:1px solid #2f5c4b24;grid-template-columns:120px 1fr;gap:16px;padding:13px 0;display:grid}.story-card dt{color:var(--muted)}.story-card dd{margin:0}.next-writing{margin:22px 0;line-height:1.7}.book-library-page{width:min(1120px,100% - 40px);margin:46px auto 90px}.book-library-heading{justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:30px;display:flex}.book-library-heading>div:first-child{max-width:620px}.book-library-heading small,.new-book-panel small{color:var(--accent);font-weight:700}.book-library-heading h1{margin:7px 0 10px;font-family:Songti SC,STSong,Noto Serif CJK SC,serif;font-size:clamp(2.5rem,6vw,4.4rem);line-height:1}.book-library-heading p,.new-book-panel p{color:var(--muted);margin:0;line-height:1.75}.book-library-overview{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;display:flex}.book-library-overview>span{border:1px solid var(--line-soft);color:var(--muted);background:#ffffff9e;border-radius:999px;padding:8px 10px;font-size:.82rem}.book-library-overview>span strong{color:var(--ink)}.new-book-panel{background:var(--accent-soft);border:1px solid #2f5c4b2e;border-radius:20px;grid-template-columns:minmax(220px,.75fr) minmax(320px,1.25fr);gap:24px 34px;margin-bottom:24px;padding:24px;display:grid;box-shadow:0 16px 42px #39312414}.new-book-panel h2{margin:5px 0 8px;font-family:Songti SC,STSong,serif;font-size:1.45rem}.book-form-fields,.book-edit-form{gap:13px;display:grid}.book-form-fields label,.book-edit-form label{color:var(--muted);gap:6px;font-size:.82rem;display:grid}.book-form-fields input,.book-form-fields textarea,.book-edit-form input,.book-edit-form textarea{border:1px solid var(--line);width:100%;color:var(--ink);resize:vertical;background:#ffffffdb;border-radius:10px;padding:11px 12px}.platform-choice-row{background:#fff9;border:1px solid #2f5c4b2e;border-radius:13px;grid-column:1/-1;justify-content:space-between;align-items:center;gap:14px 22px;padding:14px 16px;display:flex}.platform-choice-row>div:first-child{gap:3px;display:grid}.platform-choice-row>div:first-child strong{font-size:.9rem}.platform-choice-row>div:first-child small{color:var(--muted);font-weight:400}.platform-choice-row>div:last-child,.selling-point-actions{flex-wrap:wrap;gap:6px;display:flex}.platform-choice-row button,.selling-point-actions button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:999px;padding:7px 10px;font-size:.78rem}.platform-choice-row button.is-active{color:var(--accent);background:var(--accent-soft);border-color:#2f5c4b6b;font-weight:700}.platform-choice-row.is-compact{align-items:start;padding:12px;display:grid}.selling-point-actions{justify-content:flex-start}.selling-point-error{color:#8b3b31;margin:0;font-size:.78rem;line-height:1.55}.book-form-actions{grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.book-form-actions>button,.book-card-actions>button{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:9px 13px}.book-form-actions>button.primary-button,.book-card-actions>button.primary-button{border-color:var(--accent);color:#fff;background:var(--accent)}.book-library-status{color:var(--accent);background:var(--accent-soft);border-radius:10px;margin:0 0 18px;padding:11px 13px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.book-card{border:1px solid var(--line);background:#ffffffc7;border-radius:18px;grid-template-columns:82px minmax(0,1fr);min-height:320px;display:grid;overflow:hidden;box-shadow:0 18px 48px #39312414}.book-card.is-current{border-color:#2f5c4b61;box-shadow:0 20px 54px #2f5c4b1f}.book-spine{color:#f7f4ea;background:linear-gradient(160deg,#426b5b,#294e40);flex-direction:column;justify-content:space-between;align-items:center;padding:20px 12px;display:flex;box-shadow:inset -7px 0 16px #11291f29}.book-spine span{letter-spacing:.12em;opacity:.72;font-size:.72rem}.book-spine strong{font-family:Songti SC,STSong,serif;font-size:2.3rem}.book-card-body,.book-edit-form{min-width:0;padding:23px}.book-card-body{grid-template-rows:auto minmax(74px,1fr) auto auto;gap:15px;display:grid}.book-card-body>header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.book-card-body>header small{color:var(--accent)}.book-card-body>header h2{overflow-wrap:anywhere;margin:4px 0 0;font-family:Songti SC,STSong,serif;font-size:1.45rem}.book-card-body>header>span{color:var(--muted);background:var(--warm);border-radius:999px;flex:none;padding:5px 8px;font-size:.76rem}.book-card-body>p{color:var(--muted);margin:0;line-height:1.75}.commercial-positioning-card{background:var(--accent-soft);border:1px solid #2f5c4b29;border-radius:11px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 14px;padding:11px 12px;display:grid}.commercial-positioning-card>div{gap:2px;display:grid}.commercial-positioning-card small{color:var(--muted);font-size:.68rem}.commercial-positioning-card strong{color:var(--accent);font-size:.84rem}.commercial-positioning-card p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.55}.book-card-body dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;margin:0;display:grid}.book-card-body dl>div{gap:3px;min-width:0;display:grid}.book-card-body dt{color:var(--faint);font-size:.72rem}.book-card-body dd{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.86rem;overflow:hidden}.book-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.inline-trash-confirm{color:var(--muted);background:#9a4c3e0f;border:1px solid #9a4c3e40;border-radius:10px;gap:10px;padding:11px 12px;font-size:.78rem;line-height:1.55;display:grid}.inline-trash-confirm>div{justify-content:flex-end;gap:7px;display:flex}.inline-trash-confirm button,.library-card-footer button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:8px;padding:6px 9px}.inline-trash-confirm button.is-danger,.trash-list button.is-danger{color:#fff;background:#9a4c3e;border-color:#9a4c3e}.book-edit-form{align-content:start}.book-library-boundary{color:var(--muted);background:var(--warm);border-radius:12px;gap:12px;margin-top:22px;padding:14px 16px;font-size:.86rem;display:flex}.book-library-boundary strong{color:var(--ink);flex:none}.writing-page{--paper-bg:#fbf7ed;--paper-edge:#5b4c3417;--reader-ink:#3d3932;--reader-muted:#777064;--desk-bg:#e8e3d9}.writing-page.paper-tone-white{--paper-bg:#fffefb;--paper-edge:#43433f14;--reader-ink:#353535;--reader-muted:#74736f;--desk-bg:#ebeae6}.writing-page.paper-tone-green{--paper-bg:#eef3e9;--paper-edge:#3a4f3a17;--reader-ink:#344039;--reader-muted:#68756c;--desk-bg:#dde5d8}.writing-page.paper-tone-gray{--paper-bg:#f0f1f2;--paper-edge:#373e4417;--reader-ink:#373d42;--reader-muted:#6d7479;--desk-bg:#dfe2e4}.writing-topbar{z-index:20;background:var(--paper-bg);position:relative}.book-title-field{text-align:center;justify-self:center;gap:2px;width:min(360px,44vw);display:grid}.book-title-field input{width:100%;color:var(--reader-ink);text-align:center;background:0 0;border:0;padding:0;font-family:Songti SC,STSong,Noto Serif CJK SC,serif;font-size:1.04rem;font-weight:700}.book-title-field input::placeholder{color:var(--reader-muted);font-weight:500}.writing-topbar>.writing-topbar-actions{text-align:right;justify-self:end;align-items:center;gap:12px;display:flex}.immersive-entry{color:var(--accent);white-space:nowrap;background:#ffffff70;border:1px solid #2f5c4b33;border-radius:9px;padding:7px 10px}.immersive-entry:hover{background:var(--accent-soft)}.work-mode-entry{color:#385783;white-space:nowrap;background:#ffffff70;border:1px solid #405c9033;border-radius:9px;padding:7px 10px}.work-mode-entry:hover{background:#3c5e9914}.work-mode-intro-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1c20266b;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.work-mode-intro{background:#fff;border:1px solid #405c902e;border-radius:20px;width:min(560px,100%);padding:30px;box-shadow:0 24px 70px #1f232938}.work-mode-intro>small{color:#385783;letter-spacing:.08em;font-weight:750}.work-mode-intro h2{color:#1f2329;margin:10px 0 12px;font-family:Songti SC,STSong,serif;font-size:1.8rem;line-height:1.3}.work-mode-intro>p{color:#646a73;margin:0;line-height:1.7}.work-mode-intro ol{gap:10px;margin:22px 0 0;padding:0;list-style:none;display:grid}.work-mode-intro li{background:#f7f8fa;border-radius:12px;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:11px;padding:12px;display:grid}.work-mode-intro li>span{color:#fff;background:#385783;border-radius:8px;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.work-mode-intro li div{gap:4px;display:grid}.work-mode-intro li strong{color:#1f2329}.work-mode-intro li small{color:#646a73;line-height:1.55}.work-mode-intro kbd{color:#4e5969;background:#fff;border:1px solid #d9dce1;border-bottom-width:2px;border-radius:5px;padding:2px 6px;font-family:inherit;font-size:.78rem}.work-mode-intro-actions{justify-content:flex-end;gap:9px;margin-top:22px;display:flex}.work-mode-intro-actions button{color:#4e5969;background:#fff;border:1px solid #d9dce1;border-radius:10px;min-height:42px;padding:0 15px}.work-mode-intro-actions .primary-button{border-color:var(--accent);color:#fff;background:var(--accent)}.work-mode-page{color:#1f2329;background:#fff;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.work-doc-topbar{z-index:20;background:#fffffffa;border-bottom:1px solid #e5e6eb;justify-content:space-between;align-items:center;gap:20px;min-height:64px;padding:8px 18px;display:flex;position:sticky;top:0}.work-doc-left,.work-doc-actions,.work-doc-title-stack nav,.work-doc-paper-heading,.work-doc-paper-footer,.work-doc-cover header>div{align-items:center;display:flex}.work-doc-left{gap:6px;min-width:0}.work-doc-nav-button,.work-doc-action-icon{color:#4e5969;background:0 0;border:0;border-radius:8px;flex:none;width:38px;height:38px;padding:0;font-size:1.08rem}.work-doc-nav-button:hover,.work-doc-action-icon:hover{background:#f2f3f5}.work-doc-divider{background:#e5e6eb;flex:none;width:1px;height:28px}.work-doc-title-stack{gap:4px;min-width:0;margin-left:8px;display:grid}.work-doc-title-stack nav{color:#646a73;white-space:nowrap;gap:8px;min-width:0}.work-doc-title-stack nav span,.work-doc-title-stack nav strong{text-overflow:ellipsis;overflow:hidden}.work-doc-title-stack nav strong{color:#1f2329;max-width:310px;font-weight:600}.work-doc-title-stack nav b{color:#c3c6cc;font-weight:400}.work-doc-title-stack small{color:#8f959e;font-size:.76rem}.work-doc-actions{flex:none;gap:8px}.work-doc-avatar-stack{align-items:center;padding-right:4px;display:flex}.work-doc-avatar-stack i{color:#fff;background:#5b8ff9;border:2px solid #fff;border-radius:50%;place-items:center;width:31px;height:31px;margin-right:-8px;font-size:.7rem;font-style:normal;display:grid}.work-doc-avatar-stack i:nth-child(2){background:#61b2a7}.work-doc-avatar-stack i:nth-child(3){background:#e39b55}.work-doc-avatar{color:#fff;background:linear-gradient(135deg,#7c5ce6,#4d9eea);border-radius:50%;place-items:center;width:36px;height:36px;font-size:.82rem;display:grid}.work-doc-share,.work-doc-edit{white-space:nowrap;border-radius:8px;align-items:center;min-height:40px;padding:0 15px;display:inline-flex}.work-doc-share{color:#fff;background:#1456f0;font-weight:600}.work-doc-edit{background:#fff;border:1px solid #d9dce1}.work-doc-cover-trigger[aria-pressed=true]{color:#1456f0;background:#e8f0ff}.work-doc-comments{color:#4e5969;white-space:nowrap;border:1px solid #0000;border-radius:8px;align-items:center;min-height:38px;padding:0 10px;display:inline-flex}.work-doc-comments:hover{background:#f7f8fa;border-color:#e5e6eb}.work-doc-selection-toolbar{z-index:30;color:#373c43;pointer-events:none;background:#fff;border:1px solid #dfe1e5;border-radius:8px;align-items:center;gap:12px;height:38px;padding:0 12px;font-size:.82rem;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 6px 22px #1f232929}.work-doc-selection-toolbar i{background:#e5e6eb;width:1px;height:18px}.work-doc-selection-toolbar em{font-family:Georgia,serif;font-weight:700}.work-doc-side-tools{z-index:12;gap:10px;display:grid;position:fixed;top:104px;right:18px}.work-doc-side-tools span{color:#646a73;background:#fff;border:1px solid #e5e6eb;border-radius:50%;place-items:center;width:34px;height:34px;font-size:.78rem;display:grid;box-shadow:0 2px 8px #1f232912}.work-doc-stage{background:#fff;min-height:calc(100vh - 64px);padding:0 44px 80px}.work-doc-paper{background:#fff;border:0;grid-template-rows:auto 1fr auto;width:min(850px,100%);min-height:calc(100vh - 64px);margin:0 auto;padding:54px 64px 36px;display:grid;position:relative}.work-doc-paper-heading{justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:34px}.work-doc-paper-heading>div{min-width:0}.work-doc-paper-heading h1,.work-doc-cover h1{color:#1f2329;margin:0;font-family:inherit;font-size:2.2rem;line-height:1.25}.work-doc-paper-heading p,.work-doc-cover header p{color:#8f959e;margin:12px 0 0;font-size:.82rem}.work-doc-paper-heading p{align-items:center;gap:8px;display:flex}.work-doc-paper-heading p b{color:#c3c6cc;font-weight:400}.work-doc-favorite{color:#8f959e;border-radius:8px;place-items:center;width:34px;height:34px;font-size:1.25rem;display:grid}.work-doc-editor-shell{min-height:720px;position:relative}.work-doc-block-tools{color:#b2b7bf;opacity:0;align-items:center;gap:3px;transition:opacity .12s;display:flex;position:absolute;top:24px;right:calc(100% + 12px)}.work-doc-editor-shell:hover .work-doc-block-tools,.work-doc-editor-shell:focus-within .work-doc-block-tools{opacity:1}.work-doc-block-tools span{background:#fff;border-radius:6px;place-items:center;width:26px;height:28px;font-size:.86rem;display:grid}.work-doc-editor{color:#252a34;white-space:pre-wrap;overflow-wrap:anywhere;caret-color:#1456f0;background:0 0;outline:0;width:100%;min-height:720px;padding:20px 0 52px;font-family:inherit;font-size:1rem;line-height:1.88}.work-doc-editor:empty:before{content:attr(data-placeholder);color:#b9bdc5;pointer-events:none}.work-doc-paper-footer{color:#8f959e;justify-content:space-between;padding-top:14px;font-size:.78rem}.work-doc-cover{z-index:5;visibility:hidden;color:#30343b;opacity:0;pointer-events:none;background:#fff;padding:54px 64px 36px;position:absolute;inset:0;overflow:hidden}.work-doc-cover.is-visible{visibility:visible;opacity:1;pointer-events:auto}.work-doc-cover header{border-bottom:1px solid #e5e6eb;padding-bottom:28px}.work-doc-cover header p{margin-bottom:8px}.work-doc-cover header>div{color:#646a73;gap:22px;margin-top:18px;font-size:.82rem}.work-doc-cover h2{margin:34px 0 14px;font-family:inherit;font-size:1.15rem}.work-doc-cover ul,.work-doc-cover ol{color:#4e5969;margin:0;padding-left:1.35rem;line-height:2}.work-doc-cover table{border-collapse:collapse;color:#4e5969;width:100%;font-size:.9rem}.work-doc-cover th,.work-doc-cover td{text-align:left;border:1px solid #e5e6eb;padding:13px 16px}.work-doc-cover th{color:#646a73;background:#f7f8fa;font-weight:500}.work-status{color:#8a5d10;background:#fff3ce;border-radius:999px;padding:2px 8px;font-size:.76rem;display:inline-flex}.work-status.is-progress{color:#1456a0;background:#e8f3ff}.work-status.is-done{color:#237b4b;background:#e4f5e9}@media (width<=1100px){.work-doc-title-stack nav span:first-child,.work-doc-title-stack nav span:nth-of-type(2),.work-doc-title-stack nav b:first-of-type,.work-doc-title-stack nav b:nth-of-type(2),.work-doc-action-icon:not(.work-doc-cover-trigger),.work-doc-comments,.work-doc-avatar-stack{display:none}}@media (width<=760px){.work-doc-topbar{min-height:60px;padding:8px 10px}.work-doc-left .work-doc-nav-button:first-child,.work-doc-divider,.work-doc-title-stack nav span,.work-doc-title-stack nav b,.work-doc-edit{display:none}.work-doc-title-stack{margin-left:2px}.work-doc-title-stack nav strong{max-width:32vw}.work-doc-share{min-height:36px;padding:0 10px}.work-doc-actions{gap:4px}.work-doc-stage{padding:0 8px 40px}.work-doc-paper{min-height:calc(100vh - 60px);padding:38px 24px 30px}.work-doc-paper-heading{flex-direction:column;align-items:flex-start}.work-doc-paper-heading h1,.work-doc-cover h1{font-size:1.55rem}.work-doc-editor{min-height:68vh}.work-doc-block-tools,.work-doc-side-tools,.work-doc-selection-toolbar{display:none}.work-doc-cover{padding:38px 24px 30px}.work-doc-cover header>div{flex-direction:column;align-items:flex-start;gap:5px}.work-doc-cover th,.work-doc-cover td{padding:10px 8px}.work-mode-intro-backdrop{padding:12px}.work-mode-intro{max-height:calc(100vh - 24px);padding:22px 18px;overflow-y:auto}.work-mode-intro h2{font-size:1.45rem}.work-mode-intro-actions{grid-template-columns:1fr;display:grid}.work-mode-intro-actions button{width:100%}}.fullscreen-status{z-index:40;color:#7c3931;text-align:left;background:#fff9f5f7;border:1px solid #8b3b3129;border-radius:10px;width:min(340px,100vw - 36px);padding:10px 12px;font-size:.82rem;line-height:1.5;position:fixed;top:78px;right:18px;box-shadow:0 12px 30px #342e241f}.paper-tone-picker{background:#ffffff6b;border-radius:999px;align-items:center;gap:6px;padding:4px;display:flex}.paper-tone-picker>span{color:var(--reader-muted);padding-left:5px;font-size:.74rem}.paper-swatch{width:22px;height:22px;box-shadow:none;border:1px solid #37373029;border-radius:50%;padding:0}.paper-swatch.tone-rice{background:#fbf7ed}.paper-swatch.tone-white{background:#fffefb}.paper-swatch.tone-green{background:#eef3e9}.paper-swatch.tone-gray{background:#f0f1f2}.paper-swatch[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 2px #2f5c4b33}.writing-shell{background:var(--desk-bg);min-height:calc(100vh - 68px);transition:background-color .18s;position:relative;overflow:hidden}.writing-page.is-immersive .writing-shell{min-height:100vh}.immersive-exit{z-index:32;color:var(--reader-muted);background:var(--paper-bg);border:1px solid #3737301a;border-radius:9px;padding:8px 10px;position:fixed;top:14px;right:18px}@supports (color:color-mix(in lab, red, red)){.immersive-exit{background:color-mix(in srgb, var(--paper-bg) 82%, transparent)}}.immersive-exit{opacity:.24;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:opacity .16s,background-color .16s;box-shadow:0 7px 22px #342e2414}.immersive-exit:hover,.immersive-exit:focus-visible{opacity:1;background:var(--paper-bg)}.immersive-exit kbd{margin-left:5px;font-family:inherit;font-size:.72rem}.editor-wrap{width:min(780px,100% - 48px);min-height:calc(100vh - 116px);color:var(--reader-ink);background:linear-gradient(90deg, var(--paper-edge), transparent 8%, transparent 92%, var(--paper-edge)), var(--paper-bg);margin:24px auto 48px;padding:68px clamp(40px,7vw,78px) 64px;transition:transform .28s cubic-bezier(.22,1,.36,1),background-color .18s;position:relative;box-shadow:0 18px 52px #342e2421}.chapter-title{margin-bottom:36px;display:block}.chapter-title input{text-align:center;width:100%;color:var(--reader-ink);background:0 0;border:0;padding:0;font-family:Songti SC,STSong,Noto Serif CJK SC,serif;font-size:1.8rem;font-weight:700}.chapter-title input::placeholder,.chapter-editor::placeholder{color:var(--reader-muted);opacity:.72}.chapter-editor{field-sizing:content;resize:none;width:100%;min-height:660px;color:var(--reader-ink);letter-spacing:.015em;background:0 0;border:0;padding:0;font-family:Songti SC,STSong,Noto Serif CJK SC,serif;font-size:1.1rem;line-height:2.12;display:block}.chapter-finisher{border-top:1px solid var(--reader-muted);margin:54px 0 18px;padding-top:24px}@supports (color:color-mix(in lab, red, red)){.chapter-finisher{border-top:1px solid color-mix(in srgb, var(--reader-muted) 24%, transparent)}}.chapter-finisher-intro,.chapter-finish-actions,.next-chapter-heading,.chapter-finish-preview>div{justify-content:space-between;align-items:center;gap:18px;display:flex}.chapter-finisher-intro>div{gap:5px;display:grid}.chapter-finisher-intro small,.chapter-finish-preview small,.next-chapter-heading small,.next-chapter-advice small{color:var(--reader-muted)}.chapter-finisher-intro strong{font-family:Songti SC,STSong,Noto Serif CJK SC,serif;font-size:1.08rem}.chapter-finisher-intro p,.chapter-finish-actions p,.chapter-finish-preview p,.next-chapter-advice p,.chapter-finish-error,.chapter-finish-status{margin:0}.chapter-finisher-intro p,.chapter-finish-actions p,.next-chapter-heading span,.chapter-finish-preview>div span{color:var(--reader-muted);font-size:.84rem}.chapter-finish-generate,.chapter-finish-actions button{border:1px solid var(--accent);flex:none;padding:10px 14px}@supports (color:color-mix(in lab, red, red)){.chapter-finish-generate,.chapter-finish-actions button{border:1px solid color-mix(in srgb, var(--accent) 36%, transparent)}}.chapter-finish-generate,.chapter-finish-actions button{color:var(--accent);background:var(--paper-bg);border-radius:999px}@supports (color:color-mix(in lab, red, red)){.chapter-finish-generate,.chapter-finish-actions button{background:color-mix(in srgb, var(--paper-bg) 88%, var(--accent-soft))}}.chapter-finish-generate,.chapter-finish-actions button{font-weight:650}.chapter-finish-actions button{color:#fff;background:var(--accent)}.chapter-finish-result{gap:18px;margin-top:22px;display:grid}.chapter-finish-preview{border-left:3px solid var(--accent);padding:20px 22px}@supports (color:color-mix(in lab, red, red)){.chapter-finish-preview{border-left:3px solid color-mix(in srgb, var(--accent) 68%, transparent)}}.chapter-finish-preview{background:var(--paper-bg);border-radius:4px 14px 14px 4px}@supports (color:color-mix(in lab, red, red)){.chapter-finish-preview{background:color-mix(in srgb, var(--paper-bg) 82%, var(--accent-soft))}}.chapter-finish-preview>div{margin-bottom:14px}.chapter-finish-preview>p{white-space:pre-wrap;color:var(--reader-ink);font-family:Songti SC,STSong,Noto Serif CJK SC,serif;font-size:1.04rem;line-height:2}.chapter-finish-preview>small{margin-top:13px;line-height:1.65;display:block}.next-chapter-advice{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.next-chapter-advice article{border:1px solid var(--reader-muted);padding:14px}@supports (color:color-mix(in lab, red, red)){.next-chapter-advice article{border:1px solid color-mix(in srgb, var(--reader-muted) 20%, transparent)}}.next-chapter-advice article{background:var(--paper-bg);border-radius:12px}@supports (color:color-mix(in lab, red, red)){.next-chapter-advice article{background:color-mix(in srgb, var(--paper-bg) 94%, var(--reader-muted))}}.next-chapter-advice p{color:var(--reader-ink);margin-top:7px;font-size:.9rem;line-height:1.65}.chapter-finish-actions{align-items:flex-start}.chapter-finish-error,.chapter-finish-status{border-radius:10px;margin-top:14px;padding:10px 12px;font-size:.86rem;line-height:1.55}.chapter-finish-error{color:#8b3b31;background:#9c433614}.chapter-finish-status{color:var(--accent);background:var(--paper-bg)}@supports (color:color-mix(in lab, red, red)){.chapter-finish-status{background:color-mix(in srgb, var(--paper-bg) 78%, var(--accent-soft))}}.chapter-analysis-panel{border:1px solid var(--accent);gap:15px;margin:34px 0 24px;padding:20px;display:grid}@supports (color:color-mix(in lab, red, red)){.chapter-analysis-panel{border:1px solid color-mix(in srgb, var(--accent) 22%, transparent)}}.chapter-analysis-panel{background:var(--paper-bg);border-radius:15px}@supports (color:color-mix(in lab, red, red)){.chapter-analysis-panel{background:color-mix(in srgb, var(--paper-bg) 90%, var(--accent-soft))}}.chapter-analysis-panel.is-doubtful{background:var(--paper-bg);border-color:#b7894157}@supports (color:color-mix(in lab, red, red)){.chapter-analysis-panel.is-doubtful{background:color-mix(in srgb, var(--paper-bg) 88%, var(--gold-soft))}}.chapter-analysis-panel>header{justify-content:space-between;align-items:center;gap:16px;display:flex}.chapter-analysis-panel>header>div{gap:4px;display:grid}.chapter-analysis-panel>header small,.chapter-analysis-result p small{color:var(--reader-muted)}.chapter-analysis-panel>header button{border:1px solid var(--accent);flex:none;padding:9px 13px}@supports (color:color-mix(in lab, red, red)){.chapter-analysis-panel>header button{border:1px solid color-mix(in srgb, var(--accent) 34%, transparent)}}.chapter-analysis-panel>header button{color:var(--accent);background:var(--paper-bg);border-radius:999px;font-weight:650}.chapter-analysis-empty,.chapter-analysis-result p,.chapter-analysis-error{margin:0}.chapter-analysis-empty{color:var(--reader-muted);font-size:.86rem;line-height:1.7}.chapter-analysis-result{gap:11px;display:grid}.chapter-analysis-tags{flex-wrap:wrap;gap:6px;display:flex}.chapter-analysis-tags span,.chapter-analysis-tags em,.chapter-analysis-tags strong{border-radius:999px;padding:5px 8px;font-size:.74rem;font-style:normal}.chapter-analysis-tags span{color:#fff;background:var(--accent)}.chapter-analysis-tags em{color:var(--accent);background:var(--accent-soft)}.chapter-analysis-tags strong{color:#8b6426;background:var(--gold-soft)}.chapter-analysis-result p{color:var(--reader-ink);grid-template-columns:98px minmax(0,1fr);gap:12px;font-size:.88rem;line-height:1.65;display:grid}.chapter-analysis-issue,.chapter-analysis-suggestion{background:var(--paper-bg);border-radius:10px;padding:10px 12px}@supports (color:color-mix(in lab, red, red)){.chapter-analysis-issue,.chapter-analysis-suggestion{background:color-mix(in srgb, var(--paper-bg) 80%, var(--gold-soft))}}.chapter-analysis-suggestion{background:var(--paper-bg)}@supports (color:color-mix(in lab, red, red)){.chapter-analysis-suggestion{background:color-mix(in srgb, var(--paper-bg) 78%, var(--accent-soft))}}.chapter-analysis-tradeoff{color:var(--reader-muted)!important}.chapter-analysis-result details{color:var(--reader-muted);padding-top:4px;font-size:.8rem}.chapter-analysis-result summary{cursor:pointer}.chapter-analysis-result ul{gap:7px;margin:10px 0 0;padding-left:20px;line-height:1.6;display:grid}.chapter-analysis-error{color:#8b3b31;background:#9c433614;border-radius:10px;padding:10px 12px;font-size:.84rem;line-height:1.55}.book-title-field input:focus,.chapter-title input:focus,.chapter-editor:focus{box-shadow:none}.word-count{color:var(--faint);position:absolute;bottom:16px;right:18px}.selection-tools{z-index:15;border:1px solid var(--line);background:var(--surface);border-radius:11px;gap:2px;width:max-content;margin:-44px auto 14px;padding:5px;display:flex;position:sticky;top:12px;box-shadow:0 12px 34px #39312429}.selection-tools button{background:0 0;border:0;border-radius:7px;padding:7px 10px}.selection-tools button:hover{background:var(--warm)}.edge-zone{z-index:8;width:34px;position:absolute;top:0;bottom:0}.writing-page.is-immersive .edge-zone{width:88px;transition:background .16s}.writing-page.is-immersive .left-zone:hover{background:linear-gradient(90deg,#2f5c4b1c,#0000)}.writing-page.is-immersive .right-zone:hover{background:linear-gradient(270deg,#2f5c4b1c,#0000)}.left-zone{left:0}.right-zone{right:0}.edge-button{z-index:20;width:26px;height:48px;color:var(--faint);opacity:.35;background:0 0;border:0;font-size:1.6rem;transition:opacity .16s,background-color .16s;position:absolute;top:48%}.writing-page.is-immersive .edge-button{width:42px;height:76px;color:var(--reader-muted);background:var(--paper-bg);top:calc(50% - 38px)}@supports (color:color-mix(in lab, red, red)){.writing-page.is-immersive .edge-button{background:color-mix(in srgb, var(--paper-bg) 76%, transparent)}}.writing-page.is-immersive .edge-button{opacity:.5}.writing-page.is-immersive .edge-left{left:12px}.writing-page.is-immersive .edge-right{right:12px}.writing-page.is-immersive .left-zone:hover+.edge-left,.writing-page.is-immersive .right-zone:hover+.edge-right{opacity:1}.edge-button:hover,.edge-button:focus-visible,.edge-button[aria-expanded=true]{opacity:1;background:#fbfaf6db}.edge-left{left:0}.edge-right{right:0}.writing-drawer{z-index:18;border-color:var(--line);pointer-events:none;will-change:transform;background:#fbfaf6fa;width:min(330px,88vw);padding:22px;transition:transform .28s cubic-bezier(.22,1,.36,1);position:absolute;top:0;bottom:0;box-shadow:0 16px 52px #2c271f2e}.left-drawer{border-right:1px solid var(--line);left:0;transform:translate(-105%)}.right-drawer{border-left:1px solid var(--line);right:0;transform:translate(105%)}.writing-drawer.is-open{pointer-events:auto;transform:translate(0)}@media (width>=1100px){.writing-shell.has-left-pinned .editor-wrap{transform:translate(165px)}.writing-shell.has-right-pinned .editor-wrap{transform:translate(-165px)}}.drawer-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.drawer-head>div{gap:3px;display:grid}.drawer-head small{color:var(--muted)}.drawer-head button{color:var(--muted);background:var(--warm);border:0;border-radius:8px;padding:7px 9px;font-size:.82rem}.chapter-list,.drawer-links{gap:3px;display:grid}.chapter-list{max-height:min(52vh,520px);padding-right:3px;overflow-y:auto}.chapter-list button,.drawer-links button{color:var(--muted);text-align:left;background:0 0;border:0;border-radius:9px;padding:10px}.chapter-list button:hover,.drawer-links button:hover{background:var(--warm)}.chapter-list button.is-current{color:var(--ink);background:var(--accent-soft)}.chapter-list-row{grid-template-columns:minmax(0,1fr) 32px;gap:3px;display:grid}.chapter-list .chapter-open-button{gap:5px;display:grid}.chapter-list .chapter-open-button>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chapter-list .chapter-open-button small{color:var(--faint);font-size:.72rem}.chapter-list-meta{justify-content:space-between;align-items:center;gap:7px;display:flex}.chapter-list-meta em{color:var(--accent);text-overflow:ellipsis;white-space:nowrap;font-size:.67rem;font-style:normal;overflow:hidden}.chapter-list .chapter-trash-button{color:var(--faint);text-align:center;place-items:center;padding:0;display:grid}.chapter-list .chapter-trash-button:hover{color:#9a4c3e;background:#9a4c3e14}.chapter-trash-confirm{color:var(--muted);background:#9a4c3e12;border-radius:9px;gap:8px;padding:10px;font-size:.76rem;display:grid}.chapter-trash-confirm>div{gap:6px;display:flex}.chapter-trash-confirm button{border:1px solid var(--line);text-align:center;background:var(--surface);flex:1;padding:7px}.drawer-trash-status{color:var(--muted);margin:8px 0 0;font-size:.75rem;line-height:1.5}.chapter-list .new-chapter-button{border:1px dashed var(--line);color:var(--accent);text-align:center;margin-top:8px}.drawer-links{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.drawer-links span{float:right}.context-note{color:var(--muted);background:var(--accent-soft);border-radius:9px;padding:11px 12px;font-size:.82rem;line-height:1.5}.drawer-agent-switch{grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:10px;display:grid}.drawer-agent-switch button{border:1px solid var(--line);color:var(--muted);background:0 0;border-radius:8px;padding:7px 6px;font-size:.76rem}.drawer-agent-switch button.is-active{color:var(--accent);background:var(--accent-soft);border-color:#2f5c4b66}.platform-editor-entry{border:1px dashed var(--line);background:#ffffff70;border-radius:11px;gap:8px;margin-bottom:10px;padding:11px 12px;display:grid}.platform-editor-entry.is-active{background:var(--accent-soft);border-style:solid;border-color:#2f5c4b47}.platform-editor-entry>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.platform-editor-entry>div:first-child small{color:var(--accent);font-weight:700}.platform-editor-entry>div:first-child span,.platform-editor-entry>p,.platform-editor-entry details small{color:var(--muted);font-size:.72rem;line-height:1.5}.platform-editor-entry>p{margin:0}.platform-editor-entry>button{color:var(--accent);background:var(--surface);border:1px solid #2f5c4b47;border-radius:9px;padding:8px 10px;font-size:.78rem;font-weight:650}.platform-editor-entry details summary{cursor:pointer;color:var(--muted);font-size:.72rem}.platform-editor-entry details>div{flex-wrap:wrap;gap:7px;margin:7px 0 4px;display:flex}.platform-editor-entry details a{color:var(--accent);text-underline-offset:2px;font-size:.72rem;text-decoration:underline}.inspiration-draw-box{background:var(--gold-soft);border:1px solid #b7894138;border-radius:11px;gap:9px;margin-bottom:10px;padding:12px;display:grid}.inspiration-draw-box>div:first-child{justify-content:space-between;gap:10px;display:flex}.inspiration-draw-box>div:first-child small{color:var(--ink);font-weight:700}.inspiration-draw-box>div:first-child span,.inspiration-draw-box>p{color:var(--muted);font-size:.76rem}.linked-inspiration-list{background:var(--accent-soft);border:1px solid #2f5c4b2e;border-radius:9px;gap:7px;padding:10px;display:grid}.linked-inspiration-list>small{color:var(--accent);font-weight:700}.linked-inspiration-list>button{color:var(--ink);background:var(--surface);text-align:left;border:0;border-radius:8px;gap:3px;padding:8px 9px;display:grid}.linked-inspiration-list>button span{color:var(--muted);font-size:.7rem}.inspiration-draw-box>p{margin:0;line-height:1.5}.inspiration-draw-box>button{color:#fff;background:var(--accent);border:0;border-radius:8px;padding:8px 10px}.drawn-inspiration{border-top:1px solid #b7894133;gap:5px;padding-top:9px;display:grid}.drawn-inspiration small{color:var(--muted)}.drawn-inspiration p{max-height:72px;color:var(--muted);margin:0;font-size:.78rem;line-height:1.5;overflow:hidden}.inspiration-page{width:min(1180px,100% - 40px);margin:54px auto 100px}.inspiration-heading{justify-content:space-between;align-items:end;gap:40px;display:flex}.inspiration-heading>div:first-child{max-width:720px}.inspiration-heading small{color:var(--accent);font-weight:700}.inspiration-heading h1{margin:10px 0 14px;font-family:Songti SC,STSong,serif;font-size:clamp(2.5rem,5vw,4.7rem);line-height:1.08}.inspiration-heading p{color:var(--muted);margin:0;line-height:1.75}.inspiration-actions{flex:none;gap:10px;display:flex}.inspiration-scope{grid-template-columns:repeat(2,1fr);gap:10px;margin:34px 0 24px;display:grid}.inspiration-scope>div{color:var(--muted);background:var(--accent-soft);border:1px solid #2f5c4b33;border-radius:12px;grid-template-columns:auto 1fr;gap:12px;padding:13px 15px;display:grid}.inspiration-scope strong{color:var(--accent)}.inspiration-scope .is-future{border-style:dashed;border-color:var(--line);background:0 0}.inspiration-scope .is-future strong{color:var(--muted)}.library-draw-result{background:var(--gold-soft);border:1px solid #b789414d;border-radius:18px;margin:0 0 24px;padding:24px 26px}.library-draw-result small,.library-draw-result span{color:var(--muted)}.library-draw-result h2{margin:7px 0 8px;font-family:Songti SC,STSong,serif;font-size:1.7rem}.library-draw-result p{margin:0 0 12px;line-height:1.75}.inspiration-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.library-card{border:1px solid var(--line);background:var(--surface);border-radius:17px;flex-direction:column;min-height:286px;padding:21px;display:flex;box-shadow:0 14px 35px #39312412}.library-card-meta,.library-card-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:.75rem;display:flex}.library-card-meta>span{color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:4px 7px}.library-card h2{margin:20px 0 10px;font-family:Songti SC,STSong,serif;font-size:1.45rem;line-height:1.35}.library-card-title-button{color:inherit;font:inherit;line-height:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.library-card-title-button:hover{color:var(--accent)}.library-card-preview{color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;gap:10px;padding:0;display:grid}.library-card-preview>span{-webkit-line-clamp:5;-webkit-box-orient:vertical;line-height:1.7;display:-webkit-box;overflow:hidden}.library-card-preview>strong{color:var(--accent);font-size:.78rem;font-weight:750}.library-card-title-button:focus-visible,.library-card-preview:focus-visible{outline-offset:4px;outline:2px solid #2f5c4b73}.card-fragment{color:var(--muted);background:var(--warm);border-radius:9px;margin-top:16px;padding:9px 10px;font-size:.78rem}.library-card-footer{border-top:1px solid var(--line-soft);margin-top:auto;padding-top:20px}.library-card-footer>div{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.library-action-status{color:var(--accent);background:var(--accent-soft);border-radius:10px;margin:0 0 18px;padding:11px 13px}.inspiration-edit-form{gap:12px;margin-top:18px;display:grid}.inspiration-edit-form label{color:var(--muted);gap:6px;font-size:.8rem;display:grid}.inspiration-edit-form input,.inspiration-edit-form textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--paper);resize:vertical;border-radius:9px;padding:10px 11px}.inspiration-edit-form>div{justify-content:flex-end;gap:8px;display:flex}.inspiration-edit-form button{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:8px 11px}.inspiration-detail-backdrop{z-index:110;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#1f1d1980;place-items:start center;padding:5vh 20px;display:grid;position:fixed;inset:0;overflow-y:auto}.inspiration-detail{background:var(--paper);border:1px solid #ffffff85;border-radius:24px;width:min(920px,100%);max-height:90vh;overflow-y:auto;box-shadow:0 30px 90px #1e1b1647}.inspiration-detail-header{z-index:2;border-bottom:1px solid var(--line);background:var(--paper);justify-content:space-between;align-items:center;gap:18px;padding:16px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab, red, red)){.inspiration-detail-header{background:color-mix(in srgb, var(--paper) 92%, transparent)}}.inspiration-detail-header{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.inspiration-detail-header>div{color:var(--muted);flex-wrap:wrap;gap:8px 14px;font-size:.78rem;display:flex}.inspiration-detail-header>div span{color:var(--accent);font-weight:750}.inspiration-detail-header>button,.inspiration-detail-actions>button:not(.primary-button){border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:9px;padding:8px 12px}.inspiration-detail-view,.inspiration-detail-edit,.inspiration-detail-link{padding:38px 46px 44px}.inspiration-detail-title-row{justify-content:space-between;align-items:start;gap:28px;display:flex}.inspiration-detail-title-row>div:first-child{min-width:0}.inspiration-detail-toolbar{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:8px;display:flex}.inspiration-detail-toolbar button,.inspiration-organize-button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:9px;padding:9px 13px}.inspiration-detail-toolbar button.primary-button{border-color:var(--accent);color:#fff;background:var(--accent)}.inspiration-detail-title-row small,.inspiration-detail-intro small,.inspiration-detail-fragments>small{color:var(--accent);font-weight:750}.inspiration-detail-title-row h2,.inspiration-detail-intro h2{margin:8px 0 0;font-family:Songti SC,STSong,serif;font-size:clamp(2rem,4vw,3.2rem);line-height:1.18}.inspiration-detail-idea-text{color:var(--ink);overflow-wrap:anywhere;white-space:pre-wrap;margin:34px 0 0;font-family:Songti SC,STSong,serif;font-size:1.1rem;line-height:2}.inspiration-confirmed-summary{gap:16px;margin-top:34px;display:grid}.inspiration-summary-stale{color:#795d35;background:var(--gold-soft);border-radius:10px;margin:0;padding:12px 14px;line-height:1.65}.inspiration-confirmed-summary>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.inspiration-confirmed-summary section{border:1px solid var(--line-soft);background:var(--surface);border-radius:14px;padding:18px}.inspiration-confirmed-summary small,.inspiration-usage-list>div small,.inspiration-link-source small{color:var(--accent);font-weight:750}.inspiration-confirmed-summary p{overflow-wrap:anywhere;white-space:pre-wrap;margin:9px 0 0;line-height:1.8}.inspiration-confirmed-summary .inspiration-detail-idea-text{margin-top:9px}.inspiration-confirmed-summary ul{gap:8px;margin:10px 0 0;padding-left:20px;line-height:1.7;display:grid}.inspiration-legacy-note{background:var(--gold-soft);border:1px dashed #b7894173;border-radius:14px;margin-top:30px;padding:20px}.inspiration-legacy-note small{color:#795d35;font-weight:750}.inspiration-legacy-note p{color:var(--muted);margin:8px 0 14px;line-height:1.75}.inspiration-legacy-note button{color:#795d35;background:var(--surface);border:1px solid #b7894161;border-radius:9px;padding:9px 12px}.inspiration-conversation-history{border-top:1px solid var(--line);margin-top:34px}.inspiration-conversation-history summary{color:var(--accent);cursor:pointer;justify-content:space-between;gap:18px;padding:20px 0 0;display:flex}.inspiration-conversation-history summary span{color:var(--muted);font-size:.78rem}.inspiration-conversation-history>div{gap:10px;margin-top:14px;display:grid}.inspiration-conversation-history article{background:var(--warm);border-radius:12px;padding:14px 16px}.inspiration-conversation-history article.user{background:var(--surface)}.inspiration-conversation-history article small{color:var(--muted);font-weight:700}.inspiration-conversation-history article p{overflow-wrap:anywhere;white-space:pre-wrap;margin:6px 0 0;line-height:1.75}.inspiration-usage-list{border-top:1px solid var(--line);gap:10px;margin-top:34px;padding-top:24px;display:grid}.inspiration-usage-list>div,.inspiration-usage-list article header,.inspiration-link-draft>div{justify-content:space-between;align-items:center;gap:16px;display:flex}.inspiration-usage-list>div span,.inspiration-usage-list article header span{color:var(--muted);font-size:.78rem}.inspiration-usage-list article{background:var(--accent-soft);border:1px solid #2f5c4b29;border-radius:12px;padding:15px 16px}.inspiration-usage-list article p{margin:10px 0;line-height:1.7}.inspiration-usage-list article>small{color:var(--muted)}.inspiration-detail-fragments{border-top:1px solid var(--line);margin-top:36px;padding-top:26px}.inspiration-detail-fragments>div{gap:10px;margin-top:12px;display:grid}.inspiration-detail-fragments p{background:var(--warm);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:12px;margin:0;padding:14px 16px;line-height:1.75}.inspiration-detail-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:20px;margin-top:36px;padding-top:18px;font-size:.82rem;display:flex}.inspiration-detail-footer strong{color:var(--ink)}.inspiration-detail-edit{gap:22px;display:grid}.inspiration-detail-intro p{color:var(--muted);margin:10px 0 0;line-height:1.7}.inspiration-detail-edit label{color:var(--muted);gap:8px;font-size:.84rem;font-weight:650;display:grid}.inspiration-detail-edit input,.inspiration-detail-edit textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--surface);font:inherit;border-radius:12px;padding:14px 15px}.inspiration-detail-edit textarea{resize:vertical;min-height:340px;font-family:Songti SC,STSong,serif;font-size:1.05rem;line-height:1.85}.inspiration-detail-edit .inspiration-summary-form textarea{min-height:0;font-family:inherit;font-size:.95rem;line-height:1.7}.inspiration-summary-form.is-detail-edit{background:var(--accent-soft);border:1px solid #2f5c4b29;border-radius:14px;padding:20px}.inspiration-raw-edit{border-top:1px solid var(--line)}.inspiration-raw-edit summary{color:var(--muted);cursor:pointer;padding-top:16px}.inspiration-raw-edit label{margin-top:12px}.inspiration-raw-edit textarea{min-height:180px}.inspiration-detail-edit input:focus,.inspiration-detail-edit textarea:focus{border-color:#2f5c4b8c;outline:3px solid #2f5c4b1a}.inspiration-detail-actions{justify-content:flex-end;gap:10px;display:flex}.inspiration-detail-link{gap:22px;display:grid}.inspiration-link-targets{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.inspiration-link-targets label,.inspiration-link-draft label{color:var(--muted);gap:7px;font-size:.82rem;font-weight:700;display:grid}.inspiration-link-targets select,.inspiration-link-draft textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--surface);font:inherit;border-radius:10px;padding:12px 13px}.inspiration-link-draft textarea{resize:vertical;line-height:1.7}.inspiration-link-source{background:var(--warm);border-radius:12px;padding:16px 18px}.inspiration-link-source p{white-space:pre-wrap;margin:8px 0 0;line-height:1.75}.inspiration-link-source span{color:var(--muted);margin-top:9px;font-size:.78rem;display:block}.inspiration-link-generate{justify-self:start}.inspiration-link-draft{background:var(--accent-soft);border:1px solid #2f5c4b2e;border-radius:14px;gap:14px;padding:20px;display:grid}.inspiration-link-draft>div small{color:var(--muted)}.inspiration-link-draft>div strong{color:var(--accent)}.empty-inspiration-library{border:1px dashed var(--line);text-align:center;background:var(--surface);border-radius:18px;align-content:center;place-items:center;gap:10px;min-height:340px;padding:40px;display:grid}.empty-inspiration-library>span{width:54px;height:54px;color:var(--muted);background:var(--warm);border-radius:50%;place-items:center;display:grid}.empty-inspiration-library h2,.empty-inspiration-library p{margin:0}.empty-inspiration-library p{max-width:520px;color:var(--muted);line-height:1.7}.materials-page{width:min(1040px,100% - 40px);margin:54px auto 100px}.materials-heading{justify-content:space-between;align-items:end;gap:36px;display:flex}.materials-heading>div{max-width:720px}.materials-heading small{color:var(--accent);font-weight:700}.materials-heading h1{margin:10px 0 14px;font-family:Songti SC,STSong,serif;font-size:clamp(2.5rem,5vw,4.7rem);line-height:1.08}.materials-heading p{color:var(--muted);margin:0;line-height:1.75}.materials-heading>button{flex:none}.materials-scope{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:34px 0 22px;display:grid}.materials-scope>div{border:1px solid var(--line);background:#ffffffad;border-radius:14px;grid-template-columns:auto 1fr;gap:5px 14px;padding:16px 18px;display:grid}.materials-scope small{color:var(--accent);background:var(--accent-soft);border-radius:999px;grid-row:1/3;align-self:start;padding:5px 8px;font-weight:700}.materials-scope strong{line-height:1.5}.materials-scope span{color:var(--muted);font-size:.82rem;line-height:1.55}.materials-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.materials-toolbar button{border:1px solid var(--line);color:var(--muted);background:#ffffffb8;border-radius:999px;padding:8px 12px}.materials-toolbar button.is-active{border-color:var(--accent);color:#fff;background:var(--accent)}.materials-status{color:var(--accent);background:var(--accent-soft);border-radius:10px;margin:-7px 0 18px;padding:11px 13px;line-height:1.55}.materials-list{gap:16px;display:grid}.material-library-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:24px 26px;box-shadow:0 14px 35px #3931240e}.material-library-card>header,.material-card-footer{justify-content:space-between;align-items:center;gap:16px;display:flex}.material-library-card>header>div{flex-wrap:wrap;gap:6px;display:flex}.material-library-card>header span{color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:4px 8px;font-size:.74rem;font-weight:700}.material-library-card>header small,.material-card-footer>span{color:var(--muted)}.material-library-card h2{margin:20px 0 8px;font-family:Songti SC,STSong,serif;font-size:1.55rem}.material-origin{color:var(--muted);margin:0;line-height:1.65}.material-body{color:var(--ink);white-space:pre-wrap;-webkit-line-clamp:6;-webkit-box-orient:vertical;margin-top:20px;font-family:Songti SC,STSong,serif;font-size:1.04rem;line-height:1.95;display:-webkit-box;overflow:hidden}.material-body.is-expanded{display:block;overflow:visible}.material-review-note{background:var(--warm);border-radius:12px;gap:6px;margin-top:20px;padding:14px 16px;display:grid}.material-review-note>span{color:var(--accent);font-size:.8rem;font-weight:750}.material-review-note p{color:var(--muted);margin:0;font-size:.86rem;line-height:1.6}.material-review-note strong{color:var(--ink)}.material-card-footer{border-top:1px solid var(--line-soft);margin-top:22px;padding-top:16px;font-size:.82rem}.material-card-footer>div{gap:7px;display:flex}.material-card-footer button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:8px;padding:7px 10px}.material-card-footer button:hover{color:var(--ink);background:var(--warm)}.material-card-footer button.is-confirming{color:#8a4038;background:#fbefed;border-color:#9d493e59}.material-delete-confirm{background:#fff8f6;border:1px solid #9d493e47;border-radius:11px;justify-content:space-between;align-items:center;gap:18px;margin-top:12px;padding:14px 16px;display:flex}.material-delete-confirm>div:first-child{gap:4px;display:grid}.material-delete-confirm span{color:var(--muted);font-size:.82rem;line-height:1.5}.material-delete-confirm>div:last-child{flex:none;gap:8px;display:flex}.material-delete-confirm button{border:1px solid var(--line);min-height:36px;color:var(--muted);background:var(--surface);border-radius:8px;padding:0 12px}.material-delete-confirm button.is-confirming{color:#fff;background:#9d493e;border-color:#9d493e6b}.empty-material-library{border:1px dashed var(--line);text-align:center;background:var(--surface);border-radius:18px;align-content:center;place-items:center;gap:10px;min-height:330px;padding:40px;display:grid}.empty-material-library>span{width:54px;height:54px;color:var(--muted);background:var(--warm);border-radius:50%;place-items:center;display:grid}.empty-material-library h2,.empty-material-library p{margin:0}.empty-material-library p{max-width:530px;color:var(--muted);line-height:1.7}.ai-thread{align-content:start;gap:12px;min-height:380px;padding:22px 0;display:grid}.assistant-message,.user-message{border-radius:12px;margin:0;padding:12px 13px;line-height:1.65}.assistant-message{background:var(--warm);margin-right:26px}.model-thinking{color:var(--muted);font-style:italic}.user-message{background:var(--accent-soft);margin-left:35px}.chat-composer{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:10px;display:grid}.chat-composer textarea{resize:none;background:0 0;border:0;width:100%;padding:4px}.chat-composer button{color:#fff;background:var(--accent);border:0;border-radius:8px;justify-self:end;padding:7px 12px}.practice-page,.feedback-page{width:min(1180px,100% - 40px);margin:60px auto 100px}.practice-layout{grid-template-columns:220px minmax(0,1fr) 260px;align-items:start;gap:20px;display:grid}.practice-menu,.practice-workbench,.material-box,.feedback-form{border:1px solid var(--line);background:#ffffffc7;border-radius:18px;padding:20px}.practice-menu{gap:5px;display:grid}.practice-menu button{text-align:left;background:0 0;border:0;border-radius:10px;gap:5px;padding:12px;display:grid}.practice-menu button small{color:var(--muted)}.practice-menu button.is-selected{background:var(--accent-soft)}.practice-workbench{padding:30px}.practice-workbench>small{color:var(--accent);font-weight:700}.practice-workbench h2{margin:9px 0 12px;font-family:Songti SC,STSong,serif;font-size:2rem}.practice-workbench>p{color:var(--muted);line-height:1.75}.practice-workbench textarea{resize:vertical;border:1px solid var(--line);background:var(--paper);border-radius:12px;width:100%;margin-top:14px;padding:16px;font-family:Songti SC,STSong,serif;line-height:1.9}.practice-actions{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.practice-action-buttons{gap:9px;display:flex}.practice-action-buttons button{min-height:42px}.skip-practice-button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:10px;padding:0 14px}.skip-practice-button:hover{color:var(--ink);background:var(--warm)}.material-box>div{justify-content:space-between;margin-bottom:14px;display:flex}.material-box p{border-bottom:1px solid var(--line-soft);color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;padding:12px 0;line-height:1.6;display:-webkit-box;overflow:hidden}.material-box .empty-material{border:0}.practice-heading{max-width:780px}.practice-heading-row{justify-content:space-between;align-items:flex-end;gap:28px;display:flex}.practice-library-entry{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:16px;flex:0 0 190px;gap:6px;padding:18px;display:grid;box-shadow:0 12px 34px #39312412}.practice-library-entry:hover{background:var(--accent-soft);border-color:#2f5c4b6b}.practice-library-entry small,.practice-library-entry span{color:var(--muted)}.practice-library-entry strong{font-family:Songti SC,STSong,serif;font-size:1.25rem}.practice-library-entry span{color:var(--accent);font-size:.88rem}.practice-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:34px;display:grid}.practice-mode-card{border:1px solid var(--line);text-align:left;background:#ffffffc7;border-radius:20px;flex-direction:column;align-items:flex-start;min-height:310px;padding:24px;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex}.practice-mode-card:hover{border-color:#2f5c4b6b;transform:translateY(-4px);box-shadow:0 18px 45px #3931241a}.practice-mode-number{color:var(--faint);font-family:Songti SC,STSong,serif;font-size:2.5rem}.practice-mode-card>small{color:var(--accent);margin-top:30px;font-weight:700}.practice-mode-card h2{margin:8px 0 10px;font-family:Songti SC,STSong,serif;font-size:1.55rem}.practice-mode-card p{color:var(--muted);margin:0 0 28px;line-height:1.75}.quick-practice-progress-note{color:#7b6b54;margin:-16px 0 22px;font-size:.82rem;line-height:1.55;display:block}.practice-mode-card>strong{color:var(--accent);margin-top:auto}.practice-principles{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px;display:grid}.practice-principles>div{border:1px solid var(--line-soft);background:var(--warm);border-radius:16px;padding:22px 24px}.practice-principles small,.practice-history-heading small,.practice-report-page small,.practice-session-aside small{color:var(--accent);font-weight:700}.practice-principles strong{margin-top:7px;display:block}.practice-principles p{color:var(--muted);margin:8px 0 0;line-height:1.65}.practice-history{margin-top:46px}.practice-history-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px;display:flex}.practice-history-heading h2{margin:5px 0 0;font-family:Songti SC,STSong,serif}.practice-history-heading>span{color:var(--muted)}.practice-history-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.practice-history-list article{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:18px}.practice-history-list small{color:var(--muted)}.practice-history-list strong{margin-top:10px;line-height:1.5;display:block}.practice-history-list p{color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:8px 0 0;line-height:1.6;display:-webkit-box;overflow:hidden}.text-back-button{color:var(--muted);background:0 0;border:0;padding:8px 0}.text-back-button:hover{color:var(--ink)}.practice-setup-shell,.practice-session-shell,.practice-report-page{max-width:1060px;margin:0 auto}.practice-setup-heading{max-width:700px;margin:32px 0 42px}.practice-setup-heading small{color:var(--accent);font-weight:700}.practice-setup-heading h1{margin:8px 0 10px;font-family:Songti SC,STSong,serif;font-size:clamp(2.2rem,5vw,3.6rem)}.practice-setup-heading p{color:var(--muted);line-height:1.75}.practice-setup-section{border-top:1px solid var(--line);padding:28px 0}.practice-setup-label{align-items:flex-start;gap:14px;margin-bottom:18px;display:flex}.practice-setup-label>span{width:28px;height:28px;color:var(--accent);background:var(--accent-soft);border-radius:50%;flex:none;place-items:center;font-weight:750;display:grid}.practice-setup-label strong,.practice-setup-label small{display:block}.practice-setup-label small{color:var(--muted);margin-top:5px}.practice-option-grid{gap:10px;display:grid}.genre-options{grid-template-columns:repeat(5,minmax(0,1fr))}.skill-options{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-option-grid button,.practice-count-options button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:13px;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;min-height:86px;padding:14px;display:flex}.practice-option-grid button small,.practice-count-options button small{color:var(--muted);line-height:1.45}.practice-option-grid button.is-selected,.practice-count-options button.is-selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}.practice-count-options{gap:10px;display:flex}.practice-count-options button{min-width:150px}.practice-expectation-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.practice-expectation-fields label{gap:9px;font-weight:650;display:grid}.practice-expectation-fields textarea{resize:vertical;border:1px solid var(--line);background:var(--surface);border-radius:12px;width:100%;padding:14px;line-height:1.7}.practice-setup-submit{background:var(--ink);color:#fff;border-radius:17px;justify-content:space-between;align-items:center;gap:28px;padding:26px 28px;display:flex}.practice-setup-submit p{color:#ffffffb8;max-width:660px;margin:0;line-height:1.65}.practice-setup-submit .primary-button{color:var(--ink);background:#fff;flex:none}.practice-session-topline{color:var(--muted);justify-content:space-between;align-items:center;gap:18px;display:flex}.practice-session-topline>span{font-size:.9rem}.practice-skip-notice{color:var(--accent);background:var(--accent-soft);border:1px solid #2f5c4b29;border-radius:10px;margin:18px 0 -5px;padding:11px 13px;font-size:.88rem;line-height:1.6}.practice-progress{align-items:center;gap:14px;margin:24px 0;display:flex}.practice-progress>span{background:var(--line-soft);border-radius:999px;flex:1;height:5px;overflow:hidden}.practice-progress i{border-radius:inherit;background:var(--accent);height:100%;transition:width .24s;display:block}.practice-progress strong{color:var(--muted);font-size:.9rem}.practice-session-layout{grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:20px;display:grid}.practice-live-workbench{background:var(--surface);padding:clamp(24px,4vw,46px);box-shadow:0 20px 55px #39312417}.practice-question-meta{align-items:center;gap:10px;display:flex}.practice-question-meta small{color:var(--muted)}.practice-question-meta span{color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:5px 9px;font-size:.82rem;font-weight:700}.practice-live-workbench>h1{margin:16px 0 14px;font-family:Songti SC,STSong,serif;font-size:clamp(2rem,4vw,3rem)}.practice-question-prompt{white-space:pre-line;font-family:Songti SC,STSong,serif;font-size:1.08rem;color:var(--ink)!important;line-height:1.95!important}.practice-constraint{background:var(--gold-soft);border-left:3px solid #b58b4e;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;margin:20px 0;padding:14px 16px;display:grid}.practice-constraint small{color:#7b5b2e;font-weight:750}.practice-constraint p{color:#5d4a30;margin:0;line-height:1.6}.practice-constraint>span{color:#7b6b54;white-space:nowrap;font-size:.82rem}.quick-practice-support{background:#f4f8f5;border:1px solid #2f5c4b2e;border-radius:13px;justify-content:space-between;align-items:center;gap:18px;margin:-4px 0 22px;padding:15px 16px;display:flex}.quick-practice-support>div:first-child{gap:4px;display:grid}.quick-practice-support span{color:var(--muted);font-size:.86rem;line-height:1.55}.quick-practice-support>div:last-child{flex:none;gap:8px;display:flex}.quick-practice-support button{min-height:38px;color:var(--accent);background:var(--surface);border:1px solid #2f5c4b4d;border-radius:9px;padding:0 12px}.quick-practice-support button:hover{background:var(--accent-soft)}.quick-practice-lesson{background:#fffaf0;border:1px solid #b58b4e52;border-radius:15px;margin:0 0 24px;padding:20px}.quick-practice-lesson header{gap:6px;display:grid}.quick-practice-lesson header small,.quick-practice-example small{color:#8a6836;font-weight:750}.quick-practice-lesson ol{color:#554b3c;margin:16px 0;padding-left:1.35rem;line-height:1.75}.quick-practice-example{background:#b58b4e1a;border-radius:11px;padding:15px 16px}.quick-practice-example p{color:#4c4438;margin:8px 0 0;font-family:Songti SC,STSong,serif;line-height:1.65}.quick-practice-lesson>p{color:var(--muted);margin:15px 0 0;line-height:1.65}.practice-answer-field{margin-top:26px;font-weight:700;display:grid}.practice-answer-field textarea{background:var(--paper);min-height:290px;margin-top:10px}.practice-answer-field textarea:disabled{color:var(--ink);opacity:1}.practice-review-card{background:#f8fbf9;border:1px solid #2f5c4b3d;border-radius:16px;gap:0;margin-top:26px;display:grid;overflow:hidden}.practice-review-card header,.practice-review-card>div{border-bottom:1px solid #2f5c4b21;padding:18px 20px}.practice-review-card header{background:var(--accent-soft);justify-content:space-between;align-items:center;display:flex}.practice-review-card header small,.practice-review-card header strong{display:block}.practice-review-card header strong{color:var(--accent);margin-top:3px;font-size:1.35rem}.practice-review-card header>span{color:var(--accent);font-weight:750}.practice-review-card>div>small{color:var(--muted);font-weight:700}.practice-review-card p{margin:7px 0 0;line-height:1.75}.practice-review-card .practice-revision-task{background:#fff;border-bottom:0}.practice-review-card .practice-review-actions{background:#fff;border-top:1px solid #2f5c4b21;border-bottom:0;justify-content:flex-end;gap:10px;display:flex}.practice-review-actions button,.practice-report-actions button{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:10px 14px}.practice-review-actions .primary-button,.practice-report-actions .primary-button{border-color:var(--accent);color:#fff;background:var(--accent)}.practice-review-actions button.is-saved{color:var(--accent);background:var(--accent-soft);border-color:#2f5c4b40}.practice-review-card .material-save-status{color:var(--accent);background:#f8fbf9;border-top:1px solid #2f5c4b21;margin:0;padding:12px 20px;font-size:.86rem;line-height:1.6}.material-save-status button,.practice-material-summary button{color:var(--accent);background:0 0;border:0;border-bottom:1px solid;padding:0;font-weight:700}.practice-session-aside{gap:12px;display:grid}.practice-session-aside section{border:1px solid var(--line);background:#ffffffb8;border-radius:14px;padding:18px}.practice-material-summary>strong{margin-top:7px;font-size:1.35rem;display:block}.practice-material-summary>p{margin-bottom:11px}.practice-session-aside dl{gap:10px;margin:15px 0 0;display:grid}.practice-session-aside dl div{justify-content:space-between;gap:14px;display:flex}.practice-session-aside dt{color:var(--muted)}.practice-session-aside dd{text-align:right;margin:0}.practice-session-aside>section>strong{margin-top:6px;font-size:1.5rem;display:block}.practice-session-aside p{color:var(--muted);margin:10px 0 0;font-size:.88rem;line-height:1.6}.practice-mini-scores{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.practice-mini-scores span{background:var(--warm);border-radius:8px;align-items:center;gap:6px;padding:6px 8px;display:flex}.practice-mini-scores span.is-skipped{color:#785d36;background:var(--gold-soft)}.practice-mini-scores i{color:var(--muted);font-size:.76rem;font-style:normal}.practice-report-hero{grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);align-items:end;gap:42px;margin:32px 0 34px;display:grid}.practice-report-hero h1{margin:10px 0 0;font-family:Songti SC,STSong,serif;font-size:clamp(2.25rem,5vw,4rem);line-height:1.2}.practice-report-hero>p{border-left:2px solid var(--line);color:var(--muted);margin:0;padding-left:20px;line-height:1.7}.practice-report-grid{grid-template-columns:.9fr 1.1fr;gap:18px;display:grid}.practice-skip-report{background:var(--gold-soft);border:1px solid #b7894147;border-radius:18px;grid-template-columns:1.2fr .8fr;gap:30px;margin-top:18px;padding:26px;display:grid}.practice-skip-report h2{margin:7px 0 9px;font-family:Songti SC,STSong,serif}.practice-skip-report h3{margin:20px 0 7px;font-size:.9rem}.practice-skip-report p{color:#675d50;margin:0;line-height:1.75}.practice-skip-report-list{align-content:start;gap:8px;display:grid}.practice-skip-report-list span{color:var(--muted);background:#ffffff94;border-radius:10px;grid-template-columns:auto 1fr;gap:10px;padding:9px 11px;font-size:.84rem;line-height:1.45;display:grid}.practice-skip-report-list strong{color:#795d35}.practice-complete-page{max-width:820px;margin:0 auto}.practice-complete-card{border:1px solid var(--line);background:var(--surface);text-align:center;border-radius:24px;justify-items:center;margin-top:28px;padding:clamp(34px,7vw,70px);display:grid;box-shadow:0 20px 55px #39312417}.practice-complete-card>span{color:#fff;background:var(--accent);border-radius:50%;place-items:center;width:54px;height:54px;margin-bottom:18px;font-size:1.35rem;display:grid}.practice-complete-card>small{color:var(--accent);font-weight:750}.practice-complete-card h1{margin:10px 0 12px;font-family:Songti SC,STSong,serif;font-size:clamp(2rem,5vw,3.2rem);line-height:1.2}.practice-complete-card>p{max-width:620px;color:var(--muted);margin:0;line-height:1.75}.practice-complete-skips{gap:8px;width:min(540px,100%);margin:24px 0;display:grid}.practice-complete-skips>div{color:var(--muted);background:var(--warm);text-align:left;border-radius:10px;justify-content:space-between;gap:16px;padding:10px 12px;display:flex}.practice-complete-skips strong{color:#795d35;white-space:nowrap}.practice-skip-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1f1d1975;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.practice-skip-dialog{background:var(--paper);border:1px solid #ffffff80;border-radius:22px;width:min(560px,100%);padding:28px;box-shadow:0 28px 80px #1e1b163d}.practice-skip-dialog>small{color:var(--accent);font-weight:750}.practice-skip-dialog h2{margin:8px 0 10px;font-family:Songti SC,STSong,serif;font-size:2rem}.practice-skip-dialog>p{color:var(--muted);margin:0;line-height:1.7}.practice-skip-options{gap:10px;margin-top:22px;display:grid}.practice-skip-help{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px;padding-bottom:18px;display:grid}.practice-skip-help button{color:var(--accent);background:var(--accent-soft);text-align:left;border:1px solid #2f5c4b4d;border-radius:13px;gap:6px;padding:16px;display:grid}.practice-skip-help span{color:var(--muted);font-size:.82rem;line-height:1.5}.practice-skip-options button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:13px;gap:6px;padding:16px;display:grid}.practice-skip-options button:hover,.practice-skip-options button:focus-visible{border-color:var(--accent);background:var(--accent-soft)}.practice-skip-options span{color:var(--muted);font-size:.85rem;line-height:1.55}.practice-skip-cancel{width:100%;color:var(--muted);background:0 0;border:0;margin-top:12px;padding:10px}.practice-score-panel,.practice-tendency-panel,.practice-findings-grid>section,.practice-next-plan{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:26px}.practice-score-panel h2{margin:8px 0 22px;font-family:Songti SC,STSong,serif}.practice-score-list{gap:16px;display:grid}.practice-score-row>div{justify-content:space-between;gap:12px;margin-bottom:7px;display:flex}.practice-score-row>div strong{color:var(--accent)}.practice-score-row>span{background:var(--line-soft);border-radius:999px;height:7px;display:block;overflow:hidden}.practice-score-row i{border-radius:inherit;background:linear-gradient(90deg, #789887, var(--accent));height:100%;display:block}.practice-tendency-panel>small:not(:first-child){margin-top:22px;display:block}.practice-tendency-panel p{margin:8px 0 0;line-height:1.78}.practice-findings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px;display:grid}.practice-findings-grid h2{margin:7px 0 20px;font-family:Songti SC,STSong,serif}.practice-findings-grid article{border-top:1px solid var(--line-soft);padding:14px 0}.practice-findings-grid article p,.practice-findings-grid>section>p{color:var(--muted);margin:7px 0 0;line-height:1.7}.practice-next-plan{background:var(--ink);color:#fff;grid-template-columns:.7fr 1.3fr;gap:30px;margin-top:18px;display:grid}.practice-next-plan small{color:#b9d0c5}.practice-next-plan h2{margin:7px 0 0;font-family:Songti SC,STSong,serif}.practice-next-plan ol{color:#ffffffd1;gap:14px;margin:0;padding-left:22px;line-height:1.7;display:grid}.practice-report-boundary{color:var(--muted);margin:16px 0 0;font-size:.9rem;line-height:1.65}.practice-report-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.story-bible-page{background:radial-gradient(circle at 12% 0%, #2f5c4b1a, transparent 30rem), var(--paper);min-height:100vh}.story-bible-topbar{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:18px;width:min(1180px,100% - 40px);margin:0 auto;padding:22px 0;display:grid}.story-bible-topbar>button:first-child{border:1px solid var(--line);background:var(--surface);border-radius:50%;width:38px;height:38px}.story-bible-topbar>div{gap:3px;display:grid}.story-bible-topbar small{color:var(--muted)}.story-extract-button{border:1px solid var(--accent);color:#fff;background:var(--accent);border-radius:11px;min-height:42px;padding:0 17px;font-weight:650}.story-bible-shell{width:min(1180px,100% - 40px);margin:46px auto 100px}.story-bible-intro{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:48px;display:grid}.story-bible-intro>div:first-child{max-width:760px}.story-bible-intro small,.story-form>div:first-child small,.story-character-card header small,.story-facts>div:first-child small{color:var(--accent);letter-spacing:.06em;font-weight:700}.story-bible-intro h1{letter-spacing:-.045em;margin:12px 0 18px;font-family:Songti SC,STSong,serif;font-size:clamp(2.6rem,5vw,4.6rem);font-weight:600;line-height:1.12}.story-bible-intro p,.story-form>div:first-child p,.story-suggestion-boundary p{color:var(--muted);margin:0;line-height:1.75}.story-bible-counts{gap:8px;display:flex}.story-bible-counts span{border:1px solid var(--line);min-width:88px;color:var(--muted);text-align:center;background:#ffffffb8;border-radius:13px;gap:4px;padding:14px;font-size:.84rem;display:grid}.story-bible-counts strong{color:var(--ink);font-family:Songti SC,STSong,serif;font-size:1.5rem}.story-bible-tabs{border:1px solid var(--line-soft);background:var(--warm);border-radius:13px;gap:6px;margin:34px 0 20px;padding:6px;display:flex}.story-bible-tabs button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:10px 15px}.story-bible-tabs button.is-active{color:var(--ink);background:var(--surface);box-shadow:0 5px 15px #39312414}.story-bible-status{color:var(--accent-hover);background:var(--accent-soft);border-radius:10px;margin:0 0 18px;padding:12px 14px;line-height:1.6}.story-character-layout{grid-template-columns:230px minmax(0,1fr);align-items:start;gap:20px;display:grid}.story-character-list{border:1px solid var(--line);background:#ffffffad;border-radius:17px;gap:7px;padding:10px;display:grid}.story-character-list button{text-align:left;background:0 0;border:0;border-radius:10px;gap:4px;padding:12px;display:grid}.story-character-list button:first-child{color:var(--accent);font-weight:700}.story-character-list button.is-active,.story-character-list button.is-creating{background:var(--accent-soft)}.story-character-list small{color:var(--muted)}.story-character-main,.story-form,.story-character-card,.story-relationship-list>article,.story-suggestions>article{border:1px solid var(--line);background:var(--surface);border-radius:19px;min-width:0;box-shadow:0 16px 45px #39312414}.story-form,.story-character-card{padding:28px}.story-form h2,.story-character-card h2{margin:8px 0 6px;font-family:Songti SC,STSong,serif;font-size:1.8rem}.story-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:24px;display:grid}.story-form-grid label,.story-suggestions article>label,.story-suggestion-fields label{gap:7px;font-weight:650;display:grid}.story-form-grid input,.story-form-grid textarea,.story-form-grid select,.story-suggestions input,.story-suggestions textarea{border:1px solid var(--line);background:var(--paper);resize:vertical;border-radius:9px;width:100%;padding:11px 12px;font-weight:400}.story-form-wide{grid-column:1/-1}.story-form-actions,.story-suggestion-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.story-form-actions>button:not(.primary-button),.story-suggestion-actions>button:not(.primary-button),.story-character-card header>button,.story-relationship-list header>button{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:9px 13px}.story-character-card>header,.story-relationship-list article>header{justify-content:space-between;align-items:start;gap:20px;display:flex}.story-character-card header p{color:var(--muted);margin:0}.story-character-card dl,.story-relationship-list dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0;display:grid}.story-character-card dl>div,.story-relationship-list dl>div{background:var(--warm);border-radius:11px;padding:14px}.story-character-card dt,.story-relationship-list dt{color:var(--muted);font-size:.82rem}.story-character-card dd,.story-relationship-list dd{margin:7px 0 0;line-height:1.6}.story-facts{border-top:1px solid var(--line-soft);padding-top:22px}.story-facts>div:first-child{justify-content:space-between;margin-bottom:12px;display:flex}.story-facts article{border:1px solid var(--line-soft);background:var(--paper);border-radius:10px;padding:13px 70px 13px 14px;position:relative}.story-facts article+article{margin-top:8px}.story-facts article p{margin:0 0 6px;line-height:1.6}.story-facts article small{color:var(--muted)}.story-facts article button{color:var(--muted);background:0 0;border:0;position:absolute;top:12px;right:12px}.story-add-fact{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:12px;display:grid}.story-add-fact textarea{border:1px solid var(--line);resize:vertical;border-radius:9px;padding:11px}.story-add-fact button{border:1px solid var(--accent);color:var(--accent);background:var(--accent-soft);border-radius:9px;padding:0 15px}.story-relationship-layout{grid-template-columns:minmax(340px,.85fr) minmax(0,1.15fr);align-items:start;gap:20px;display:grid}.relationship-form{position:sticky;top:20px}.story-relationship-list{gap:12px;display:grid}.story-relationship-list>article{box-shadow:none;padding:22px}.story-relationship-list h3{margin:6px 0 0;font-family:Songti SC,STSong,serif;font-size:1.35rem}.story-relationship-list header small{color:var(--accent);font-weight:700}.story-relationship-list details{border-top:1px solid var(--line-soft);color:var(--muted);padding-top:12px}.story-relationship-list details p{margin:9px 0 0;line-height:1.55}.story-empty-note{border:1px dashed var(--line);color:var(--muted);background:#ffffff80;border-radius:14px;padding:28px;line-height:1.7}.story-suggestions{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.story-suggestion-boundary,.story-suggestions>.story-empty-note{grid-column:1/-1}.story-suggestion-boundary{border-left:3px solid var(--accent);background:var(--accent-soft);padding:18px 20px}.story-suggestions>article{box-shadow:none;align-content:start;gap:13px;padding:22px;display:grid}.story-suggestions>article.is-conflict{background:#fffaf4;border-color:#cda887}.story-suggestions article>header{justify-content:space-between;gap:12px;display:flex}.story-suggestions header span{color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:4px 8px;font-size:.82rem;font-weight:700}.story-suggestions header small{color:var(--muted)}.story-suggestion-fields{gap:10px;display:grid}.story-suggestions blockquote{border-left:3px solid var(--line);color:var(--muted);background:var(--paper);margin:2px 0 0;padding:13px;line-height:1.65}.story-suggestions blockquote small{color:var(--faint);margin-top:7px;display:block}.worldview-page{background:radial-gradient(circle at 85% 0%, #9a763b1f, transparent 30rem), var(--paper);min-height:100vh}.worldview-topbar{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:18px;width:min(1180px,100% - 40px);margin:0 auto;padding:22px 0;display:grid}.worldview-topbar>button{border:1px solid var(--line);min-height:38px;color:var(--muted);background:var(--surface);border-radius:10px;padding:0 13px}.worldview-topbar>button:first-child{border-radius:50%;width:38px;padding:0}.worldview-topbar>div{gap:3px;display:grid}.worldview-topbar small,.worldview-library-panel small,.worldview-heading small,.worldview-ai-panel small,.worldview-suggestions>header small,.worldview-template>header small,.worldview-entry-form>small{color:#8a6127;letter-spacing:.06em;font-weight:700}.worldview-shell{width:min(1180px,100% - 40px);margin:46px auto 100px}.worldview-library-panel{border:1px solid var(--line);background:#ffffffb8;border-radius:22px;grid-template-columns:minmax(0,1fr) minmax(300px,.65fr);align-items:end;gap:18px 44px;padding:32px;display:grid;box-shadow:0 20px 60px #39312414}.worldview-library-panel h1,.worldview-book-empty h1{letter-spacing:-.04em;margin:10px 0 14px;font-family:Songti SC,STSong,serif;font-size:clamp(2.2rem,4vw,3.7rem);font-weight:600;line-height:1.15}.worldview-library-panel p,.worldview-book-empty>p,.worldview-ai-panel p,.worldview-template>header p,.worldview-empty-category p{color:var(--muted);margin:0;line-height:1.7}.worldview-create-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.worldview-create-row input,.worldview-heading input,.worldview-heading textarea,.worldview-ai-panel textarea,.worldview-suggestions input,.worldview-suggestions textarea,.worldview-entry-form input,.worldview-entry-form textarea,.worldview-entry-form select{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--paper);resize:vertical;border-radius:10px;padding:11px 12px}.worldview-create-row button,.worldview-ai-panel>button{color:#fff;background:#8a6127;border:1px solid #8a6127;border-radius:10px;padding:0 16px;font-weight:700}.worldview-library-panel>nav{border-top:1px solid var(--line-soft);grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:20px;display:grid}.worldview-library-panel>nav button{border:1px solid var(--line);color:var(--ink);background:var(--surface);text-align:left;border-radius:12px;gap:5px;padding:15px;display:grid}.worldview-library-panel>nav button.is-active{background:#fff9ef;border-color:#b8955d;box-shadow:inset 0 0 0 1px #8a612726}.worldview-library-panel>nav small{color:var(--muted);letter-spacing:0;font-weight:400}.worldview-workbench{gap:22px;margin-top:24px;display:grid}.worldview-heading{border:1px solid var(--line);background:var(--surface);border-radius:20px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px 34px;padding:28px;display:grid}.worldview-heading>div:first-child{gap:8px;display:grid}.worldview-heading input{background:0 0;border:0;border-radius:0;padding:0;font-family:Songti SC,STSong,serif;font-size:clamp(2rem,4vw,3.5rem);font-weight:600}.worldview-heading textarea{background:0 0;border-width:0 0 1px;border-radius:0;padding:7px 0;line-height:1.65}.worldview-heading>button{color:#8a6127;background:#fff8ea;border:1px solid #8a6127;border-radius:10px;grid-column:1/-1;justify-self:start;padding:10px 14px}.worldview-heading>button:disabled{border-color:var(--line);color:var(--faint);background:var(--warm)}.worldview-counts{gap:8px;display:flex}.worldview-counts span{min-width:92px;color:var(--muted);background:var(--warm);text-align:center;border-radius:12px;gap:4px;padding:12px;font-size:.82rem;display:grid}.worldview-counts strong{color:var(--ink);font-family:Songti SC,STSong,serif;font-size:1.45rem}.worldview-status{color:#704b1d;background:#fff5df;border-left:3px solid #a77933;margin:0;padding:13px 15px;line-height:1.65}.worldview-ai-panel{background:linear-gradient(135deg,#fffaf0,#fffdf8);border:1px solid #d9c39f;border-radius:18px;grid-template-columns:minmax(250px,.8fr) minmax(300px,1.2fr) auto;align-items:stretch;gap:20px;padding:25px;display:grid}.worldview-ai-panel h2,.worldview-suggestions h2,.worldview-template h2,.worldview-entry-form h2{margin:7px 0 8px;font-family:Songti SC,STSong,serif;font-size:1.65rem}.worldview-ai-panel>button{min-width:160px}.worldview-suggestions,.worldview-template,.worldview-book-empty,.worldview-history{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:26px}.worldview-suggestions>header,.worldview-template>header{justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;display:flex}.worldview-suggestions>header span{color:var(--muted)}.worldview-suggestion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.worldview-suggestion-grid>article{border:1px solid var(--line);background:var(--paper);border-radius:15px;gap:13px;padding:20px;display:grid}.worldview-suggestion-grid>article.is-conflict{background:#fff8f3;border-color:#c78d68}.worldview-suggestion-grid article>header{justify-content:space-between;gap:10px;display:flex}.worldview-suggestion-grid article>header span{color:#704b1d;background:#f5e5c8;border-radius:999px;padding:4px 8px;font-size:.8rem;font-weight:700}.worldview-suggestion-grid article>header small{color:var(--muted)}.worldview-suggestion-grid label,.worldview-entry-form label{gap:7px;font-weight:650;display:grid}.worldview-suggestion-grid dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.worldview-suggestion-grid dl>div{background:var(--surface);border-radius:9px;padding:11px}.worldview-suggestion-grid dt{color:var(--muted);font-size:.78rem}.worldview-suggestion-grid dd{margin:5px 0 0;line-height:1.55}.worldview-suggestion-grid blockquote,.worldview-entry-list blockquote{color:var(--muted);background:var(--surface);border-left:3px solid #d0b17b;margin:0;padding:12px;line-height:1.6}.worldview-suggestion-grid blockquote small,.worldview-entry-list blockquote small{color:var(--faint);margin-top:5px;display:block}.worldview-ai-origin,.worldview-conflict-note{color:var(--muted);background:var(--surface);border-radius:9px;margin:0;padding:11px 12px;line-height:1.6}.worldview-conflict-note{color:#7d482c;background:#fce8dc}.worldview-conflict-note strong{display:block}.worldview-suggestion-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.worldview-suggestion-actions button,.worldview-entry-form>div button,.worldview-empty-actions button{border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:9px 12px}.worldview-template>nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.worldview-template>nav button{border:1px solid var(--line);color:var(--ink);background:var(--paper);text-align:left;border-radius:11px;gap:5px;padding:13px;display:grid}.worldview-template>nav button.is-active{background:#fff4dd;border-color:#b8955d}.worldview-template>nav small{color:var(--muted);line-height:1.45}.worldview-entry-layout{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:start;gap:18px;margin-top:18px;display:grid}.worldview-entry-list{gap:10px;display:grid}.worldview-entry-list>article,.worldview-empty-category{border:1px solid var(--line-soft);background:var(--paper);border-radius:13px;padding:19px}.worldview-entry-list article>header{justify-content:space-between;gap:18px;display:flex}.worldview-entry-list h3{margin:5px 0 0;font-family:Songti SC,STSong,serif;font-size:1.35rem}.worldview-entry-list header small{color:#8a6127}.worldview-entry-list header button{border:1px solid var(--line);background:var(--surface);border-radius:8px;align-self:start;padding:7px 10px}.worldview-entry-list article>p{margin:13px 0;line-height:1.75}.worldview-entry-form{background:#fffaf0;border:1px solid #d9c39f;border-radius:14px;gap:13px;padding:20px;display:grid;position:sticky;top:18px}.worldview-entry-form>div{justify-content:flex-end;gap:8px;display:flex}.worldview-history summary{cursor:pointer;color:#704b1d;font-weight:700}.worldview-history article{border-top:1px solid var(--line-soft);grid-template-columns:minmax(180px,.45fr) minmax(0,1fr);gap:18px;margin-top:14px;padding-top:14px;display:grid}.worldview-history article>div{align-content:start;gap:5px;display:grid}.worldview-history article small{color:var(--muted)}.worldview-history article p{margin:0;line-height:1.7}.worldview-book-empty{max-width:960px;margin:0 auto}.worldview-source-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:28px 0;display:grid}.worldview-source-grid article{border:1px solid var(--line);background:var(--paper);border-radius:12px;gap:8px;padding:17px;display:grid}.worldview-source-grid span{color:var(--muted)}.worldview-source-grid button{color:#8a6127;background:#fff8ea;border:1px solid #8a6127;border-radius:8px;margin-top:5px;padding:9px 11px}.worldview-empty-actions{justify-content:flex-end;gap:9px;display:flex}.data-page{width:min(1180px,100% - 40px);margin:54px auto 100px}.data-heading{max-width:760px}.data-heading>small,.data-card>div>small,.restore-preview>small{color:var(--accent);letter-spacing:.08em;font-weight:700}.data-heading h1{letter-spacing:-.045em;margin:13px 0 18px;font-family:Songti SC,STSong,Noto Serif CJK SC,serif;font-size:clamp(2.5rem,5vw,4.4rem);font-weight:600;line-height:1.15}.data-heading p,.data-card p,.data-boundary p,.restore-preview p{color:var(--muted);line-height:1.75}.data-newcomer-summary{color:var(--accent);background:#e6efe880;border:1px solid #2f5c4b33;border-radius:14px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px 18px;margin-top:30px;padding:16px 18px;display:grid}.data-newcomer-summary span{color:var(--muted);line-height:1.6}.data-details-overview{margin:14px 0 20px}.data-details-overview>summary{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#ffffff8c;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;padding:13px 16px;list-style:none;display:flex}.data-details-overview>summary::-webkit-details-marker{display:none}.data-details-overview>summary:before{content:"＋";color:var(--accent);font-weight:700}.data-details-overview[open]>summary:before{content:"－"}.data-details-overview>summary span{margin-right:auto;font-weight:650}.data-details-overview>summary small{color:var(--muted)}.data-details-overview .data-current{margin:14px 0 0}.data-current{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:12px;margin:38px 0 24px;display:grid}.data-current article{border:1px solid var(--line);background:#ffffff9e;border-radius:16px;gap:7px;min-height:138px;padding:21px;display:grid}.data-current small,.data-current span{color:var(--muted)}.data-current strong{align-self:end;font-family:Songti SC,STSong,serif;font-size:1.55rem}.data-current span{font-size:.84rem;line-height:1.5}.data-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.local-folder-card,.manuscript-export-card,.trash-card{border:1px solid var(--line);background:var(--surface);border-radius:20px;margin-bottom:20px;padding:28px;box-shadow:0 16px 44px #39312412}.local-folder-card{background:linear-gradient(135deg, var(--surface), #e6efe8a8);border-color:#2f5c4b33;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:24px 34px;margin-bottom:20px;display:grid}.local-folder-card.is-connected{border-color:#2f5c4b61}.local-folder-copy>small{color:var(--accent);letter-spacing:.08em;font-weight:700}.local-folder-copy h2{margin:8px 0 10px;font-family:Songti SC,STSong,serif;font-size:1.85rem}.local-folder-copy>p,.local-folder-controls>p,.local-folder-conflict p{color:var(--muted);margin:0;line-height:1.72}.local-folder-copy code{color:var(--accent-hover);background:#2f5c4b17;border-radius:5px;padding:2px 5px;font-size:.82em}.local-folder-state{background:#ffffff8c;border:1px solid #2f5c4b29;border-radius:12px;align-items:flex-start;gap:11px;margin-top:18px;padding:13px 14px;display:flex}.local-folder-state>span{background:var(--accent);border-radius:50%;flex:none;width:9px;height:9px;margin-top:5px;box-shadow:0 0 0 4px #2f5c4b1a}.local-folder-state>div{gap:4px;display:grid}.local-folder-state small{color:var(--muted);line-height:1.5}.local-folder-controls{flex-wrap:wrap;place-content:flex-end;align-items:center;gap:9px;display:flex}.local-folder-controls>button:not(.primary-button),.local-folder-conflict button:not(.primary-button){border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:10px;padding:10px 13px}.local-folder-conflict{background:#fff7e5d1;border:1px solid #a6742f59;border-radius:13px;grid-column:1/-1;padding:17px 18px}.local-folder-conflict p{margin-top:6px}.local-folder-conflict>div{justify-content:flex-end;gap:9px;margin-top:14px;display:flex}.local-folder-status{color:var(--accent-hover);border-top:1px solid #2f5c4b26;grid-column:1/-1;margin:0;padding-top:14px;line-height:1.6}.manuscript-export-card{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:end;gap:28px;display:grid}.manuscript-export-card small,.trash-card header small{color:var(--accent);letter-spacing:.08em;font-weight:700}.manuscript-export-card h2,.trash-card h2{margin:8px 0 10px;font-family:Songti SC,STSong,serif;font-size:1.75rem}.manuscript-export-card p,.trash-card p{color:var(--muted);margin:0;line-height:1.75}.manuscript-export-controls{gap:12px;display:grid}.manuscript-export-controls label{color:var(--muted);gap:7px;font-size:.82rem;display:grid}.manuscript-export-controls select{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--paper);border-radius:10px;padding:11px 12px}.manuscript-export-controls>div{flex-wrap:wrap;gap:8px;display:flex}.data-card{border:1px solid var(--line);background:var(--surface);border-radius:20px;flex-direction:column;gap:22px;min-width:0;padding:28px;display:flex;box-shadow:0 16px 44px #39312414}.merge-data-card{background:linear-gradient(135deg, var(--surface), #e6efe86b);border-color:#2f5c4b42;grid-column:1/-1}.merge-data-card>button{width:fit-content}.data-card h2{margin:8px 0 10px;font-family:Songti SC,STSong,serif;font-size:1.75rem}.data-card p{margin:0}.data-card>button{align-self:flex-start}.data-check{border:1px solid var(--line-soft);background:var(--paper);cursor:pointer;border-radius:12px;align-items:flex-start;gap:12px;padding:14px;display:flex}.data-check input{width:18px;height:18px;accent-color:var(--accent);margin-top:2px}.data-check span{gap:4px;display:grid}.data-check small{color:var(--muted);line-height:1.5}.restore-preview{background:var(--accent-soft);border:1px solid #2f5c4b47;border-radius:14px;padding:18px}.restore-preview h3{margin:7px 0 14px;font-size:1.2rem}.restore-preview dl{gap:8px;margin:0;display:grid}.restore-preview dl>div{border-bottom:1px solid #2f5c4b24;justify-content:space-between;gap:20px;padding-bottom:8px;display:flex}.restore-preview dt{color:var(--muted)}.restore-preview dd{text-align:right;margin:0}.restore-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.restore-actions>button:not(.primary-button){border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:0 16px}.data-status{color:var(--accent-hover);background:var(--accent-soft);border-radius:11px;margin:18px 0 0;padding:13px 15px;line-height:1.65}.trash-card{margin:20px 0 0}.trash-card>header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.trash-card>header>strong{color:var(--accent);background:var(--accent-soft);border-radius:999px;flex:none;padding:7px 10px}.trash-status{background:var(--accent-soft);border-radius:10px;padding:11px 13px;color:var(--accent)!important;margin-top:16px!important}.trash-list{gap:8px;margin-top:18px;display:grid}.trash-list article{border:1px solid var(--line-soft);background:var(--paper);border-radius:12px;justify-content:space-between;align-items:center;gap:18px;padding:13px 14px;display:flex}.trash-list article>div:first-child{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 9px;min-width:0;display:grid}.trash-list article>div:first-child>span{color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:3px 6px;font-size:.7rem}.trash-list article>div:first-child>strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.trash-list article small{color:var(--muted);grid-column:1/-1}.trash-list article>div:last-child{flex:none;gap:7px;display:flex}.trash-list button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:8px;padding:8px 10px}.trash-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;background:var(--paper);border-radius:12px;margin-top:18px;padding:24px}.data-boundary{border-left:3px solid var(--accent);background:#f3f0e8bf;margin-top:22px;padding:22px 24px}.data-boundary p{margin:7px 0 0}.feedback-page{grid-template-columns:.85fr 1.15fr;align-items:start;gap:80px;display:grid}.feedback-copy>p{max-width:520px}.feedback-copy ul{color:var(--muted);gap:12px;margin-top:30px;padding:0;list-style:none;display:grid}.feedback-copy li:before{content:"—";color:var(--accent);margin-right:8px}.feedback-form{background:var(--surface);box-shadow:var(--shadow);gap:18px;padding:28px;display:grid}.feedback-form label{gap:8px;font-weight:650;display:grid}.feedback-form select,.feedback-form textarea,.feedback-form input{border:1px solid var(--line);background:var(--paper);border-radius:10px;width:100%;padding:12px 13px;font-weight:400}.feedback-form textarea{resize:vertical;line-height:1.7}.feedback-form>small,.feedback-status{color:var(--muted);margin:0;line-height:1.6}.feedback-status{background:var(--accent-soft);border-radius:9px;padding:11px 12px}.voice-feedback{justify-self:start}.feedback-sign-in{color:#fff;background:var(--accent);border-radius:10px;justify-content:center;padding:11px 15px;font-weight:700;display:inline-flex}.feedback-board{border-top:1px solid var(--line);grid-column:1/-1;gap:22px;margin-top:10px;padding-top:34px;display:grid}.feedback-board>header{justify-content:space-between;align-items:flex-start;gap:28px;display:flex}.feedback-board>header small{color:var(--accent);letter-spacing:.08em;font-weight:700}.feedback-board>header h2{margin:8px 0 7px;font-family:Songti SC,STSong,serif;font-size:2rem}.feedback-board>header p{color:var(--muted);margin:0}.feedback-board>header>strong{color:var(--accent-hover);background:var(--accent-soft);border-radius:999px;flex:none;padding:8px 11px}.feedback-board-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.feedback-board-list article{border:1px solid var(--line);background:#ffffffb8;border-radius:16px;gap:16px;min-width:0;padding:20px;display:grid}.feedback-board-list article>header,.feedback-card-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.feedback-board-list article>header>span:first-child{color:var(--accent-hover);font-size:.82rem;font-weight:700}.feedback-progress{color:var(--muted);background:var(--warm);border-radius:999px;padding:4px 8px;font-size:.76rem}.feedback-progress.is-planned{color:#8a6127;background:#fff3d6}.feedback-progress.is-done{color:var(--accent-hover);background:var(--accent-soft)}.feedback-board-list article>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.75}.feedback-card-footer{border-top:1px solid var(--line-soft);color:var(--muted);align-self:end;padding-top:14px}.feedback-card-footer button{border:1px solid var(--line);color:var(--muted);background:var(--paper);border-radius:999px;padding:8px 11px}.feedback-card-footer button.is-voted{color:#fff;background:var(--accent);border-color:#2f5c4b5c}.feedback-board-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;background:#ffffff75;border-radius:16px;padding:34px 20px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.home-breakdown-banner{background:linear-gradient(135deg,#edf3ef,#fbfaf6 72%);border:1px solid #d5ddd7;border-radius:24px;justify-content:space-between;align-items:center;gap:32px;width:min(1180px,100% - 40px);margin:0 auto 34px;padding:34px 38px;display:flex}.home-breakdown-banner small,.breakdown-shell small{color:var(--muted)}.home-breakdown-banner h2{margin:7px 0 8px;font-family:Songti SC,STSong,serif;font-size:clamp(1.55rem,3vw,2.2rem)}.home-breakdown-banner p{max-width:760px;color:var(--muted);margin:0;line-height:1.75}.home-breakdown-banner button{flex:none}.breakdown-shell{width:min(1180px,100% - 40px);margin:32px auto 100px}.breakdown-hero{background:radial-gradient(circle at 90% 12%,#c7ac722b,#0000 18rem),linear-gradient(145deg,#f1f5f2,#fbfaf6 66%);border:1px solid #d8ded9;border-radius:30px;grid-template-columns:minmax(0,1fr) 300px;align-items:end;gap:44px;padding:48px;display:grid;box-shadow:0 22px 60px #39312414}.breakdown-hero h1{letter-spacing:-.04em;max-width:760px;margin:14px 0 18px;font-family:Songti SC,STSong,serif;font-size:clamp(2.3rem,5vw,4rem);font-weight:650;line-height:1.12}.breakdown-hero p{max-width:760px;color:var(--muted);margin:0;font-size:1.02rem;line-height:1.85}.breakdown-hero-rule{background:#ffffffc7;border:1px solid #2f5c4b2e;border-radius:18px;gap:9px;padding:23px;display:grid}.breakdown-hero-rule strong{color:var(--accent);margin-bottom:5px;font-size:1.05rem}.breakdown-hero-rule span{color:var(--muted);font-size:.88rem}.breakdown-hero-rule span:before{content:"✓";color:var(--accent);margin-right:7px}.breakdown-notice{color:#315444;background:#edf5f0;border:1px solid #cedfd5;border-radius:12px;margin:18px 0;padding:13px 16px;line-height:1.6}.breakdown-notice.is-error{color:#873d32;background:#fff0ed;border-color:#e9c9c1}.breakdown-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0;display:grid}.breakdown-overview article{border:1px solid var(--line);background:var(--surface);border-radius:16px;gap:5px;padding:21px 22px;display:grid}.breakdown-overview strong{font-family:Songti SC,STSong,serif;font-size:2rem}.breakdown-overview span{color:var(--muted);font-size:.84rem}.breakdown-entry-card,.breakdown-compare-card,.breakdown-saved-comparisons{border:1px solid var(--line);background:var(--surface);border-radius:22px;margin-top:22px;padding:30px;box-shadow:0 14px 38px #3931240f}.breakdown-entry-card>header,.breakdown-compare-card>header,.breakdown-saved-comparisons>header,.breakdown-sample-list>header,.breakdown-evidence-editor>header,.breakdown-editor-intro{justify-content:space-between;align-items:center;gap:22px;display:flex}.breakdown-entry-card h2,.breakdown-compare-card h2,.breakdown-saved-comparisons h2,.breakdown-sample-list h2{margin:5px 0 6px;font-family:Songti SC,STSong,serif;font-size:1.55rem}.breakdown-entry-card header p,.breakdown-compare-card header p{color:var(--muted);margin:0;line-height:1.65}.breakdown-form{border-top:1px solid var(--line-soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:25px;padding-top:25px;display:grid}.breakdown-form label,.breakdown-analysis-editor label,.breakdown-comparison-editor label,.breakdown-evidence-editor label{color:var(--ink);gap:8px;font-size:.9rem;font-weight:650;display:grid}.breakdown-form label small,.breakdown-analysis-editor label small,.breakdown-comparison-editor label small{font-weight:400}.breakdown-form input,.breakdown-form textarea,.breakdown-form select,.breakdown-analysis-editor input,.breakdown-analysis-editor textarea,.breakdown-comparison-editor input,.breakdown-comparison-editor textarea{border:1px solid var(--line);resize:vertical;background:#fffefa;border-radius:10px;width:100%;padding:12px 13px;line-height:1.65}.breakdown-form-wide,.breakdown-form-actions{grid-column:1/-1}.breakdown-form-actions,.breakdown-confirm-row{justify-content:flex-end;align-items:center;gap:10px;display:flex}.breakdown-workspace{grid-template-columns:315px minmax(0,1fr);align-items:start;gap:18px;margin-top:22px;display:grid}.breakdown-sample-list,.breakdown-analysis-panel{border:1px solid var(--line);background:var(--surface);border-radius:22px;box-shadow:0 14px 38px #3931240f}.breakdown-sample-list{padding:18px;position:sticky;top:18px}.breakdown-sample-list>header{padding:4px 4px 15px}.breakdown-sample-list>header>span,.breakdown-compare-card>header>span,.breakdown-saved-comparisons>header>span{color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:5px 9px;font-size:.82rem}.breakdown-sample-list>button{border:1px solid var(--line-soft);text-align:left;background:#fffefa;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:8px;padding:14px;display:flex}.breakdown-sample-list>button:hover,.breakdown-sample-list>button.is-active{background:var(--accent-soft);border-color:#8cac9c}.breakdown-sample-list>button>span{gap:4px;min-width:0;display:grid}.breakdown-sample-list button strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.breakdown-sample-list button small,.breakdown-sample-list button em{color:var(--muted);font-size:.76rem;font-style:normal}.breakdown-sample-list button b{color:var(--accent);flex:none;font-size:.72rem}.breakdown-analysis-panel{min-height:480px;padding:30px}.breakdown-analysis-head{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.breakdown-analysis-head h2{margin:7px 0;font-family:Songti SC,STSong,serif;font-size:2rem}.breakdown-analysis-head p{color:var(--muted);margin:0}.breakdown-analysis-head>div:last-child{gap:8px;display:flex}.breakdown-analysis-head button,.breakdown-analysis-head a,.breakdown-evidence-editor header button{border:1px solid var(--line);color:var(--muted);background:0 0;border-radius:9px;padding:8px 11px;text-decoration:none}.breakdown-material-boundary{color:var(--muted);background:var(--warm);border-radius:10px;flex-wrap:wrap;gap:8px 18px;margin:20px 0;padding:11px 13px;font-size:.82rem;display:flex}.breakdown-analyze-button{border:1px solid var(--accent);color:#fff;background:var(--accent);border-radius:11px;width:100%;padding:14px;font-weight:700}.breakdown-analysis-editor,.breakdown-comparison-editor{border-top:1px solid var(--line-soft);margin-top:24px;padding-top:24px}.breakdown-editor-intro h3,.breakdown-evidence-editor h3{margin:5px 0 0;font-size:1.2rem}.breakdown-editor-intro>span{color:var(--muted);font-size:.82rem}.breakdown-field-grid,.breakdown-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.breakdown-list-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.breakdown-evidence-editor{border:1px solid var(--line-soft);background:#fbfaf6;border-radius:15px;margin-top:22px;padding:20px}.breakdown-evidence-editor article{border:1px solid var(--line-soft);background:#fff;border-radius:11px;grid-template-columns:.8fr 1.2fr auto;align-items:end;gap:10px;margin-top:12px;padding:14px;display:grid}.breakdown-evidence-editor article>button{color:#9c4b40;background:0 0;border:0;padding:10px}.breakdown-confirm-row{border-top:1px solid var(--line-soft);margin-top:22px;padding-top:18px}.breakdown-confirm-row span{color:var(--muted);margin-right:auto;font-size:.84rem;line-height:1.6}.breakdown-empty,.breakdown-analysis-empty{color:var(--muted);text-align:center;place-items:center;gap:8px;padding:48px 24px;display:grid}.breakdown-analysis-empty{min-height:300px}.breakdown-analysis-empty p{max-width:520px;margin:0;line-height:1.7}.breakdown-compare-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px;display:grid}.breakdown-compare-options label{border:1px solid var(--line);cursor:pointer;background:#fffefa;border-radius:12px;align-items:flex-start;gap:10px;padding:14px;display:flex}.breakdown-compare-options label.is-selected{background:var(--accent-soft);border-color:#86a996}.breakdown-compare-options label span{gap:5px;display:grid}.breakdown-compare-action{margin-top:18px}.breakdown-comparison-title{max-width:720px}.breakdown-evidence-links{background:var(--warm);border-radius:14px;margin-top:20px;padding:20px}.breakdown-evidence-links article{grid-template-columns:1fr 280px;align-items:center;gap:10px;margin-top:10px;display:grid}.breakdown-evidence-links article span{color:var(--muted);font-size:.82rem}.breakdown-saved-comparisons>div{gap:10px;margin-top:20px;display:grid}.breakdown-saved-comparisons details{border:1px solid var(--line);background:#fffefa;border-radius:13px}.breakdown-saved-comparisons summary{cursor:pointer;justify-content:space-between;align-items:center;gap:18px;padding:16px;display:flex}.breakdown-saved-comparisons summary>span{gap:5px;display:grid}.breakdown-saved-comparisons summary small,.breakdown-saved-comparisons summary em{color:var(--muted);font-size:.8rem;font-style:normal}.breakdown-saved-comparisons details>section{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px 16px;display:grid}.breakdown-saved-comparisons details>section>div{background:var(--warm);border-radius:10px;padding:14px}.breakdown-saved-comparisons ul{margin:9px 0 0;padding-left:20px;line-height:1.7}@media (width<=900px){.breakdown-hero,.breakdown-workspace{grid-template-columns:1fr}.breakdown-sample-list{position:static}.breakdown-overview,.breakdown-compare-options,.breakdown-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.breakdown-evidence-editor article,.breakdown-evidence-links article{grid-template-columns:1fr}.hero{grid-template-columns:1fr;gap:46px;margin-top:38px}.book-library-heading{flex-direction:column;align-items:flex-start;gap:22px}.book-library-overview{justify-content:flex-start}.new-book-panel{grid-template-columns:1fr}.book-form-actions{grid-column:auto}.book-grid{grid-template-columns:1fr}.hero-copy{max-width:760px}.hero-demo{width:min(620px,100%);transform:none}.practice-layout{grid-template-columns:190px minmax(0,1fr)}.material-box{grid-column:1/-1}.practice-mode-grid,.practice-history-list{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-heading-row{align-items:stretch}.practice-mode-card:last-child,.practice-history-list article:last-child{grid-column:1/-1}.genre-options{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-session-layout,.practice-report-grid,.practice-report-hero{grid-template-columns:1fr}.practice-session-aside{grid-template-columns:repeat(3,minmax(0,1fr))}.practice-report-hero>p{max-width:650px}.feedback-page{grid-template-columns:1fr;gap:34px}.data-current{grid-template-columns:repeat(2,minmax(0,1fr))}.data-actions-grid{grid-template-columns:1fr}.manuscript-export-card{grid-template-columns:1fr;align-items:stretch}.local-folder-card{grid-template-columns:1fr}.local-folder-controls{justify-content:flex-start}.story-bible-intro,.story-relationship-layout{grid-template-columns:1fr}.story-bible-counts{justify-content:flex-start}.relationship-form{position:static}.story-suggestions,.worldview-library-panel,.worldview-ai-panel,.worldview-entry-layout{grid-template-columns:1fr}.worldview-library-panel>nav,.worldview-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.worldview-ai-panel>button{min-height:44px}.worldview-entry-form{position:static}.worldview-template>nav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=680px){.data-newcomer-summary{grid-template-columns:1fr}.data-details-overview>summary small{display:none}.home-breakdown-banner,.breakdown-entry-card>header,.breakdown-compare-card>header,.breakdown-saved-comparisons>header,.breakdown-analysis-head,.breakdown-confirm-row,.breakdown-editor-intro{flex-direction:column;align-items:stretch}.home-breakdown-banner,.breakdown-hero,.breakdown-entry-card,.breakdown-compare-card,.breakdown-saved-comparisons,.breakdown-analysis-panel{padding:22px 16px}.home-breakdown-banner button,.breakdown-confirm-row button,.breakdown-form-actions button,.breakdown-compare-action{width:100%}.breakdown-shell{width:calc(100% - 24px);margin-top:18px}.breakdown-overview,.breakdown-form,.breakdown-field-grid,.breakdown-list-grid,.breakdown-compare-options,.breakdown-saved-comparisons details>section{grid-template-columns:1fr}.breakdown-form-wide,.breakdown-form-actions{grid-column:auto}.breakdown-analysis-head>div:last-child,.breakdown-form-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.site-topbar{width:calc(100% - 24px);padding:15px 0}.alternate-origin-notice{flex-direction:column;align-items:stretch;width:calc(100% - 24px);margin-bottom:12px}.alternate-origin-notice>div:last-child,.alternate-origin-notice button{width:100%}.alternate-origin-notice>div:last-child{flex-direction:column}.site-topbar nav .topbar-feedback,.brand-button small{display:none}.site-topbar nav{max-width:calc(100vw - 86px);overflow-x:auto}.site-topbar nav button,.site-topbar nav .topbar-more{flex:none}.hero{width:calc(100% - 28px);margin:36px auto 70px}.book-library-page{width:calc(100% - 24px);margin:34px auto 70px}.book-library-overview,.book-library-overview .primary-button,.book-form-actions,.book-form-actions button,.book-card-actions,.book-card-actions button{width:100%}.book-library-overview .primary-button{margin-top:5px}.new-book-panel{padding:20px 16px}.platform-choice-row,.commercial-positioning-card{grid-template-columns:1fr;align-items:stretch}.platform-choice-row{flex-direction:column}.platform-choice-row>div:last-child{width:100%}.platform-choice-row>div:last-child button{flex:auto}.book-form-actions,.book-card-actions{flex-direction:column-reverse}.book-card{grid-template-columns:58px minmax(0,1fr);min-height:0}.book-spine{padding-inline:8px}.book-spine strong{font-size:1.8rem}.book-card-body,.book-edit-form{padding:19px 16px}.book-card-body dl{grid-template-columns:1fr}.book-library-boundary{flex-direction:column;align-items:flex-start}.hero h1{font-size:clamp(2.7rem,15vw,4.3rem)}.hero-actions,.hero-actions button{width:100%}.trust-line{gap:10px 14px}.hero-demo{border-radius:19px;padding:15px}.demo-message{margin-left:20px}.demo-question{margin-right:0}.mode-section{padding:70px 14px}.mode-grid{grid-template-columns:1fr}.mode-card{min-height:auto;padding:28px 22px}.mode-card ul{grid-template-columns:1fr}.feedback-banner{width:calc(100% - 28px);margin:70px auto;padding:28px 22px;display:grid}footer{width:calc(100% - 28px)}.inside-header,.writing-topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding-inline:9px}.book-title-field{width:100%;min-width:0}.book-title-field small{display:none}.book-title-field input{text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;overflow:hidden}.writing-topbar>.writing-topbar-actions{gap:5px}.immersive-entry,.work-mode-entry{padding:6px 8px;font-size:.78rem}.writing-topbar-actions>small{display:none}.paper-tone-picker{gap:4px;padding:3px}.paper-tone-picker>span{display:none}.paper-swatch{width:18px;height:18px}.writing-page.is-immersive .edge-zone{width:54px}.writing-page.is-immersive .edge-button{width:36px;height:64px}.writing-page.is-immersive .edge-left{left:4px}.writing-page.is-immersive .edge-right{right:4px}.story-bible-topbar{gap:8px;width:calc(100% - 20px);padding:14px 0}.story-extract-button{padding:0 10px;font-size:.8rem}.story-bible-shell{width:calc(100% - 24px);margin:32px auto 70px}.story-bible-counts{grid-template-columns:repeat(3,1fr);display:grid}.story-bible-counts span{min-width:0;padding:10px 6px}.story-bible-tabs{overflow-x:auto}.story-bible-tabs button{flex:none}.story-character-layout{grid-template-columns:1fr}.story-character-list{grid-template-columns:repeat(2,minmax(0,1fr))}.story-form,.story-character-card{padding:21px 16px}.story-form-grid,.story-character-card dl,.story-relationship-list dl{grid-template-columns:1fr}.story-form-wide{grid-column:auto}.worldview-topbar{gap:8px;width:calc(100% - 20px);padding:14px 0}.worldview-topbar>button:last-child{max-width:110px;font-size:.78rem}.worldview-shell{width:calc(100% - 24px);margin:30px auto 70px}.worldview-library-panel,.worldview-heading,.worldview-ai-panel,.worldview-suggestions,.worldview-template,.worldview-book-empty,.worldview-history{padding:20px 16px}.worldview-create-row,.worldview-heading,.worldview-library-panel>nav,.worldview-suggestion-grid,.worldview-source-grid,.worldview-suggestion-grid dl{grid-template-columns:1fr}.worldview-counts{grid-template-columns:repeat(3,1fr);display:grid}.worldview-counts span{min-width:0;padding:9px 4px}.worldview-template>nav{display:flex;overflow-x:auto}.worldview-template>nav button{flex:0 0 180px}.worldview-suggestions>header,.worldview-template>header,.worldview-empty-actions,.worldview-entry-form>div{flex-direction:column;align-items:stretch}.worldview-empty-actions button,.worldview-entry-form>div button{width:100%}.worldview-history article{grid-template-columns:1fr}.story-character-card>header,.story-relationship-list article>header{flex-direction:column;align-items:flex-start}.story-add-fact{grid-template-columns:1fr}.story-add-fact button{min-height:42px}.story-form-actions,.story-form-actions button,.story-suggestion-actions,.story-suggestion-actions button{width:100%}.story-form-actions,.story-suggestion-actions{flex-direction:column-reverse}.inside-header .quiet-action,.writing-topbar-actions>small{font-size:.74rem}.guide-shell{width:calc(100% - 20px);margin-top:20px}.inspiration-page,.materials-page{width:calc(100% - 24px);margin-top:36px}.inspiration-heading,.materials-heading{align-items:start;display:grid}.materials-heading>button,.inspiration-actions,.inspiration-actions button{width:100%}.inspiration-actions{flex-direction:column}.inspiration-scope,.inspiration-grid,.materials-scope{grid-template-columns:1fr}.inspiration-detail-backdrop{align-items:end;padding:10px}.inspiration-detail{border-radius:22px 22px 14px 14px;max-height:calc(100svh - 20px)}.inspiration-detail-header{padding:14px 16px}.inspiration-detail-view,.inspiration-detail-edit,.inspiration-detail-link{padding:28px 18px 32px}.inspiration-detail-title-row{flex-direction:column}.inspiration-detail-toolbar,.inspiration-detail-toolbar button,.inspiration-detail-actions,.inspiration-detail-actions button{width:100%}.inspiration-detail-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.inspiration-detail-actions{grid-template-columns:1fr 1fr;display:grid}.inspiration-detail-edit textarea{min-height:42svh}.inspiration-detail-edit .inspiration-summary-form textarea{min-height:0}.inspiration-summary-form>div,.inspiration-confirmed-summary>div,.inspiration-link-targets{grid-template-columns:1fr}.inspiration-summary-form.is-detail-edit,.inspiration-link-draft{padding:16px}.inspiration-detail-footer{flex-direction:column;align-items:flex-start}.material-library-card{padding:20px 17px}.material-library-card>header,.material-card-footer{flex-direction:column;align-items:flex-start}.material-card-footer>div,.material-card-footer button{width:100%}.material-card-footer>div{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.material-delete-confirm{flex-direction:column;align-items:stretch}.material-delete-confirm>div:last-child,.material-delete-confirm button{width:100%}.agent-picker>div:first-child{gap:4px;display:grid}.agent-options{grid-template-columns:repeat(2,1fr)}.platform-perspective-picker{grid-template-columns:1fr}.platform-perspective-picker>small{grid-column:auto}.user-idea,.user-answer{margin-left:28px}.assistant-question{margin-right:28px}.guide-composer>.composer-actions,.story-card-actions{flex-direction:column;align-items:stretch}.voice-shelf{grid-template-columns:1fr}.voice-shelf button{text-align:left}.soft-checkpoint{flex-direction:column;align-items:flex-start}.story-card{padding:20px 16px}.story-card dl>div{grid-template-columns:1fr;gap:6px}.editor-wrap{width:100%;min-height:calc(100vh - 68px);box-shadow:none;margin:0;padding:48px 24px 50px}.chapter-editor{min-height:580px}.chapter-finisher-intro,.chapter-finish-actions,.next-chapter-heading,.chapter-analysis-panel>header{flex-direction:column;align-items:stretch}.chapter-finish-generate,.chapter-finish-actions button,.chapter-analysis-panel>header button{width:100%}.chapter-analysis-result p{grid-template-columns:1fr;gap:4px}.next-chapter-advice{grid-template-columns:1fr}.edge-button{color:var(--muted);opacity:.75;background:#efede7cc}.practice-page,.data-page,.feedback-page{width:calc(100% - 24px);margin:36px auto 70px}.data-current{grid-template-columns:1fr}.data-current article{min-height:0}.data-card,.local-folder-card,.manuscript-export-card,.trash-card{padding:22px 16px}.local-folder-controls,.local-folder-controls button,.local-folder-conflict>div,.local-folder-conflict button{width:100%}.local-folder-conflict>div{flex-direction:column}.trash-card>header,.trash-list article{flex-direction:column;align-items:stretch}.trash-list article>div:last-child,.trash-list article>div:last-child button,.manuscript-export-controls>div,.manuscript-export-controls>div button{width:100%}.restore-preview dl>div{gap:3px;display:grid}.restore-preview dd{text-align:left}.restore-actions,.restore-actions button{width:100%}.restore-actions{flex-direction:column-reverse}.practice-layout{grid-template-columns:1fr}.practice-menu{grid-template-columns:repeat(3,1fr);padding:8px}.practice-menu button{padding:9px}.practice-menu button small{display:none}.material-box{grid-column:auto}.practice-workbench,.feedback-form{padding:21px 16px}.feedback-board>header{flex-direction:column;align-items:stretch;gap:14px}.feedback-board>header>strong{align-self:flex-start}.feedback-board-list,.practice-mode-grid,.practice-principles,.practice-history-list,.skill-options,.practice-expectation-fields,.practice-findings-grid,.practice-next-plan{grid-template-columns:1fr}.practice-heading-row{display:grid}.practice-library-entry{width:100%}.practice-mode-card,.practice-mode-card:last-child,.practice-history-list article:last-child{grid-column:auto;min-height:auto}.practice-mode-number{font-size:2rem}.practice-mode-card>small{margin-top:18px}.genre-options{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-count-options{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.practice-count-options button{min-width:0}.practice-setup-submit,.practice-session-topline,.practice-actions,.practice-review-card .practice-review-actions,.practice-report-actions{flex-direction:column;align-items:stretch}.practice-action-buttons,.practice-action-buttons button{width:100%}.practice-action-buttons{grid-template-columns:.8fr 1.2fr;display:grid}.quick-practice-support{flex-direction:column;align-items:stretch}.quick-practice-support>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.practice-setup-submit .primary-button,.practice-review-actions button,.practice-report-actions button{width:100%}.practice-constraint{grid-template-columns:auto 1fr}.practice-constraint>span{grid-column:2}.practice-answer-field textarea{min-height:360px}.practice-session-aside{grid-template-columns:1fr}.practice-report-hero>p{border-top:1px solid var(--line);border-left:0;padding:14px 0 0}.practice-skip-report{grid-template-columns:1fr;padding:21px 17px}.practice-complete-skips>div,.practice-skip-report-list span{flex-direction:column;grid-template-columns:1fr}.practice-skip-backdrop{align-items:end;padding:10px}.practice-skip-dialog{border-radius:20px 20px 14px 14px;padding:24px 18px 18px}.practice-skip-help{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.writing-drawer,.editor-wrap{transition:none}.recording-live-dot,.recording-waveform i,.thinking-dot{animation:none}}.framework-page{min-height:100vh;color:var(--ink);background:#f4f0e8}.framework-topbar{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#faf8f3f2;border-bottom:1px solid #51463526;grid-template-columns:1fr auto 1fr;align-items:center;min-height:64px;padding:0 28px;display:grid;position:sticky;top:0}.framework-topbar button{color:var(--muted);background:0 0;border:0;justify-self:start;padding:8px 0}.framework-topbar>div{align-items:baseline;gap:10px;display:flex}.framework-topbar>div span,.framework-topbar>small{color:var(--muted)}.framework-topbar>small{justify-self:end}.framework-shell{width:min(1180px,100% - 40px);margin:0 auto;padding:48px 0 80px}.framework-hero{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:44px;display:grid}.framework-hero h1{max-width:760px;margin:12px 0 14px;font-family:Songti SC,STSong,serif;font-size:clamp(2rem,4vw,3.8rem);font-weight:500;line-height:1.12}.framework-hero p{max-width:760px;color:var(--muted);margin:0;line-height:1.8}.framework-metrics{border:1px solid var(--line);background:#ffffff7a;border-radius:18px;grid-template-columns:repeat(3,minmax(92px,1fr));display:grid;overflow:hidden}.framework-metrics span{border-left:1px solid var(--line);min-width:112px;color:var(--muted);gap:4px;padding:18px;font-size:.75rem;display:grid}.framework-metrics span:first-child{border-left:0}.framework-metrics strong{color:var(--ink);font-family:Songti SC,STSong,serif;font-size:1.7rem;font-weight:500}.framework-tabs{border:1px solid var(--line);background:#ffffff80;border-radius:16px;gap:8px;margin:34px 0 18px;padding:6px;display:flex}.framework-tabs button{color:var(--muted);background:0 0;border:0;border-radius:11px;flex:1;padding:11px 14px}.framework-tabs button.is-active{background:var(--ink);color:#fffdf8}.framework-notice{color:#365238;background:#e8f2e6bf;border:1px solid #4a704a40;border-radius:12px;margin:0 0 16px;padding:13px 16px}.framework-notice.is-error{color:#854333;background:#f8e8e3cc;border-color:#96473640}.framework-panel{border:1px solid var(--line);background:#fffdf8d1;border-radius:22px;padding:30px;box-shadow:0 18px 60px #483a270f}.framework-panel-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:24px;padding-bottom:22px;display:flex}.framework-panel-head h2{margin:5px 0 8px;font-family:Songti SC,STSong,serif;font-size:1.8rem;font-weight:500}.framework-panel-head p{max-width:760px;color:var(--muted);margin:0;line-height:1.7}.framework-panel-head>span{color:var(--muted);background:#eee9df;border-radius:999px;flex:none;padding:7px 11px;font-size:.78rem}.framework-panel-head>span.is-confirmed{color:#365238;background:#e3eee0}.framework-source-row,.chapter-check-controls{background:#f2eee5;border-radius:15px;align-items:end;gap:16px;margin:24px 0;padding:18px;display:flex}.framework-source-row label,.chapter-check-controls label{flex:1;gap:7px;display:grid}.framework-source-row p{color:var(--muted);flex-basis:100%;margin:0;font-size:.85rem}.framework-source-row select,.chapter-check-controls select,.ledger-form input,.ledger-form select,.ledger-form textarea,.framework-contract-grid textarea,.framework-contract-lists textarea,.knowledge-row input,.knowledge-row select,.ledger-list select{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;background:#fffdf8;border-radius:10px}.framework-source-row select,.chapter-check-controls select,.ledger-form input,.ledger-form select,.knowledge-row input,.knowledge-row select,.ledger-list select{min-height:42px;padding:9px 11px}.framework-contract-grid,.ledger-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.framework-contract-grid label,.framework-contract-lists label,.ledger-form>label{gap:7px;font-weight:600;display:grid}.framework-contract-grid label small,.framework-contract-lists label small{color:var(--muted);font-weight:400}.framework-contract-grid textarea,.framework-contract-lists textarea,.ledger-form textarea{resize:vertical;padding:12px;line-height:1.65}.framework-contract-lists{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.framework-confirm-row,.chapter-check-decision{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;margin-top:24px;padding-top:20px;display:flex}.framework-confirm-row span{color:var(--muted)}.knowledge-builder{border:1px solid var(--line);border-radius:14px;grid-column:1/-1;padding:16px}.knowledge-builder>header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.knowledge-builder>header div{gap:3px;display:grid}.knowledge-builder>header small{color:var(--muted)}.knowledge-builder button,.knowledge-row button{border:1px solid var(--line);color:var(--ink);background:#fffdf8;border-radius:9px}.knowledge-row{grid-template-columns:.75fr .75fr 1.5fr auto;gap:8px;margin-top:8px;display:grid}.knowledge-row button{width:42px}.ledger-save{grid-column:1/-1;justify-content:end;gap:10px;display:flex}.ledger-item-actions{align-items:center;gap:8px;display:flex}.ledger-item-actions button{border:1px solid var(--line);min-height:40px;color:var(--ink);background:#fffdf8;border-radius:9px;padding:8px 12px}.ledger-list{gap:14px;margin-top:28px;display:grid}.ledger-list article{border:1px solid var(--line);background:#ffffff8f;border-radius:15px;padding:18px}.ledger-list article>header{justify-content:space-between;align-items:center;gap:16px;display:flex}.ledger-list h3{margin:3px 0 0;font-size:1.08rem}.ledger-list header small{color:var(--accent)}.ledger-list select{width:auto}.ledger-list dl{gap:9px;margin:15px 0 0;display:grid}.ledger-list dl>div{grid-template-columns:58px 1fr;gap:10px;display:grid}.ledger-list dt{color:var(--muted)}.ledger-list dd{margin:0;line-height:1.65}.ledger-empty,.chapter-check-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:15px;margin-top:24px;padding:34px}.chapter-check-empty{gap:7px;display:grid}.chapter-check-result{background:#f4f8f1;border:1px solid #bfd2bc;border-radius:18px;margin-top:22px;overflow:hidden}.chapter-check-result.has-risk{background:#fff7f3;border-color:#dfc1b8}.chapter-check-result>header{border-bottom:1px solid #5a4b371f;justify-content:space-between;gap:16px;padding:20px;display:flex}.chapter-check-result h3{margin:4px 0 0}.chapter-check-result>header span,.chapter-check-result>header small{color:var(--muted)}.chapter-check-summary{background:#5a4b371f;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;display:grid}.chapter-check-summary article{background:#ffffffad;padding:18px}.chapter-check-summary p{margin:7px 0 0;line-height:1.65}.chapter-risk-list{gap:10px;padding:18px;display:grid}.chapter-risk-list article{background:#ffffffb8;border-radius:12px;gap:6px;padding:15px;display:grid}.chapter-risk-list small{color:#a34d3b}.chapter-risk-list p,.chapter-risk-list span{color:var(--muted);margin:0;line-height:1.6}.chapter-check-actions,.chapter-check-decision,.chapter-check-boundary{margin-left:18px;margin-right:18px}.chapter-check-actions ul{margin:8px 0 0;padding-left:20px}.chapter-check-decision>div{gap:6px;display:grid}.chapter-check-decision small,.chapter-check-decision span,.chapter-check-boundary{color:var(--muted)}.chapter-check-boundary{border-top:1px solid #5a4b371f;padding:14px 0 18px;font-size:.83rem}@media (width<=820px){.framework-topbar{grid-template-columns:auto 1fr;gap:16px;padding:0 16px}.framework-topbar>div{justify-self:end}.framework-topbar>div span,.framework-topbar>small{display:none}.framework-shell{width:min(100% - 24px,1180px);padding:28px 0 50px}.framework-hero,.framework-contract-grid,.framework-contract-lists,.ledger-form,.chapter-check-summary{grid-template-columns:1fr}.framework-metrics{grid-template-columns:repeat(3,1fr)}.framework-metrics span{min-width:0;padding:13px 9px}.framework-tabs{grid-template-columns:repeat(2,1fr);display:grid}.framework-panel{padding:20px 15px}.framework-panel-head,.framework-source-row,.chapter-check-controls,.framework-confirm-row,.chapter-check-decision{flex-direction:column;align-items:stretch}.knowledge-row{grid-template-columns:1fr}.knowledge-row button,.framework-confirm-row button,.chapter-check-controls button,.chapter-check-decision button,.ledger-save,.ledger-save button{width:100%}.ledger-save{flex-direction:column}.ledger-list dl>div{grid-template-columns:1fr;gap:2px}}
