.wechat-editor{width:100%;max-width:1440px;margin:auto;padding:20px 32px 48px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;--editor-line: #ede6da}.editor-toolbar{padding:14px 18px 12px;border:1px solid var(--editor-line);border-radius:12px;background:#fff}.editor-toolbar-main{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.editor-heading{display:flex;gap:14px;align-items:center;min-width:0}.back-to-tools{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;min-height:40px;color:var(--text-soft);font-size:12px;text-decoration:none}.back-to-tools svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.heading-divider{width:1px;height:18px;background:var(--editor-line)}.editor-heading h1{font:600 19px/1.4 -apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;margin:0}.editor-actions{display:flex;align-items:center;gap:7px}.editor-actions button,.file-label{display:inline-flex;align-items:center;justify-content:center;gap:9px;position:relative;font:inherit;font-size:13px;line-height:1.5;min-height:40px;padding:9px 13px;white-space:nowrap;border:1px solid var(--editor-line);border-radius:8px;background:#fff;color:var(--text);cursor:pointer}.editor-actions button:hover,.file-label:hover{border-color:var(--orange);background:var(--cream)}.editor-actions #copy{margin-left:3px;padding-inline:16px;color:#fff;background:var(--accent-deep);border-color:var(--accent-deep)}.editor-actions #copy:hover{background:#9b4527}.editor-actions button:disabled{opacity:.6;cursor:wait}.file-label input{position:absolute;width:1px;height:1px;opacity:0}.wechat-editor button:focus-visible,.wechat-editor a:focus-visible,.wechat-editor textarea:focus-visible,.wechat-editor summary:focus-visible,.file-label:focus-within{outline:2px solid var(--accent-deep);outline-offset:3px}.editor-toolbar-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 20px;margin-top:7px}.editor-status{color:var(--text-soft);font-size:12px;line-height:1.7;min-height:21px}.editor-guide{position:relative;font-size:12px;color:var(--text-soft)}.editor-guide summary{display:flex;align-items:center;gap:4px;min-height:21px;cursor:pointer;list-style:none;border-radius:4px}.editor-guide summary::-webkit-details-marker{display:none}.editor-guide summary:hover,.editor-guide[open] summary{color:var(--accent-deep)}.editor-guide summary svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.editor-guide[open] summary svg{transform:rotate(180deg)}.editor-guide-content{position:absolute;z-index:60;top:calc(100% + 10px);right:-4px;width:min(360px,calc(100vw - 64px));padding:18px;background:#fff;border:1px solid var(--editor-line);border-radius:10px;box-shadow:var(--shadow-lift)}.editor-guide-content p{margin:0 0 14px;color:var(--text);font-size:12px;line-height:1.8}.editor-guide-content strong{display:block;margin-bottom:3px;color:var(--text-strong);font-weight:600}.editor-version{font-size:11px;color:var(--text-soft)}.editor-workspace{display:grid;grid-template-columns:minmax(0,1fr) min(430px,calc(50% - 12px));gap:24px;align-items:start;margin-top:14px}.editor-workspace.is-wide{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.input-pane{position:sticky;top:80px;min-width:0}.pane-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;height:44px;margin-bottom:10px;font-size:13px;font-weight:500}#count{color:var(--text-soft);font-size:12px;font-weight:400}#markdown{display:block;width:100%;height:calc(100vh - 260px);min-height:380px;padding:22px;resize:vertical;font:15px/1.8 ui-monospace,PingFang SC,monospace;color:var(--text);background:#fff;border:1px solid var(--editor-line);border-radius:10px}.preview-pane{min-width:0;width:100%;max-width:430px;margin-inline:auto}.editor-workspace.is-wide .preview-pane{max-width:none}.preview-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;background:#f0e9de;border:1px solid #e6ddcf;border-radius:10px}.preview-switch button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:66px;min-height:30px;padding:5px 9px;border:1px solid transparent;border-radius:7px;color:#797267;background:transparent;font:500 12px/1.4 -apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;cursor:pointer;transition:color .14s ease,background-color .14s ease,box-shadow .14s ease}.preview-switch button:hover{color:var(--accent-deep);background:var(--cream)}.preview-switch button[aria-pressed=true]{background:#fff;border-color:#eee3d5;color:var(--accent-deep);box-shadow:0 1px 4px #49342212}.preview-switch svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.editor-paper{background:#fff;border:1px solid var(--editor-line);border-radius:10px;box-shadow:0 8px 32px #4a463f06}.wechat-editor .article{padding:28px 20px 36px;color:#4a463f;font-size:16px;line-height:1.85;letter-spacing:.2px;overflow-wrap:break-word}.wechat-editor .article p{margin:0 0 22px;text-align:left}.wechat-editor .article h1,.wechat-editor .article h2,.wechat-editor .article h3{font-family:inherit;color:#2c2926}.wechat-editor .brand{display:table;width:100%;margin:0 0 32px}.wechat-editor .brand-avatar{display:table-cell;width:52px;vertical-align:middle}.wechat-editor .brand-avatar img{display:block;width:44px;height:44px;border-radius:10px}.wechat-editor .brand-text{display:table-cell;vertical-align:middle;padding-left:8px}.wechat-editor .brand-name{font-size:14px;line-height:1.6;color:#2c2926;font-weight:600;letter-spacing:1px}.wechat-editor .brand-en{font-size:10px;line-height:1.6;letter-spacing:1.8px;color:#857e73}.wechat-editor .article-title{font-size:24px;line-height:1.5;font-weight:650;letter-spacing:.2px;margin:0 0 16px}.wechat-editor .article>p:first-of-type:has(em:only-child){font-size:13px;color:#857e73}.wechat-editor .chapter{margin:46px 0 34px;text-align:center}.wechat-editor .number{display:inline-block;line-height:1;font-family:Arial,Helvetica,sans-serif;font-size:44px;font-style:italic;font-weight:800;letter-spacing:-1px;color:#d97757;border-bottom:7px solid #e8c87a;padding:0 5px 1px 1px}.wechat-editor .chapter h2{font-size:20px;line-height:1.6;margin:20px 0 0;font-weight:650}.wechat-editor .article strong{font-weight:650;color:#2c2926}.wechat-editor .article .illustration{margin:28px 0}.wechat-editor .illustration img{width:100%;height:auto;display:block;border-radius:4px}.wechat-editor .signature{text-align:center;margin-top:40px;padding-top:28px;border-top:1px solid #ede6da}.wechat-editor .signature img{width:58px;height:58px;display:block;margin:0 auto 12px;border-radius:13px}.wechat-editor .signature .name{font-size:13px;color:#2c2926;letter-spacing:2px;margin-bottom:4px}.wechat-editor .signature .motto{font-size:12px;color:#857e73;margin:0;letter-spacing:.5px;text-align:center}.wechat-editor .signature .small-mark{display:inline-block;width:24px;height:3px;background:#e8c87a;margin-top:18px}.wechat-editor .article blockquote{margin:26px 0;padding:14px 18px;border-left:3px solid #d97757;background:#faf5ed}.wechat-editor .article h3{font-size:18px;line-height:1.6;margin:32px 0 18px}.wechat-editor .article a{color:#b5522e;text-decoration:underline}.wechat-editor .article hr{border:0;border-top:1px solid #ede6da;margin:32px 0}.wechat-editor .article ul,.wechat-editor .article ol{padding-left:24px}.wechat-editor .article li{margin-bottom:12px}.wechat-editor .article pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#faf5ed;padding:14px;box-shadow:none}@media(max-width:800px){.wechat-editor{padding:14px 16px 36px}.editor-toolbar{padding:10px 12px}.editor-toolbar-main{gap:6px}.editor-heading{gap:10px}.editor-heading h1{font-size:17px}.editor-actions{width:100%;gap:6px}.editor-actions button,.file-label{flex:1;min-height:44px;font-size:12px;padding:8px}.editor-actions #copy{flex:1.4;margin-left:0;padding-inline:8px;gap:5px}.editor-toolbar-meta{gap:8px;align-items:center;margin-top:6px}.editor-status{font-size:11px}.editor-guide summary{min-height:44px}.editor-workspace{display:block;margin-top:10px}.input-pane{position:static;margin-bottom:20px}#markdown{height:300px;min-height:240px;padding:16px}.preview-heading{height:52px;gap:8px}.preview-switch button{min-width:64px;min-height:40px;padding:6px 9px}}@media(prefers-reduced-motion:reduce){.preview-switch button{transition:none}}
