:root{--zw-editor-border:#e2e8f0;--zw-editor-bg:#ffffff;--zw-editor-text:#0f172a;--zw-editor-muted:#64748b;--zw-editor-toolbar-bg:#ffffff;--zw-editor-active-bg:#ffcc00;--zw-editor-active-text:#0f172a;--zw-editor-accent:#ffcc00;--zw-editor-radius:12px;--zw-editor-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}.zw-blog-editor-container{display:flex;flex-direction:column;border:1px solid var(--zw-editor-border);border-radius:var(--zw-editor-radius);background:var(--zw-editor-bg);color:var(--zw-editor-text);font-family:var(--zw-editor-font);overflow:hidden;box-shadow:0 1px 3px 0 rgb(0 0 0/.05);transition:border-color .2s ease,box-shadow .2s ease}.zw-blog-editor-container:focus-within{border-color:#eab308;box-shadow:0 0 0 3px rgba(255,204,0,.25)}.zw-blog-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 14px;background:#ffffff;border-bottom:1px solid #f1f5f9;-webkit-user-select:none;-moz-user-select:none;user-select:none}.zw-blog-toolbar-group{display:inline-flex;align-items:center;gap:3px;background:#f8fafc;padding:3px 6px;border-radius:8px;border:1px solid #f1f5f9}.zw-blog-toolbar-divider{width:1px;height:20px;background:#e2e8f0;margin:0 4px}.zw-blog-toolbar-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:32px;height:32px;padding:4px 8px;font-size:12.5px;font-weight:600;color:#475569;background:transparent;border:1px solid transparent;border-radius:6px;cursor:pointer;transition:all .15s ease}.zw-blog-toolbar-btn:hover:not(:disabled){background:#ffffff;color:#0f172a;border-color:#cbd5e1;box-shadow:0 1px 2px rgba(0,0,0,.04)}.zw-blog-toolbar-btn:disabled{opacity:.35;cursor:not-allowed}.zw-blog-toolbar-btn.is-active{background:var(--zw-editor-active-bg);color:var(--zw-editor-active-text);font-weight:700;border-color:#eab308;box-shadow:0 2px 5px rgba(234,179,8,.3)}.zw-blog-editor-content{padding:24px;min-height:340px;outline:none}.zw-blog-editor-content .tiptap{min-height:320px;outline:none}.zw-blog-editor-content .tiptap p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#94a3b8;pointer-events:none;height:0}.zw-blog-editor-content h1{font-size:2rem;font-weight:800;margin:1.2em 0 .5em;line-height:1.25}.zw-blog-editor-content h2{font-size:1.6rem;font-weight:700;margin:1.1em 0 .4em;line-height:1.3}.zw-blog-editor-content h3{font-size:1.3rem;font-weight:600;margin:1em 0 .3em;line-height:1.4}.zw-blog-editor-content p{font-size:1rem;line-height:1.7;margin:.8em 0}.zw-blog-editor-content ol,.zw-blog-editor-content ul{padding-left:1.5rem;margin:.8em 0}.zw-blog-editor-content li{margin-bottom:.3em;line-height:1.6}.zw-blog-editor-content blockquote{border-left:4px solid var(--zw-editor-accent);margin:1.2em 0;padding:.5em 0 .5em 1.2em;color:var(--zw-editor-muted);font-style:italic;background:#f8fafc;border-radius:0 6px 6px 0}.zw-blog-editor-content code{background:#f1f5f9;color:#0f172a;padding:2px 6px;border-radius:4px;font-size:.875em;font-family:monospace}.zw-blog-editor-content pre{background:#0f172a;color:#f8fafc;padding:16px;border-radius:8px;overflow-x:auto;font-family:monospace;font-size:.9em}.zw-blog-callout{padding:16px 20px;margin:1.4em 0;border-radius:8px;border-left:4px solid}.zw-blog-callout--info{background:#eff6ff;border-color:#3b82f6;color:#1e3a8a}.zw-blog-callout--warning{background:#fffbeb;border-color:#f59e0b;color:#78350f}.zw-blog-callout--tip{background:#ecfdf5;border-color:#10b981;color:#064e3b}.zw-blog-callout--success{background:#f0fdf4;border-color:#22c55e;color:#14532d}.zw-blog-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;margin:1.8em 0;background:linear-gradient(135deg,#f8fafc,#edf2f7);border:1px solid #cbd5e1;border-radius:12px}.zw-blog-cta-title{font-size:1.2rem;font-weight:700;margin:0 0 4px;color:#0f172a}.zw-blog-cta-desc{margin:0;color:#475569;font-size:.95rem}.zw-blog-cta-btn{display:inline-block;padding:10px 20px;background:#4f46e5;color:#ffffff!important;text-decoration:none;font-weight:600;border-radius:8px;white-space:nowrap}.zw-blog-faq{border:1px solid #e2e8f0;border-radius:8px;margin:.8em 0;padding:12px 16px;background:#fafafa}.zw-blog-faq-question{font-weight:600;cursor:pointer;color:#1e293b}.zw-blog-faq-answer{margin-top:8px;color:#475569;line-height:1.6}.zw-blog-editor-content table{border-collapse:collapse;width:100%;margin:1.2em 0;overflow:hidden}.zw-blog-editor-content td,.zw-blog-editor-content th{border:1px solid #cbd5e1;padding:10px 14px;text-align:left}.zw-blog-editor-content th{background:#f1f5f9;font-weight:600}.zw-blog-editor-footer{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#f8fafc;border-top:1px solid var(--zw-editor-border);font-size:12px;color:var(--zw-editor-muted)}.zw-blog-editor-stats{display:flex;gap:16px}.zw-blog-editor-autosave{display:flex;align-items:center;gap:6px}.zw-autosave-dot{width:8px;height:8px;border-radius:50%;background:#10b981}.zw-autosave-dot.saving{background:#f59e0b;animation:pulse 1s infinite}@keyframes pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}