:root{--font-size:14px;--background:#fff;--foreground:#0a0a0a;--card:#fff;--card-foreground:#0a0a0a;--popover:#fff;--popover-foreground:#0a0a0a;--primary:#030213;--primary-foreground:#fff;--secondary:#eceef2;--secondary-foreground:#030213;--muted:#ececf0;--muted-foreground:#717182;--accent:#e9ebef;--accent-foreground:#030213;--destructive:#d4183d;--destructive-foreground:#fff;--border:#0000001a;--input:transparent;--input-background:#f3f3f5;--switch-background:#cbced4;--font-weight-medium:500;--font-weight-normal:400;--ring:#a1a1a1;--chart-1:#f05100;--chart-2:#009588;--chart-3:#104e64;--chart-4:#fcbb00;--chart-5:#f99c00;--radius:.625rem;--sidebar:#fafafa;--sidebar-foreground:#0a0a0a;--sidebar-primary:#030213;--sidebar-primary-foreground:#fafafa;--sidebar-accent:#f5f5f5;--sidebar-accent-foreground:#171717;--sidebar-border:#e5e5e5;--sidebar-ring:#a1a1a1}@supports (color:lab(0% 0 0)){:root{--foreground:lab(2.75381% 0 0);--card-foreground:lab(2.75381% 0 0);--popover:lab(100% 0 0);--popover-foreground:lab(2.75381% 0 0);--primary-foreground:lab(100% 0 0);--secondary:lab(94.1758% -.154406 -2.19268);--ring:lab(66.128% -.0000298023 .0000119209);--chart-1:lab(57.1026% 64.2584 89.8886);--chart-2:lab(55.0223% -41.0774 -3.90277);--chart-3:lab(30.372% -13.1853 -18.7887);--chart-4:lab(80.1641% 16.6016 99.2089);--chart-5:lab(72.7183% 31.8672 97.9407);--sidebar:lab(98.26% 0 0);--sidebar-foreground:lab(2.75381% 0 0);--sidebar-primary-foreground:lab(98.26% 0 0);--sidebar-accent:lab(96.52% -.0000298023 .0000119209);--sidebar-accent-foreground:lab(7.78201% -.0000149012 0);--sidebar-border:lab(90.952% 0 -.0000119209);--sidebar-ring:lab(66.128% -.0000298023 .0000119209)}}.dark{--background:#1a1a1a;--foreground:#e5e5e5;--card:#1a1a1a;--card-foreground:#e5e5e5;--popover:#1a1a1a;--popover-foreground:#e5e5e5;--primary:#e5e5e5;--primary-foreground:#1a1a1a;--secondary:#2a2a2a;--secondary-foreground:#e5e5e5;--muted:#2a2a2a;--muted-foreground:#a1a1a1;--accent:#2a2a2a;--accent-foreground:#e5e5e5;--destructive:#dc2626;--destructive-foreground:#fff;--border:#333;--input:#2a2a2a;--input-background:#2a2a2a;--switch-background:#444;--ring:#666;--font-weight-medium:500;--font-weight-normal:400;--chart-1:#1447e6;--chart-2:#00bb7f;--chart-3:#f99c00;--chart-4:#ac4bff;--chart-5:#ff2357;--sidebar:#171717;--sidebar-foreground:#e5e5e5;--sidebar-primary:#e5e5e5;--sidebar-primary-foreground:#171717;--sidebar-accent:#2a2a2a;--sidebar-accent-foreground:#e5e5e5;--sidebar-border:#333;--sidebar-ring:#666}@supports (color:lab(0% 0 0)){.dark{--chart-1:lab(36.9089% 35.0961 -85.6872);--chart-2:lab(66.9756% -58.27 19.5419);--chart-3:lab(72.7183% 31.8672 97.9407);--chart-4:lab(52.0183% 66.11 -78.2316);--chart-5:lab(56.101% 79.4328 31.4532)}}@layer base{*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{background-color:var(--background);color:var(--foreground)}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) h1{font-size:var(--text-2xl);font-weight:var(--font-weight-medium);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) h2{font-size:var(--text-xl);font-weight:var(--font-weight-medium);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) h3{font-size:var(--text-lg);font-weight:var(--font-weight-medium);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) h4{font-size:var(--text-base);font-weight:var(--font-weight-medium);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) p{font-size:var(--text-base);font-weight:var(--font-weight-normal);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) label,:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) button{font-size:var(--text-base);font-weight:var(--font-weight-medium);line-height:1.5}:where(:not(:has([class*=\ text-]),:not(:has([class^=text-])))) input{font-size:var(--text-base);font-weight:var(--font-weight-normal);line-height:1.5}}html{font-size:var(--font-size)}*{scrollbar-width:thin;scrollbar-color:var(--border)transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:var(--border);background-clip:content-box;border:2px solid #0000;border-radius:10px}::-webkit-scrollbar-thumb:hover{background-color:var(--muted-foreground)}*{scroll-behavior:smooth}[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}[contentEditable="true"]{-webkit-user-select:text;user-select:text;cursor:text}[data-radix-scroll-area-viewport]{will-change:scroll-position;-webkit-overflow-scrolling:touch}
.writing-editor .ProseMirror{color:#1a1a1a;background:#fff;min-height:600px;padding:2rem 3rem;font-family:Songti SC,SimSun,STSong,serif;font-size:16px;line-height:1.8}.dark .writing-editor .ProseMirror{color:#e5e5e5;background:#0a0a0a}.writing-editor .ProseMirror p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0}.writing-editor .ProseMirror h1{color:#000;text-align:center;border-bottom:none;margin-top:2rem;margin-bottom:1.5rem;font-family:Heiti SC,SimHei,STHeiti,sans-serif;font-size:28px;font-weight:700;line-height:1.4}.dark .writing-editor .ProseMirror h1{color:#fff}.writing-editor .ProseMirror h2{color:#1a1a1a;border-bottom:2px solid #e5e5e5;margin-top:2rem;margin-bottom:1rem;padding-bottom:.5rem;font-family:Heiti SC,SimHei,STHeiti,sans-serif;font-size:22px;font-weight:700;line-height:1.4}.dark .writing-editor .ProseMirror h2{color:#f0f0f0;border-bottom-color:#333}.writing-editor .ProseMirror h3{color:#2c2c2c;margin-top:1.5rem;margin-bottom:.75rem;font-family:Heiti SC,SimHei,STHeiti,sans-serif;font-size:18px;font-weight:600;line-height:1.5}.dark .writing-editor .ProseMirror h3{color:#e0e0e0}.writing-editor .ProseMirror h4{color:#3a3a3a;margin-top:1.25rem;margin-bottom:.5rem;font-family:Heiti SC,SimHei,STHeiti,sans-serif;font-size:16px;font-weight:600;line-height:1.5}.dark .writing-editor .ProseMirror h4{color:#d0d0d0}.writing-editor .ProseMirror p{text-indent:2em;text-align:justify;margin-bottom:1rem;font-family:Songti SC,SimSun,STSong,serif;font-size:16px;line-height:1.8}.writing-editor .ProseMirror h1+p,.writing-editor .ProseMirror h2+p,.writing-editor .ProseMirror blockquote p{text-indent:0}.writing-editor .ProseMirror ul,.writing-editor .ProseMirror ol{margin-bottom:1rem;padding-left:2rem;font-family:Songti SC,SimSun,STSong,serif}.writing-editor .ProseMirror li{margin-bottom:.5rem;line-height:1.8}.writing-editor .ProseMirror li p{text-indent:0;margin-bottom:.5rem}.writing-editor .ProseMirror blockquote{color:#4a5568;background:#f8fafc;border-left:4px solid #3b82f6;border-radius:.25rem;margin:1.5rem 0;padding:1rem 1.5rem;font-style:italic}.dark .writing-editor .ProseMirror blockquote{color:#a0a0a0;background:#1a1a1a;border-left-color:#3b82f6}.writing-editor .ProseMirror code{color:#e11d48;background:#f1f5f9;border-radius:.25rem;padding:.2em .4em;font-family:JetBrains Mono,Fira Code,Monaco,Courier New,monospace;font-size:14px;font-weight:500}.dark .writing-editor .ProseMirror code{color:#fb7185;background:#1e293b}.writing-editor .ProseMirror pre{color:#e2e8f0;background:#1e293b;border:1px solid #334155;border-radius:.5rem;margin:1.5rem 0;padding:1.5rem;font-family:JetBrains Mono,Fira Code,Monaco,Courier New,monospace;font-size:14px;line-height:1.6;overflow-x:auto}.dark .writing-editor .ProseMirror pre{background:#0f172a;border-color:#1e293b}.writing-editor .ProseMirror pre code{color:inherit;background:0 0;padding:0;font-size:14px}.writing-editor .ProseMirror table{border-collapse:collapse;border:1px solid #e5e7eb;border-radius:.5rem;width:100%;margin:1.5rem 0;overflow:hidden}.dark .writing-editor .ProseMirror table{border-color:#374151}.writing-editor .ProseMirror th{text-align:left;background:#f3f4f6;border:1px solid #e5e7eb;padding:.75rem 1rem;font-family:Heiti SC,SimHei,STHeiti,sans-serif;font-size:15px;font-weight:600}.dark .writing-editor .ProseMirror th{background:#1f2937;border-color:#374151}.writing-editor .ProseMirror td{border:1px solid #e5e7eb;padding:.75rem 1rem;font-size:15px}.dark .writing-editor .ProseMirror td{border-color:#374151}.writing-editor .ProseMirror tr:nth-child(2n){background:#f9fafb}.dark .writing-editor .ProseMirror tr:nth-child(2n){background:#111827}.writing-editor .ProseMirror img{border-radius:.5rem;max-width:100%;height:auto;margin:2rem auto;display:block;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.dark .writing-editor .ProseMirror img{box-shadow:0 4px 6px -1px #0000004d,0 2px 4px -1px #0003}.writing-editor .ProseMirror hr{border:none;border-top:2px solid #e5e7eb;margin:2rem 0}.dark .writing-editor .ProseMirror hr{border-top-color:#374151}.writing-editor .ProseMirror a{color:#3b82f6;text-decoration:underline;transition:color .2s}.writing-editor .ProseMirror a:hover{color:#2563eb}.dark .writing-editor .ProseMirror a{color:#60a5fa}.dark .writing-editor .ProseMirror a:hover{color:#93c5fd}.writing-editor .ProseMirror strong{color:#000;font-weight:700}.dark .writing-editor .ProseMirror strong{color:#fff}.writing-editor .ProseMirror em{color:#4b5563;font-style:italic}.dark .writing-editor .ProseMirror em{color:#9ca3af}.writing-editor .ProseMirror sup{vertical-align:super;color:#3b82f6;font-size:.75em}.writing-editor .ProseMirror sub{vertical-align:sub;font-size:.75em}.writing-editor .ProseMirror .math-inline,.writing-editor .ProseMirror span[data-type=math-inline]{color:#0ea5e9;white-space:nowrap;background:#f0f9ff;border-radius:.25rem;padding:.1em .3em;font-family:KaTeX_Main,Times New Roman,serif;font-size:.95em;font-style:italic}.dark .writing-editor .ProseMirror .math-inline,.dark .writing-editor .ProseMirror span[data-type=math-inline]{color:#7dd3fc;background:#082f49}.writing-editor .ProseMirror .math-block,.writing-editor .ProseMirror div[data-type=math-block]{color:#0ea5e9;text-align:center;background:#f0f9ff;border:1px solid #bae6fd;border-radius:.5rem;margin:1.5rem 0;padding:1rem 1.5rem;font-family:KaTeX_Main,Times New Roman,serif;font-size:1.1em;font-style:italic;overflow-x:auto}.dark .writing-editor .ProseMirror .math-block,.dark .writing-editor .ProseMirror div[data-type=math-block]{color:#7dd3fc;background:#082f49;border-color:#0c4a6e}.writing-editor .ProseMirror .math-block .math-content{min-width:100px;display:inline-block}.writing-editor .ProseMirror ::selection{background:#dbeafe}.dark .writing-editor .ProseMirror ::selection{background:#1e3a8a}.writing-editor .ProseMirror:focus{outline:none}.writing-editor .ProseMirror{border-radius:.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.dark .writing-editor .ProseMirror{box-shadow:0 1px 3px #0000004d,0 1px 2px #0003}@media print{.writing-editor .ProseMirror{box-shadow:none;padding:0;font-size:12pt}.writing-editor .ProseMirror h1{font-size:18pt}.writing-editor .ProseMirror h2{font-size:16pt}.writing-editor .ProseMirror h3{font-size:14pt}}
