:root{color-scheme:light;--color-canvas: oklch(97.2% .004 75);--color-surface: oklch(100% 0 0);--color-panel: oklch(98.7% .003 75);--color-hover: oklch(96.3% .005 75);--color-editor-hover: oklch(99.6% .001 75);--color-ink: oklch(25.5% .013 55);--color-body: oklch(36.8% .012 55);--color-muted: oklch(49.5% .012 55);--color-faint: oklch(56% .01 55);--color-rule: oklch(91.7% .005 75);--color-rule-soft: oklch(95% .004 75);--color-accent: oklch(52% .147 35);--color-accent-ink: oklch(100% 0 0);--color-accent-hover: oklch(46% .142 35);--color-accent-soft: oklch(96.1% .024 40);--color-accent-rule: oklch(89.2% .045 40);--color-focus: oklch(20% .04 255);--color-human: oklch(44% .075 160);--color-human-fill: oklch(68% .085 160);--color-human-soft: oklch(96% .025 160);--color-suspected: oklch(47% .104 75);--color-suspected-fill: oklch(77% .105 75);--color-suspected-soft: oklch(96.6% .039 85);--color-ai: oklch(52% .147 35);--color-ai-fill: oklch(69% .125 35);--color-ai-soft: oklch(96% .03 35);--color-error: oklch(46% .155 28);--color-error-soft: oklch(97% .015 28);--color-shadow-near: oklch(20% .015 55 / .035);--color-shadow-mid: oklch(20% .015 55 / .055);--color-shadow-far: oklch(20% .015 55 / .035);--font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;--font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;--text-xs: .75rem;--text-sm: .8125rem;--text-base: .875rem;--text-editor: 1rem;--text-title: 1.1875rem;--text-number: 3rem;--space-2xs: .25rem;--space-xs: .5rem;--space-sm: .75rem;--space-md: 1rem;--space-lg: 1.5rem;--space-xl: 2rem;--space-2xl: 2.5rem;--space-3xl: 3rem;--radius-sm: .375rem;--radius-md: .625rem;--radius-lg: 1rem;--radius-xl: 1.25rem;--radius-pill: 99rem;--rule-width: 1px;--ease-out: cubic-bezier(.16, 1, .3, 1);--ease-in: cubic-bezier(.7, 0, .84, 1);--ease-in-out: cubic-bezier(.65, 0, .35, 1);--dur-short: .15s;--dur-press: .1s}*{box-sizing:border-box}html{min-width:0;background:var(--color-canvas);overflow-x:clip}body{margin:0;color:var(--color-ink);font-family:var(--font-body);font-size:var(--text-base);-webkit-font-smoothing:antialiased;overflow-x:clip}button,textarea{font:inherit}button{-webkit-tap-highlight-color:transparent}button{cursor:pointer;white-space:nowrap}button:disabled{cursor:not-allowed;opacity:.5}button,textarea{transition:background-color var(--dur-short) var(--ease-out),transform var(--dur-press) var(--ease-out)}button:active:not(:disabled){transform:translateY(1px)}:focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}svg{display:block;flex-shrink:0}h1,h2,h3,p{margin:0}button{border:0}.app-shell{width:min(100%,1248px);margin:0 auto;padding:var(--space-3xl) var(--space-xl) var(--space-lg)}.app-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-lg);padding:0 var(--space-2xs);margin-bottom:var(--space-2xl)}.brand{display:flex;align-items:center;gap:var(--space-sm)}.brand-mark{width:48px;height:48px;display:grid;place-items:center;flex-shrink:0}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}.brand h1{font-family:var(--font-display);font-size:var(--text-title);font-weight:650;letter-spacing:-.03em;line-height:1.35}.brand p{font-size:var(--text-xs);color:var(--color-muted);margin-top:var(--space-2xs);letter-spacing:.015em}.header-note{display:flex;align-items:center;gap:var(--space-xs);font-size:var(--text-xs);color:var(--color-muted)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 332px;background:var(--color-surface);border:var(--rule-width) solid var(--color-rule);border-radius:var(--radius-xl);box-shadow:0 2px 4px var(--color-shadow-near),0 14px 32px -12px var(--color-shadow-mid),0 48px 80px -32px var(--color-shadow-far)}.editor-panel,.results-panel{min-width:0}.editor-panel{padding:0 var(--space-lg)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-xs);min-height:76px}.panel-heading h2{font-size:var(--text-base);font-weight:600;line-height:1.5;letter-spacing:.01em}.editor-tools{display:flex;align-items:center;gap:var(--space-2xs)}.tool-button{display:inline-flex;gap:6px;align-items:center;justify-content:center;padding:0 var(--space-xs);min-height:44px;color:var(--color-muted);background:transparent;border-radius:var(--radius-sm);font-size:var(--text-sm);white-space:nowrap}.tool-button[data-state=success]{color:var(--color-human)}.editor-surface{position:relative;min-height:440px;border:var(--rule-width) solid var(--color-rule);border-radius:var(--radius-md);background:var(--color-surface)}.body-input{display:block;width:100%;min-width:0;height:440px;min-height:280px;padding:var(--space-lg);margin:0;border:var(--rule-width) solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--color-body);font-size:var(--text-editor);line-height:1.95;resize:vertical;overflow-wrap:anywhere}.body-input:focus-visible{outline-offset:-3px}.body-input:placeholder-shown::placeholder{color:transparent}.body-input[aria-invalid=true]{border-color:var(--color-error)}.editor-empty{position:absolute;pointer-events:none;width:100%;top:37%;left:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 var(--space-md)}.editor-empty__icon{color:var(--color-faint);margin-bottom:var(--space-md)}.editor-empty p{font-size:var(--text-editor);font-weight:500;color:var(--color-muted);line-height:1.6}.editor-empty>span:last-child{color:var(--color-faint);font-size:var(--text-sm);margin-top:var(--space-xs);line-height:1.6}.editor-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-sm);padding:var(--space-sm) var(--space-2xs) 0;color:var(--color-muted);font-size:var(--text-xs);line-height:1.6}.text-count{flex-shrink:0;color:var(--color-body);font-variant-numeric:tabular-nums;white-space:nowrap}.text-count>span{color:var(--color-muted)}.text-count--error,.text-count--error>span{color:var(--color-error)}.editor-action-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);min-height:100px}.editor-action-note{display:flex;align-items:center;gap:6px;color:var(--color-muted);font-size:var(--text-xs)}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-sm);min-width:144px;min-height:46px;padding:0 var(--space-lg);border-radius:var(--radius-md);color:var(--color-accent-ink);background:var(--color-accent);font-weight:550;letter-spacing:.01em}.primary-button:disabled{background:var(--color-ink);opacity:.3}.results-panel{padding:0 var(--space-lg) var(--space-lg);border-left:var(--rule-width) solid var(--color-rule);background:var(--color-panel);border-radius:0 var(--radius-xl) var(--radius-xl) 0}.result-heading{border-bottom:var(--rule-width) solid var(--color-rule-soft)}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:5px var(--space-xs);border-radius:var(--radius-pill);color:var(--color-muted);background:var(--color-hover);font-size:11px;line-height:1;white-space:nowrap}.status-pill>svg{width:12px;height:12px}.status-pill--ready{color:var(--color-human);background:var(--color-human-soft)}.status-pill--partial{color:var(--color-body);background:var(--color-suspected-soft)}.status-dot{width:4px;height:4px;border-radius:var(--radius-pill);background:var(--color-muted)}.result-empty{min-height:480px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--space-xl) var(--space-xs) var(--space-3xl)}.result-empty__icon{width:68px;height:68px;display:grid;place-items:center;background:var(--color-surface);color:var(--color-faint);border:var(--rule-width) solid var(--color-rule);border-radius:var(--radius-lg);margin-bottom:var(--space-lg);box-shadow:0 3px 6px var(--color-shadow-near)}.result-empty h3{font-size:var(--text-base);font-weight:550;color:var(--color-body)}.result-empty p{color:var(--color-muted);font-size:var(--text-sm);line-height:1.9;margin-top:var(--space-sm);white-space:pre-line}.empty-footnote{color:var(--color-muted);font-size:var(--text-xs);margin-top:var(--space-2xl);letter-spacing:.025em}.loading-caption{display:flex;align-items:center;gap:var(--space-xs);margin-top:var(--space-2xl);color:var(--color-accent);font-size:var(--text-xs)}.result-empty--loading .result-empty__icon{color:var(--color-accent);background:var(--color-accent-soft);border-color:var(--color-accent-rule)}.report-content{padding-top:var(--space-lg)}.summary-label{display:block;font-size:var(--text-sm);color:var(--color-muted)}.summary-value{margin-top:var(--space-xs);color:var(--color-ink);font-family:var(--font-display);font-size:var(--text-number);font-weight:550;letter-spacing:-.045em;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.summary-value>span{margin-left:5px;color:var(--color-muted);font-size:21px;font-weight:400;letter-spacing:-.025em}.summary-caption{display:block;margin-top:var(--space-xs);color:var(--color-muted);font-size:var(--text-xs);line-height:1.6}.ratio-bar{display:flex;gap:3px;width:100%;height:7px;overflow:hidden;margin-top:var(--space-lg);border-radius:var(--radius-pill);background:var(--color-rule-soft)}.ratio-bar__part{min-width:0}.ratio-bar__part--human{background:var(--color-human-fill)}.ratio-bar__part--suspected{background:var(--color-suspected-fill)}.ratio-bar__part--ai{background:var(--color-ai-fill)}.ratio-bar__part--pending{background:var(--color-rule)}.ratio-bar{gap:0}.ratio-bar__part{flex-shrink:0}.ratio-list{margin:var(--space-md) 0 0}.ratio-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-xs);padding:9px 0}.ratio-row dt{display:flex;align-items:center;gap:var(--space-xs);color:var(--color-body);font-size:var(--text-sm)}.ratio-row dd{margin:0;font-size:var(--text-base);color:var(--color-ink);font-weight:550;font-variant-numeric:tabular-nums}.ratio-row dd>span{margin-left:2px;color:var(--color-muted);font-size:var(--text-xs);font-weight:400}.report-verified{display:flex;align-items:center;gap:6px;margin-top:var(--space-md);padding-bottom:var(--space-lg);color:var(--color-muted);font-size:var(--text-xs)}.rewrite-section{padding-top:var(--space-lg);border-top:var(--rule-width) solid var(--color-rule)}.rewrite-heading{display:flex;align-items:center;gap:var(--space-xs)}.rewrite-heading>svg{color:var(--color-accent)}.rewrite-heading h3{font-size:var(--text-base);font-weight:550}.rewrite-section>p{font-size:var(--text-xs);color:var(--color-muted);line-height:1.7;margin-top:var(--space-xs)}.rewrite-button{display:flex;align-items:center;justify-content:center;gap:var(--space-xs);width:100%;min-height:44px;margin-top:var(--space-md);border:var(--rule-width) solid var(--color-accent-rule);border-radius:var(--radius-md);background:var(--color-accent-soft);color:var(--color-accent);font-weight:550}.rewrite-help{display:block;margin-top:var(--space-sm);color:var(--color-muted);font-size:11px;line-height:1.7;text-align:center}.rewrite-progress{display:flex;flex-wrap:wrap;gap:var(--space-xs);justify-content:space-between;align-items:center;font-size:var(--text-xs);color:var(--color-muted);margin-top:var(--space-md)}.rewrite-progress>span:first-child{display:flex;align-items:center;gap:6px;color:var(--color-accent)}.rewrite-progress svg{width:13px;height:13px}.marked-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:var(--space-2xs) var(--space-sm);padding:6px var(--space-md);border-bottom:var(--rule-width) solid var(--color-rule-soft)}.text-legend{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-sm);font-size:11px;color:var(--color-muted)}.text-legend>span{display:flex;align-items:center;gap:5px}.legend-swatch{display:inline-block;width:10px;height:10px;flex-shrink:0;border-radius:2px;border-bottom-width:2px}.legend-swatch--human{background:var(--color-human-soft);border-bottom-style:solid;border-bottom-color:var(--color-human)}.legend-swatch--suspected{background:var(--color-suspected-soft);border-bottom-style:dotted;border-bottom-color:var(--color-suspected)}.legend-swatch--ai{background:var(--color-ai-soft);border-bottom-style:dashed;border-bottom-color:var(--color-ai)}.edit-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:0 var(--space-xs);background:transparent;color:var(--color-muted);font-size:var(--text-xs);border-radius:var(--radius-sm)}.marked-body{padding:var(--space-lg);min-height:386px;max-height:620px;overflow-y:auto;color:var(--color-body);font-size:var(--text-editor);line-height:2.1;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;border-radius:0 0 var(--radius-md) var(--radius-md)}.marked-body:focus-visible{outline-offset:-3px}.text-mark{color:inherit;padding:2px 0;border-bottom-width:1px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.text-mark--human{background:var(--color-human-soft);border-bottom-style:solid;border-bottom-color:var(--color-human)}.text-mark--suspected{background:var(--color-suspected-soft);border-bottom-style:dotted;border-bottom-color:var(--color-suspected)}.text-mark--ai{background:var(--color-ai-soft);border-bottom-style:dashed;border-bottom-color:var(--color-ai)}.feedback-area{margin-top:var(--space-md)}.feedback{display:flex;align-items:flex-start;gap:var(--space-xs);padding:var(--space-sm) var(--space-md);border:var(--rule-width) solid var(--color-rule);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-body);font-size:var(--text-sm);line-height:1.8}.feedback+.feedback{margin-top:var(--space-xs)}.feedback>svg{margin-top:var(--space-2xs)}.feedback>p{min-width:0;overflow-wrap:anywhere}.feedback--error{color:var(--color-error);border-color:var(--color-accent-rule);background:var(--color-error-soft)}.feedback--success{color:var(--color-human)}.page-footnote{text-align:center;color:var(--color-muted);font-size:var(--text-xs);line-height:1.9;padding:var(--space-lg) var(--space-xs) 0}.spinner{animation:spin 1.2s linear infinite}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes spin{to{transform:rotate(360deg)}}@media(hover:hover){.tool-button:hover:not(:disabled),.edit-button:hover:not(:disabled){background:var(--color-hover);color:var(--color-ink)}.primary-button:hover:not(:disabled){background:var(--color-accent-hover)}.rewrite-button:hover:not(:disabled){background:var(--color-accent-rule)}.body-input:hover{background:var(--color-editor-hover)}}@media(min-width:1440px){.app-shell{padding-top:64px}.app-header{margin-bottom:var(--space-3xl)}.editor-surface{min-height:480px}.body-input{height:480px}.marked-body{min-height:426px}}@media(max-width:900px){.app-shell{max-width:760px;padding-top:var(--space-xl)}.app-header{margin-bottom:var(--space-xl)}.workspace{grid-template-columns:minmax(0,1fr)}.results-panel{border-left:0;border-top:var(--rule-width) solid var(--color-rule);border-radius:0 0 var(--radius-xl) var(--radius-xl)}.result-heading{min-height:68px}.result-empty{min-height:264px;padding-top:var(--space-lg);padding-bottom:var(--space-lg)}.result-empty__icon{width:52px;height:52px;margin-bottom:var(--space-md);border-radius:var(--radius-md)}.result-empty p{margin-top:var(--space-xs)}.empty-footnote,.loading-caption{margin-top:var(--space-lg)}.report-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--space-2xl);padding-bottom:var(--space-lg)}.report-summary{grid-column:1;grid-row:1 / 3}.ratio-bar{grid-column:1;margin-top:var(--space-lg);align-self:end}.ratio-list{grid-column:2;grid-row:1 / 3;margin-top:0}.report-verified{grid-column:2;padding-bottom:0;margin-top:var(--space-lg)}.rewrite-section{display:grid;grid-template-columns:minmax(0,1fr) 204px;gap:0 var(--space-lg)}.rewrite-heading{grid-column:1}.rewrite-section>p{grid-column:1}.rewrite-button{grid-column:2;grid-row:1 / 3;margin-top:0}.rewrite-help{grid-column:2}.rewrite-progress{grid-column:1;grid-row:3}}@media(max-width:560px){.app-shell{padding:var(--space-lg) var(--space-md)}.app-header{padding:0 var(--space-2xs);margin-bottom:var(--space-lg)}.brand-mark{width:40px;height:40px}.brand h1{font-size:18px}.brand p{font-size:11px}.header-note{display:none}.editor-panel{padding:0 var(--space-md)}.panel-heading{min-height:70px}.tool-button{padding:0 6px;gap:4px;font-size:var(--text-xs)}.editor-tools{gap:0}.editor-surface{min-height:360px}.body-input{height:360px;padding:var(--space-md)}.editor-empty{top:34%}.editor-empty p{font-size:15px}.editor-empty>span:last-child{font-size:var(--text-xs)}.editor-meta{padding-left:0;padding-right:0;font-size:11px}.editor-action-row{min-height:88px}.primary-button{min-width:132px;padding:0 var(--space-md)}.editor-action-note{font-size:11px;gap:4px}.editor-action-note>svg{width:13px;height:13px}.results-panel{padding-left:var(--space-lg);padding-right:var(--space-lg)}.result-empty{min-height:276px}.report-content{display:block;padding-top:var(--space-lg);padding-bottom:0}.ratio-list{margin-top:var(--space-md)}.report-verified{padding-bottom:var(--space-lg)}.rewrite-section{display:block}.rewrite-button{margin-top:var(--space-md)}.marked-toolbar{padding-left:var(--space-xs);padding-right:var(--space-xs)}.text-legend{gap:var(--space-xs);font-size:10px}.text-legend>span{gap:3px}.edit-button{font-size:11px;gap:4px;padding:0 4px}.edit-button>svg{width:12px;height:12px}.marked-body{padding:var(--space-md);min-height:308px;max-height:520px}.page-footnote{font-size:11px;padding-top:var(--space-md)}}@media(max-width:374px){.app-shell{padding-left:var(--space-sm);padding-right:var(--space-sm)}.panel-heading h2{font-size:var(--text-sm)}.tool-button{padding:0 4px}.tool-button>svg{width:13px;height:13px}.editor-meta{flex-direction:column;align-items:flex-end;gap:var(--space-2xs)}.editor-meta>span:first-child{align-self:flex-start}.editor-action-note{max-width:105px;line-height:1.6}.primary-button{min-width:126px;padding:0 var(--space-sm)}.text-legend{gap:6px}.legend-swatch{width:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}input{font:inherit;min-width:0;color:inherit}button svg{pointer-events:none}a{color:var(--color-accent);text-underline-offset:3px}.history-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 14px;border:1px solid var(--color-rule);border-radius:var(--radius-md);color:var(--color-body);background:var(--color-surface);font-size:var(--text-sm)}.history-count{font-size:11px;color:var(--color-muted);padding:1px 5px;border-radius:20px;background:var(--color-hover)}.article-name{display:flex;gap:12px;align-items:center;padding:0 0 16px;font-size:12px;color:var(--color-muted)}.article-name input{flex:1;width:100%;border:0;border-bottom:1px solid var(--color-rule);border-radius:0;background:transparent;padding:10px 2px;color:var(--color-ink)}.detection-settings{padding-top:18px}.detection-settings label{display:flex;align-items:center;gap:8px;min-height:32px;font-size:13px}input[type=checkbox]{accent-color:var(--color-accent);width:17px;height:17px;cursor:pointer;flex-shrink:0}input[type=checkbox]:disabled{cursor:not-allowed}.detection-settings p,.plan-preview,.service-notice,.local-save-status{font-size:12px;line-height:1.8;color:var(--color-muted)}.detection-settings p{padding-left:25px}.plan-preview{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;padding-top:14px}.plan-preview svg{margin-top:3px}.plan-preview span{flex:1;min-width:0}.plan-preview p{flex-basis:100%;color:var(--color-error)}.service-notice{padding-bottom:20px;color:var(--color-suspected)}.local-save-status{display:flex;flex-wrap:wrap;gap:0 10px;align-items:center;border-top:1px solid var(--color-rule-soft);padding:8px 0 12px;overflow-wrap:anywhere}.local-save-status>span{flex:1;min-width:130px}.report-content{display:block}.judgement{font-size:25px;font-weight:550;letter-spacing:-.025em;margin-top:12px;line-height:1.45}.judgement--aigc{color:var(--color-ai)}.judgement--ugc{color:var(--color-human)}.judgement--review{color:var(--color-suspected)}.judgement--incomplete{color:var(--color-muted)}.confidence-line{padding-top:8px;font-size:13px;color:var(--color-body)}.confidence-line strong{font-weight:550;margin-left:4px}.confidence-help{color:var(--color-muted);font-size:12px;line-height:1.8;margin-top:14px}.record-time{display:block;font-size:11px;color:var(--color-muted);margin-top:10px}.coverage{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-top:24px;font-size:12px;line-height:1.7}.coverage strong{font-weight:500}.coverage-note{margin-top:4px;color:var(--color-muted);font-size:11px}.chunk-selector{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.chunk-chip{display:grid;place-items:center;min-width:36px;min-height:36px;border:1px solid transparent;border-radius:7px;font-size:12px;color:var(--color-body)}.chunk-chip[aria-pressed=true]{border-color:currentColor;box-shadow:0 0 0 2px var(--color-surface) inset}.tone-aigc,.text-mark--aigc{background:var(--color-ai-soft)}.tone-ugc,.text-mark--ugc{background:var(--color-human-soft)}.tone-review,.text-mark--review{background:var(--color-suspected-soft)}.tone-incomplete,.text-mark--incomplete{background:var(--color-hover)}.text-mark{cursor:pointer;scroll-margin:60px}.text-mark--aigc{border-bottom:1px dashed var(--color-ai)}.text-mark--ugc{border-bottom:1px solid var(--color-human)}.text-mark--review{border-bottom:1px dotted var(--color-suspected)}.text-mark--incomplete{border-bottom:1px dashed var(--color-muted)}.text-mark--unknown{background:var(--color-hover);border-bottom:1px dotted var(--color-muted)}.text-mark{cursor:text}.risk-word{cursor:pointer}.legend-swatch--incomplete{background:var(--color-hover);border-bottom:2px dashed var(--color-muted)}.risk-word{text-decoration:underline wavy var(--color-error);text-underline-offset:4px;scroll-margin:80px}.chunk-detail{border-top:1px solid var(--color-rule);padding:16px 0;font-size:12px;line-height:1.9;overflow-wrap:anywhere}.chunk-detail h3{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:550;margin-bottom:5px}.chunk-detail h3 span{color:var(--color-muted);font-weight:400;font-size:11px}.chunk-detail summary{cursor:pointer;color:var(--color-muted);padding:8px 0}.chunk-quote{white-space:pre-wrap;line-height:1.8;background:var(--color-surface);border-radius:8px;padding:12px;max-height:220px;overflow:auto}.request-id,.detail-error{font-size:11px;overflow-wrap:anywhere;line-height:1.8}.detail-error{color:var(--color-error);padding-bottom:12px}.full-width{width:100%}.muted{font-size:12px;line-height:1.8;color:var(--color-muted)}.risk-section{padding-top:18px;margin-top:16px;border-top:1px solid var(--color-rule);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.risk-section h3{font-size:13px;font-weight:550;margin-bottom:8px}.risk-section>p{color:var(--color-muted)}.risk-list{margin:8px 0 0;padding:0;list-style:none}.risk-link{display:block;padding:10px 0;width:100%;border-bottom:1px solid var(--color-rule-soft);text-align:left;white-space:normal;background:transparent;color:var(--color-error);line-height:1.8}.risk-link span,.risk-link small{display:block;color:var(--color-body);font-size:11px}.risk-link small{color:var(--color-muted)}.risk-link:disabled{opacity:1;cursor:default}.archive-dialog{width:min(900px,calc(100% - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:0;color:var(--color-ink);border:1px solid var(--color-rule);border-radius:18px;background:var(--color-surface);box-shadow:0 24px 100px #2520182b;overflow:auto}.archive-dialog::backdrop{background:#23201d52;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-heading{position:sticky;top:0;z-index:1;background:var(--color-surface);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;border-bottom:1px solid var(--color-rule)}.dialog-heading h2{font-size:17px;font-weight:550}.icon-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;min-width:40px;padding:8px;background:transparent;color:var(--color-muted);border-radius:8px}.archive-content,.duplicate-content{padding:20px 24px 28px}.archive-privacy{color:var(--color-muted);font-size:12px;line-height:1.9}.archive-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:16px 0}.danger{color:var(--color-error)}.archive-filter{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.archive-filter input{border:1px solid var(--color-rule);border-radius:7px;padding:10px;max-width:100%;background:var(--color-surface)}.archive-filter label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--color-muted)}.archive-filter .search-field{flex:1 1 210px;position:relative}.search-field svg{position:absolute;left:10px}.search-field input{width:100%;padding-left:32px}.archive-message,.import-preview{border:1px solid var(--color-accent-rule);background:var(--color-accent-soft);border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.9;margin-bottom:16px;overflow-wrap:anywhere}.import-preview h3{font-size:14px}.import-preview details{margin-top:10px}.import-preview ul{padding-left:16px}.article-group{border-top:1px solid var(--color-rule);padding-top:14px;margin-top:16px}.article-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.article-group-heading h3{font-size:14px;font-weight:550;overflow-wrap:anywhere;min-width:0}.article-group-heading h3 span{display:inline-block;font-size:11px;color:var(--color-muted);margin-left:10px;font-weight:400}.history-row{display:flex;align-items:center;gap:12px;padding:12px 0}.compare-check{display:flex;align-items:center;justify-content:center;width:30px;min-height:44px;flex-shrink:0}.history-row-info{flex:1;min-width:0;font-size:12px;line-height:1.8}.history-row-info p{color:var(--color-muted);font-size:11px}.history-row-actions{display:flex;align-items:center;gap:4px}.history-row-actions .secondary-button{min-height:40px;padding:0 12px;font-size:12px}.archive-empty{padding:32px 0;text-align:center;color:var(--color-muted);font-size:13px;line-height:1.9}.inline-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px}.duplicate-content p{font-size:13px;line-height:2;color:var(--color-body)}.compare-selection{display:flex;align-items:center;gap:12px;font-size:12px}.comparison{padding:20px;margin:12px 0 24px;border:1px solid var(--color-rule);border-radius:12px;background:var(--color-panel)}.comparison>h3{font-size:15px;margin-bottom:16px}.comparison-labels,.comparison-risks{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.comparison-labels>div{font-size:12px;line-height:1.9}.comparison-labels time{display:block;font-size:11px;color:var(--color-muted)}.comparison-labels strong{display:block;font-size:17px;margin-top:8px}.comparison-notice{margin:16px 0 8px;font-size:12px;line-height:1.8}.diff-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.diff-heading h4{font-size:13px;margin:0}.diff-heading i{padding:3px 6px;font-size:11px;font-style:normal}.diff-add,.text-difference ins{background:var(--color-human-soft);color:var(--color-human);text-decoration:none;border-bottom:1px solid var(--color-human)}.diff-remove,.text-difference del{background:var(--color-ai-soft);color:var(--color-ai)}.diff-jumps{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:10px;font-size:11px;max-height:80px;overflow:auto}.text-difference{max-height:360px;overflow:auto;margin-top:10px;padding:16px;border:1px solid var(--color-rule);border-radius:8px;font-size:14px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--color-surface)}.text-difference ins,.text-difference del{scroll-margin:80px}@media(hover:hover){.secondary-button:hover:not(:disabled),.history-button:hover,.icon-button:hover{background:var(--color-hover)}}@media(max-width:560px){.app-header{gap:10px}.brand{gap:8px}.brand p{font-size:10px}.history-button{padding:0 10px;font-size:11px;gap:5px}.history-count{display:none}.article-name{font-size:11px;gap:8px}.article-name input{font-size:12px}.editor-meta{flex-wrap:wrap}.text-count{white-space:normal}.text-count>span{display:inline;font-size:10px}.detection-settings p,.plan-preview,.service-notice{font-size:11px}.editor-action-row{flex-wrap:wrap;padding:18px 0;min-height:88px;gap:12px}.editor-action-note{max-width:145px;line-height:1.8}.archive-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 24px);border-radius:12px}.dialog-heading{padding:10px 14px}.dialog-heading h2{font-size:15px}.archive-content,.duplicate-content{padding:16px 14px 20px}.archive-filter{gap:8px}.archive-filter input[type=date]{width:116px;padding:8px 4px;font-size:11px}.archive-filter label{font-size:11px;gap:4px}.history-row{flex-wrap:wrap;gap:2px 6px}.history-row-info{flex-basis:calc(100% - 40px)}.history-row-actions{margin-left:36px}.article-group-heading{gap:6px}.article-group-heading h3{font-size:13px}.article-group-heading h3 span{display:block;margin-left:0}.comparison{padding:12px}.comparison-labels{gap:10px}.comparison-labels strong{font-size:14px}.comparison-risks{grid-template-columns:minmax(0,1fr);gap:0}.inline-actions .primary-button{min-width:120px}}@media(max-width:374px){.history-button{min-width:44px;padding:0 8px}.brand-mark{width:34px;height:34px}.brand h1{font-size:17px}.brand p{font-size:9px}.history-button{font-size:10px}.editor-action-note{max-width:112px}.archive-tools{gap:6px}.archive-tools .secondary-button{padding:0 8px;font-size:11px}.archive-filter input[type=date]{width:106px}}.selected-risk{margin-top:12px;padding:10px 14px;border:1px solid var(--color-accent-rule);border-radius:8px;color:var(--color-error);background:var(--color-error-soft);font-size:12px;line-height:1.9;overflow-wrap:anywhere}.selected-risk strong{font-weight:550}.selected-risk p{color:var(--color-body)}.selected-risk>span{font-size:11px;color:var(--color-muted)}.backup-part-downloads{display:grid;gap:10px;margin-top:18px}.feedback>.secondary-button{flex-shrink:0}@media(max-width:560px){.feedback{flex-wrap:wrap}.feedback>.secondary-button{margin-left:auto}}@media(max-width:374px){.app-header{gap:6px}.brand{min-width:0}}.header-actions,.account-controls{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}.account-balance{font-size:13px;color:var(--muted,#817b73);white-space:nowrap}.account-balance strong{font-weight:600;color:var(--ink,#302d28);font-variant-numeric:tabular-nums}.account-balance small{font-size:12px}.quota-note{font-size:12px;line-height:1.8;color:var(--muted,#817b73);margin:14px 0 0}.login-content{max-width:380px;margin:0 auto;padding:24px 28px 30px;text-align:center}.login-brand{display:block;margin:0 auto 16px;object-fit:contain}.login-intro{font-size:14px;line-height:1.8;color:#625c55;margin:0 0 20px}.login-intro strong{font-weight:600;color:#302d28}.login-qr{display:block;margin:0 auto;border:1px solid #ece8e1;border-radius:16px;padding:10px;background:#fff;box-sizing:content-box;max-width:80%;height:auto}.login-loading{margin:48px auto}.login-notice{font-size:14px;line-height:1.8;color:#625c55;min-height:26px;margin:18px 0}.login-privacy{font-size:12px;line-height:1.9;color:#817b73;margin:24px 0 8px}.login-privacy-link{font-size:12px;color:#817b73;text-underline-offset:4px}.wechat-login-button{width:100%;justify-content:center;gap:18px}@media(max-width:700px){.header-actions{gap:10px}.account-controls{gap:8px}.account-balance{font-size:12px}.account-balance small{display:block;text-align:right}.header-actions .history-button{padding:9px 11px}.login-content{padding:20px 18px}.app-header{gap:16px;align-items:flex-start}}.login-dialog{width:min(440px,calc(100vw - 32px))}
