.rich-text-content,.rich-text-display{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;max-width:100%;font-size:16px;line-height:1.8;overflow-x:hidden}.rich-text-content>*,.rich-text-display>*{word-break:break-word;overflow-wrap:break-word;max-width:100%}.rich-text-content h1,.rich-text-display h1{margin:.67em 0;scroll-margin-top:100px;font-size:2em;font-weight:700;line-height:1.2}.rich-text-content h2,.rich-text-display h2{margin:.75em 0;scroll-margin-top:100px;font-size:1.5em;font-weight:600;line-height:1.3}.rich-text-content h3,.rich-text-display h3{margin:.83em 0;scroll-margin-top:100px;font-size:1.25em;font-weight:600;line-height:1.4}.rich-text-content h4,.rich-text-display h4{margin:.9em 0;font-size:1.1em;font-weight:600;line-height:1.4}.rich-text-content p,.rich-text-display p{margin:.75em 0;line-height:1.8}.rich-text-content p:first-child,.rich-text-display p:first-child{margin-top:0}.rich-text-content p:last-child,.rich-text-display p:last-child{margin-bottom:0}.rich-text-content strong,.rich-text-content b,.rich-text-display strong,.rich-text-display b{font-weight:700}.rich-text-content em,.rich-text-content i,.rich-text-display em,.rich-text-display i{font-style:italic}.rich-text-content u,.rich-text-display u{text-decoration:underline}.rich-text-content s,.rich-text-content strike,.rich-text-display s,.rich-text-display strike{text-decoration:line-through}.rich-text-content mark,.rich-text-display mark{color:#000;background-color:#fef08a;border-radius:3px;padding:.1em .3em}.dark .rich-text-content mark,.dark .rich-text-display mark{color:#000;background-color:#fbbf24}.rich-text-content font[size="1"],.rich-text-display font[size="1"]{font-size:10px!important}.rich-text-content font[size="2"],.rich-text-display font[size="2"]{font-size:13px!important}.rich-text-content font[size="3"],.rich-text-display font[size="3"]{font-size:16px!important}.rich-text-content font[size="4"],.rich-text-display font[size="4"]{font-size:18px!important}.rich-text-content font[size="5"],.rich-text-display font[size="5"]{font-size:24px!important}.rich-text-content font[size="6"],.rich-text-display font[size="6"]{font-size:32px!important}.rich-text-content font[size="7"],.rich-text-display font[size="7"]{font-size:48px!important}.rich-text-content [style*=background],.rich-text-display [style*=background]{border-radius:3px;padding:.1em .3em}.rich-text-content a,.rich-text-display a{color:#3b82f6;cursor:pointer;word-break:break-word;text-decoration:underline;transition:color .2s}.rich-text-content a:hover,.rich-text-display a:hover{color:#2563eb}.rich-text-content a:visited,.rich-text-display a:visited{color:#7c3aed}.rich-text-content a:focus,.rich-text-display a:focus{outline-offset:2px;border-radius:2px;outline:2px solid #3b82f6}.dark .rich-text-content a,.dark .rich-text-display a{color:#60a5fa}.dark .rich-text-content a:hover,.dark .rich-text-display a:hover{color:#93c5fd}.dark .rich-text-content a:visited,.dark .rich-text-display a:visited{color:#a78bfa}.rich-text-content ul,.rich-text-content ol,.rich-text-display ul,.rich-text-display ol{margin:.75em 0;padding-left:2em;list-style-position:outside}.rich-text-content ul,.rich-text-display ul{list-style-type:disc}.rich-text-content ul ul,.rich-text-display ul ul{margin:.25em 0;list-style-type:circle}.rich-text-content ul ul ul,.rich-text-display ul ul ul{list-style-type:square}.rich-text-content ol,.rich-text-display ol{list-style-type:decimal}.rich-text-content ol ol,.rich-text-display ol ol{margin:.25em 0;list-style-type:lower-alpha}.rich-text-content ol ol ol,.rich-text-display ol ol ol{list-style-type:lower-roman}.rich-text-content li,.rich-text-display li{margin:.5em 0;line-height:1.6;list-style-position:outside;display:list-item}.rich-text-content li>p,.rich-text-display li>p{margin:.25em 0}.rich-text-content blockquote,.rich-text-display blockquote{background:#3b82f60d;border-left:4px solid #3b82f6;border-radius:0 4px 4px 0;margin:1.5em 0;padding:.75em 1.25em;font-style:italic}.dark .rich-text-content blockquote,.dark .rich-text-display blockquote{background:#3b82f61a;border-left-color:#60a5fa}.rich-text-content blockquote p,.rich-text-display blockquote p{margin:.5em 0}.rich-text-content blockquote p:first-child,.rich-text-display blockquote p:first-child{margin-top:0}.rich-text-content blockquote p:last-child,.rich-text-display blockquote p:last-child{margin-bottom:0}.rich-text-content code,.rich-text-display code{color:#be185d;word-break:break-word;background:#3b82f61a;border-radius:4px;padding:.2em .4em;font-family:Courier New,Consolas,Monaco,monospace;font-size:.9em}.dark .rich-text-content code,.dark .rich-text-display code{color:#f472b6;background:#3b82f626}.rich-text-content pre,.rich-text-display pre{color:#e2e8f0;box-sizing:border-box;background:#0f172a;border:1px solid #1e293b;border-radius:12px;flex-direction:column;align-items:stretch;width:100%;max-width:100%;margin:1.5em 0;padding:0;font-family:Courier New,Consolas,Monaco,Menlo,monospace;font-size:14px;line-height:1.7;display:flex;position:relative;overflow:hidden}.dark .rich-text-content pre,.dark .rich-text-display pre{background:#0a0f1a;border-color:#1e293b}.rich-text-content .code-toolbar,.rich-text-display .code-toolbar{z-index:20;pointer-events:auto;-webkit-user-select:none;user-select:none;background:linear-gradient(#1e293b 0%,#0f172a 100%);border-bottom:2px solid #334155;flex-shrink:0;justify-content:space-between;align-items:center;width:100%;padding:.875em 1.25em;display:flex;position:sticky;top:0}.dark .rich-text-content .code-toolbar,.dark .rich-text-display .code-toolbar{background:linear-gradient(#1e293b 0%,#0a0f1a 100%);border-bottom-color:#334155}.rich-text-content .code-language-label,.rich-text-display .code-language-label{color:#60a5fa;text-transform:uppercase;letter-spacing:.1em;background:#60a5fa1a;border:1px solid #60a5fa33;border-radius:4px;margin-left:5px;padding:.375em .75em;font-size:.75em;font-weight:700}.rich-text-content .code-actions,.rich-text-display .code-actions{pointer-events:auto;-webkit-user-select:none;user-select:none;gap:.625em;display:flex}.rich-text-content .code-action-btn,.rich-text-display .code-action-btn{color:#cbd5e1;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:auto;-webkit-user-select:none;user-select:none;z-index:10;background:#1e293bcc;border:1.5px solid #475569;border-radius:6px;outline:none;justify-content:center;align-items:center;padding:.5em .625em;transition:all .2s;display:flex;position:relative}.rich-text-content .code-action-btn svg,.rich-text-display .code-action-btn svg{pointer-events:none}.rich-text-content .code-action-btn:hover,.rich-text-display .code-action-btn:hover{color:#f1f5f9;background:#334155;border-color:#64748b;transform:translateY(-1px);box-shadow:0 4px 8px #0000004d}.rich-text-content .code-action-btn:active,.rich-text-display .code-action-btn:active{transform:translateY(0)}.rich-text-content .code-container,.rich-text-display .code-container{box-sizing:border-box;flex-direction:row;flex:1;align-items:stretch;min-width:0;max-width:100%;min-height:0;display:flex;overflow:hidden}.rich-text-content .line-numbers-wrapper,.rich-text-display .line-numbers-wrapper{-webkit-user-select:none;user-select:none;pointer-events:none;background:#0a0f1a;border-right:2px solid #1e293b;flex-direction:column;flex:0 0 3.75em;display:flex;overflow:hidden}.dark .rich-text-content .line-numbers-wrapper,.dark .rich-text-display .line-numbers-wrapper{background:#050810;border-right-color:#1e293b}.rich-text-content .line-numbers,.rich-text-display .line-numbers{color:#64748b;text-align:right;white-space:pre;flex:1;padding:1.5em .875em;font-weight:500;font-family:Courier New,Consolas,Monaco,Menlo,monospace!important;font-size:14px!important;line-height:1.7!important}.rich-text-content .code-container>code,.rich-text-display .code-container>code{min-width:0;color:inherit;white-space:pre;box-sizing:border-box;background:0 0;flex:1;max-width:100%;padding:1.5em 1.75em;display:block;overflow-x:auto;font-family:Courier New,Consolas,Monaco,Menlo,monospace!important;font-size:14px!important;line-height:1.7!important}.rich-text-content pre.show-raw .line-numbers-wrapper,.rich-text-display pre.show-raw .line-numbers-wrapper{display:none!important}.rich-text-content pre.show-raw code *,.rich-text-display pre.show-raw code *{color:#e2e8f0!important;background:0 0!important;font-style:normal!important;font-weight:400!important}.rich-text-content pre:not(.code-enhanced),.rich-text-display pre:not(.code-enhanced){padding:1.5em;display:block;overflow-x:auto}.rich-text-content pre:not(.code-enhanced) code,.rich-text-display pre:not(.code-enhanced) code{color:inherit;font-size:inherit;white-space:pre;background:0 0;border-radius:0;padding:0;display:block;overflow-x:auto}.rich-text-content pre code,.rich-text-display pre code{color:inherit;font-size:inherit;background:0 0;border-radius:0;padding:0}.rich-text-content .token-keyword,.rich-text-display .token-keyword{font-weight:600;color:#d4a5ff!important}.rich-text-content .token-string,.rich-text-display .token-string{font-weight:500;color:#b3f097!important}.rich-text-content .token-comment,.rich-text-display .token-comment{font-style:italic;color:#8896a8!important}.rich-text-content .token-number,.rich-text-display .token-number{font-weight:600;color:#ffb366!important}.rich-text-content .token-function,.rich-text-display .token-function{font-weight:600;color:#82aaff!important}.rich-text-content .token-operator,.rich-text-display .token-operator{color:#89ddff!important}.rich-text-content .token-tag,.rich-text-display .token-tag{font-weight:500;color:#ff8a94!important}.rich-text-content .token-attr,.rich-text-display .token-attr{color:#d4a5ff!important}.rich-text-content .token-property,.rich-text-display .token-property{font-weight:500;color:#8dd8d0!important}.rich-text-content .token-value,.rich-text-display .token-value{color:#b3f097!important}.rich-text-content .token-selector,.rich-text-display .token-selector{font-weight:600;color:#ffd478!important}.rich-text-content .token-boolean,.rich-text-display .token-boolean{font-weight:600;color:#ff6b85!important}.rich-text-content pre::-webkit-scrollbar{width:8px;height:8px}.rich-text-display pre::-webkit-scrollbar{width:8px;height:8px}.rich-text-content code::-webkit-scrollbar{width:8px;height:8px}.rich-text-display code::-webkit-scrollbar{width:8px;height:8px}.rich-text-content pre::-webkit-scrollbar-track{background:#334155;border-radius:4px}.rich-text-display pre::-webkit-scrollbar-track{background:#334155;border-radius:4px}.rich-text-content code::-webkit-scrollbar-track{background:#334155;border-radius:4px}.rich-text-display code::-webkit-scrollbar-track{background:#334155;border-radius:4px}.rich-text-content pre::-webkit-scrollbar-thumb{background:#64748b;border-radius:4px}.rich-text-display pre::-webkit-scrollbar-thumb{background:#64748b;border-radius:4px}.rich-text-content code::-webkit-scrollbar-thumb{background:#64748b;border-radius:4px}.rich-text-display code::-webkit-scrollbar-thumb{background:#64748b;border-radius:4px}.rich-text-content pre::-webkit-scrollbar-thumb:hover{background:#94a3b8}.rich-text-display pre::-webkit-scrollbar-thumb:hover{background:#94a3b8}.rich-text-content code::-webkit-scrollbar-thumb:hover{background:#94a3b8}.rich-text-display code::-webkit-scrollbar-thumb:hover{background:#94a3b8}.rich-text-content img,.rich-text-display img{border-radius:8px;max-width:100%;height:auto;margin:1.5em auto;transition:transform .2s,box-shadow .2s;display:block;box-shadow:0 4px 12px #0000001a}.rich-text-content img:hover,.rich-text-display img:hover{transform:scale(1.02);box-shadow:0 8px 24px #00000026}.dark .rich-text-content img,.dark .rich-text-display img{box-shadow:0 4px 12px #0000004d}.dark .rich-text-content img:hover,.dark .rich-text-display img:hover{box-shadow:0 8px 24px #0006}.rich-text-content hr,.rich-text-display hr{opacity:.6;border:none;border-top:2px solid #e5e7eb;margin:2em 0}.dark .rich-text-content hr,.dark .rich-text-display hr{border-top-color:#374151}.rich-text-content table,.rich-text-display table{border-collapse:collapse;border-spacing:0;table-layout:auto;word-break:break-word;border-radius:8px;width:100%;max-width:100%;margin:1.5em 0;display:table;overflow-x:auto;box-shadow:0 1px 3px #0000001a}.dark .rich-text-content table,.dark .rich-text-display table{box-shadow:0 1px 3px #0000004d}.rich-text-content table thead,.rich-text-display table thead{background:linear-gradient(#f9fafb,#f3f4f6)}.dark .rich-text-content table thead,.dark .rich-text-display table thead{background:linear-gradient(#374151,#1f2937)}.rich-text-content table th,.rich-text-content table td,.rich-text-display table th,.rich-text-display table td{text-align:left;vertical-align:top;word-break:break-word;overflow-wrap:break-word;border:1px solid #e5e7eb;max-width:300px;padding:12px 16px}.dark .rich-text-content table th,.dark .rich-text-content table td,.dark .rich-text-display table th,.dark .rich-text-display table td{border-color:#4b5563}.rich-text-content table th,.rich-text-display table th{text-transform:uppercase;letter-spacing:.025em;font-size:.95em;font-weight:600}.rich-text-content table tbody tr,.rich-text-display table tbody tr{transition:background-color .2s}.rich-text-content table tbody tr:hover,.rich-text-display table tbody tr:hover{background:#f3f4f6}.dark .rich-text-content table tbody tr:hover,.dark .rich-text-display table tbody tr:hover{background:#374151}.rich-text-content table tbody tr:nth-child(2n),.rich-text-display table tbody tr:nth-child(2n){background:#fafafa}.dark .rich-text-content table tbody tr:nth-child(2n),.dark .rich-text-display table tbody tr:nth-child(2n){background:#1f2937}.rich-text-content>div[style*="display: flex"],.rich-text-display>div[style*="display: flex"]{gap:16px!important;margin:1em 0!important;display:flex!important}.rich-text-content>div[style*="display: flex"]>div,.rich-text-display>div[style*="display: flex"]>div{border:1px dashed #ddd!important;border-radius:4px!important;flex:1!important;min-width:0!important;padding:12px!important}.dark .rich-text-content>div[style*="display: flex"]>div,.dark .rich-text-display>div[style*="display: flex"]>div{border-color:#374151!important}.rich-text-content sup,.rich-text-display sup{vertical-align:super;font-size:.75em;line-height:0}.rich-text-content sub,.rich-text-display sub{vertical-align:sub;font-size:.75em;line-height:0}.rich-text-content s,.rich-text-content strike,.rich-text-content del,.rich-text-display s,.rich-text-display strike,.rich-text-display del{opacity:.7;text-decoration:line-through}.rich-text-content [style*="text-align: left"],.rich-text-display [style*="text-align: left"]{text-align:left!important}.rich-text-content [style*="text-align: center"],.rich-text-display [style*="text-align: center"]{text-align:center!important}.rich-text-content [style*="text-align: right"],.rich-text-display [style*="text-align: right"]{text-align:right!important}.rich-text-content [style*="text-align: justify"],.rich-text-display [style*="text-align: justify"]{text-align:justify!important}.rich-text-content br,.rich-text-display br{content:"";margin:.25em 0;display:block}.rich-text-content p:empty:before,.rich-text-display p:empty:before{content:" ";display:inline-block}.rich-text-content ::selection,.rich-text-display ::selection{background:#3b82f64d}.dark .rich-text-content ::selection,.dark .rich-text-display ::selection{background:#3b82f666}.rich-text-content[contenteditable]:empty:before{content:attr(data-placeholder);color:#9ca3af;pointer-events:none;font-style:italic}.dark .rich-text-content[contenteditable]:empty:before{color:#6b7280}.rich-text-content[contenteditable] img{cursor:pointer}@media (max-width:768px){.rich-text-content>div[style*="display: flex"],.rich-text-display>div[style*="display: flex"]{flex-direction:column!important}}@media (max-width:640px){.rich-text-content,.rich-text-display{font-size:15px}.rich-text-content h1,.rich-text-display h1{font-size:1.75em}.rich-text-content h2,.rich-text-display h2{font-size:1.4em}.rich-text-content h3,.rich-text-display h3{font-size:1.2em}.rich-text-content pre,.rich-text-display pre{border-radius:0;margin:1em -1em;font-size:13px}.rich-text-content .line-numbers-wrapper,.rich-text-display .line-numbers-wrapper{flex:0 0 2.5em}.rich-text-content .line-numbers,.rich-text-display .line-numbers{padding:1.25em .5em;font-size:12px!important}.rich-text-content .code-container>code,.rich-text-display .code-container>code{padding:1.25em 1em;font-size:13px!important}.rich-text-content .code-toolbar,.rich-text-display .code-toolbar{padding:.625em .875em}.rich-text-content .code-language-label,.rich-text-display .code-language-label{margin-left:10px;padding:.25em .5em;font-size:.65em}.rich-text-content .code-action-btn,.rich-text-display .code-action-btn{padding:.375em .5em}.rich-text-content blockquote,.rich-text-display blockquote{padding:.5em 1em}.rich-text-content ul,.rich-text-content ol,.rich-text-display ul,.rich-text-display ol{padding-left:1.5em}.rich-text-content img,.rich-text-display img{margin:1em auto}.rich-text-content table,.rich-text-display table{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto}.rich-text-content table th,.rich-text-content table td,.rich-text-display table th,.rich-text-display table td{padding:8px 12px;font-size:.9em}}@media print{.rich-text-content,.rich-text-display{color:#000;background:#fff}.rich-text-content a,.rich-text-display a{color:#000;text-decoration:underline}.rich-text-content a[href]:after,.rich-text-display a[href]:after{content:" (" attr(href) ")";font-size:.8em;font-weight:400}.rich-text-content img,.rich-text-display img{page-break-inside:avoid;max-width:100%}.rich-text-content pre,.rich-text-display pre{page-break-inside:avoid;border:1px solid #ddd;color:#000!important;background:#f5f5f5!important}.rich-text-content pre code,.rich-text-display pre code,.rich-text-content pre *,.rich-text-display pre *{color:#000!important;background:0 0!important}.rich-text-content blockquote,.rich-text-display blockquote{page-break-inside:avoid;background:#f5f5f5;border-left-color:#000}.rich-text-content .code-action-btn,.rich-text-display .code-action-btn{display:none!important}.rich-text-content .code-toolbar,.rich-text-display .code-toolbar{border-bottom:1px solid #000;background:#e5e7eb!important}.rich-text-content .line-numbers-wrapper,.rich-text-display .line-numbers-wrapper{border-right:1px solid #000;background:#f5f5f5!important}.rich-text-content .line-numbers,.rich-text-display .line-numbers{color:#666!important}.rich-text-content .code-container>code,.rich-text-display .code-container>code{max-height:none;overflow:visible}}@media (prefers-contrast:high){.rich-text-content a,.rich-text-display a{font-weight:600;text-decoration:underline}.rich-text-content blockquote,.rich-text-display blockquote{border-left-width:6px}}@media (prefers-reduced-motion:reduce){.rich-text-content *,.rich-text-display *{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.rich-text-content img:hover,.rich-text-display img:hover{transform:none}}
