.simple-rich-editor{width:100%;border-radius:.5rem;overflow:hidden;border:1px solid #d1d5db;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Hiragino Sans,Hiragino Kaku Gothic ProN,Yu Gothic UI,Meiryo UI,sans-serif;direction:ltr}.simple-rich-editor .editor-content,.simple-rich-editor .editor-content p,.simple-rich-editor .editor-content div,.simple-rich-editor .editor-content span{direction:ltr;unicode-bidi:normal}.simple-rich-editor .editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:8px 12px;background-color:#f9fafb;border-bottom:1px solid #e5e7eb}.simple-rich-editor .toolbar-group{display:flex;align-items:center;gap:2px}.simple-rich-editor .toolbar-divider{width:1px;height:24px;background-color:#d1d5db;margin:0 6px}.simple-rich-editor .toolbar-button{display:flex;align-items:center;justify-content:center;padding:6px;border:none;border-radius:4px;background:transparent;color:#374151;cursor:pointer;transition:all .2s ease;font-weight:700;font-size:14px}.simple-rich-editor .color-picker{width:32px;height:32px;padding:2px;border:1px solid #d1d5db;border-radius:4px;cursor:pointer;background:#fff}.simple-rich-editor .color-picker:hover{border-color:#9ca3af}.simple-rich-editor .color-picker:disabled{opacity:.5;cursor:not-allowed}.simple-rich-editor .color-picker-wrapper{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #d1d5db;border-radius:4px;cursor:pointer;background:#fff}.simple-rich-editor .color-picker-wrapper:hover{background-color:#f3f4f6;border-color:#9ca3af}.simple-rich-editor .color-picker-wrapper .color-icon{pointer-events:none;color:#4b5563}.simple-rich-editor .color-picker-wrapper .color-picker-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.simple-rich-editor .toolbar-button:hover{background-color:#e5e7eb;color:#1f2937}.simple-rich-editor .toolbar-button:active,.simple-rich-editor .toolbar-button.active{background-color:#3b82f6;color:#fff}.simple-rich-editor .toolbar-button:disabled{opacity:.5;cursor:not-allowed}.simple-rich-editor .button-icon{font-size:14px;line-height:1}.simple-rich-editor .heading-select{padding:4px 8px;border:1px solid #d1d5db;border-radius:4px;background:#fff;color:#374151;font-size:13px;cursor:pointer;transition:border-color .2s ease}.simple-rich-editor .heading-select:hover{border-color:#9ca3af}.simple-rich-editor .heading-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.simple-rich-editor .heading-select:disabled{opacity:.5;cursor:not-allowed;background-color:#f9fafb}.simple-rich-editor .editor-content{padding:16px;min-height:300px;outline:none;font-size:14px;line-height:1.6;color:#374151;overflow-y:auto;direction:ltr;text-align:left;unicode-bidi:normal;word-wrap:break-word;overflow-wrap:break-word;font-feature-settings:"kern"1,"liga"1;-webkit-user-select:text;-moz-user-select:text;user-select:text;-webkit-composition-fill-color:rgba(175,199,255,.2);-webkit-composition-frame-color:rgba(59,130,246,.3)}.simple-rich-editor .editor-content:empty:before{content:attr(data-placeholder);color:#9ca3af;font-style:italic;pointer-events:none}.simple-rich-editor .editor-content h1{font-size:2em;font-weight:700;margin:.67em 0;color:#1f2937}.simple-rich-editor .editor-content h2{font-size:1.5em;font-weight:700;margin:.83em 0;color:#1f2937}.simple-rich-editor .editor-content h3{font-size:1.17em;font-weight:700;margin:1em 0;color:#374151}.simple-rich-editor .editor-content h4{font-size:1em;font-weight:700;margin:1.33em 0;color:#374151}.simple-rich-editor .editor-content h5{font-size:.83em;font-weight:700;margin:1.67em 0;color:#4b5563}.simple-rich-editor .editor-content h6{font-size:.67em;font-weight:700;margin:2.33em 0;color:#4b5563}.simple-rich-editor .editor-content p{margin:.5em 0}.simple-rich-editor .editor-content ul,.simple-rich-editor .editor-content ol{margin:1em 0;padding-left:2em}.simple-rich-editor .editor-content li{margin:.25em 0}.simple-rich-editor .editor-content a{color:#3b82f6;text-decoration:underline;transition:color .2s ease}.simple-rich-editor .editor-content a:hover{color:#2563eb}.simple-rich-editor .editor-content strong,.simple-rich-editor .editor-content b{font-weight:700}.simple-rich-editor .editor-content em,.simple-rich-editor .editor-content i{font-style:italic}.simple-rich-editor .editor-content u{text-decoration:underline}.simple-rich-editor .editor-content strike,.simple-rich-editor .editor-content s{text-decoration:line-through}.simple-rich-editor .editor-content table,.simple-rich-editor .editor-content .editor-table{width:100%;border-collapse:collapse;margin:1em 0;background:#fff}.simple-rich-editor .editor-content table th,.simple-rich-editor .editor-content table td{border:1px solid #d1d5db;padding:8px 12px;text-align:left;min-width:80px}.simple-rich-editor .editor-content table th{background-color:#f3f4f6;font-weight:600;color:#374151}.simple-rich-editor .editor-content table tr:nth-child(2n){background-color:#f9fafb}.simple-rich-editor .editor-content table tr:hover{background-color:#f3f4f6}.simple-rich-editor .editor-content blockquote{margin:1em 0;padding:12px 20px;border-left:4px solid #3b82f6;background-color:#eff6ff;color:#1e40af;font-style:italic;border-radius:0 4px 4px 0}.simple-rich-editor .editor-content blockquote p{margin:0}.simple-rich-editor .editor-content pre,.simple-rich-editor .editor-content .code-block{margin:1em 0;padding:16px;background-color:#1f2937;color:#e5e7eb;border-radius:6px;overflow-x:auto;font-family:Fira Code,Consolas,Monaco,Courier New,monospace;font-size:13px;line-height:1.5}.simple-rich-editor .editor-content pre code,.simple-rich-editor .editor-content .code-block code{background:transparent;padding:0;color:inherit;font-size:inherit}.simple-rich-editor .editor-content code{background-color:#f3f4f6;color:#dc2626;padding:2px 6px;border-radius:4px;font-family:Fira Code,Consolas,Monaco,Courier New,monospace;font-size:.9em}.simple-rich-editor .editor-content img,.simple-rich-editor .editor-content .editor-image{max-width:100%;height:auto;margin:1em 0;border-radius:6px;box-shadow:0 2px 8px #0000001a}.simple-rich-editor .editor-content img:hover{box-shadow:0 4px 12px #00000026}.simple-rich-editor .editor-content hr{margin:2em 0;border:none;height:2px;background:linear-gradient(to right,transparent,#d1d5db,transparent)}.simple-rich-editor.focused{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.simple-rich-editor.disabled{opacity:.6;pointer-events:none;background-color:#f9fafb}@media (max-width: 768px){.simple-rich-editor .editor-toolbar{padding:6px 8px;gap:2px}.simple-rich-editor .toolbar-button{width:28px;height:28px;font-size:12px}.simple-rich-editor .heading-select{font-size:12px;padding:3px 6px}.simple-rich-editor .editor-content{padding:12px;min-height:250px;font-size:13px}}.simple-rich-editor .editor-content::-webkit-scrollbar{width:6px}.simple-rich-editor .editor-content::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.simple-rich-editor .editor-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.simple-rich-editor .editor-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.simple-rich-editor .editor-content{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;ime-mode:auto;-webkit-ime-mode:auto;writing-mode:horizontal-tb;text-orientation:mixed}.simple-rich-editor .editor-content .japanese,.simple-rich-editor .editor-content [lang=ja],.simple-rich-editor .editor-content .hiragana,.simple-rich-editor .editor-content .katakana,.simple-rich-editor .editor-content .kanji{font-family:Hiragino Sans,Hiragino Kaku Gothic ProN,Yu Gothic UI,Meiryo UI,MS Gothic,sans-serif;line-height:1.8;letter-spacing:.02em}.simple-rich-editor .editor-content .vietnamese,.simple-rich-editor .editor-content [lang=vi]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6}.simple-rich-editor .editor-content [data-composition=true]{background-color:#3b82f61a;border-bottom:2px solid #3b82f6;border-radius:2px}.simple-rich-editor .editor-content::selection{background-color:#3b82f633;color:inherit}.simple-rich-editor .editor-content::-moz-selection{background-color:#3b82f633;color:inherit}.simple-rich-editor .editor-content[dir=ltr]{text-align:left;direction:ltr}.simple-rich-editor .editor-content[dir=rtl]{text-align:right;direction:rtl}.simple-rich-editor .editor-content[dir=auto]{text-align:left;direction:ltr;unicode-bidi:normal}.simple-rich-editor .editor-content p,.simple-rich-editor .editor-content div{direction:ltr;text-align:left;unicode-bidi:normal}.simple-rich-editor .editor-content *:focus,.simple-rich-editor .editor-content [contenteditable=true]:focus{direction:inherit}.simple-rich-editor .editor-content{letter-spacing:normal;word-spacing:normal}.chapter-html{color:var(--text-primary, #1f2937);line-height:1.7;word-break:normal;overflow-wrap:anywhere}.dark .chapter-html{color:#e5e7eb}.chapter-html p,.chapter-html h1,.chapter-html h2,.chapter-html h3,.chapter-html h4,.chapter-html h5,.chapter-html h6{color:inherit}.chapter-html h1{font-size:1.6em;font-weight:700;line-height:1.35;margin:1em 0 .4em}.chapter-html h2{font-size:1.4em;font-weight:700;line-height:1.35;margin:.9em 0 .35em}.chapter-html h3{font-size:1.2em;font-weight:600;line-height:1.4;margin:.8em 0 .3em}.chapter-html h4{font-size:1.1em;font-weight:600;margin:.7em 0 .25em}.chapter-html h5,.chapter-html h6{font-size:1em;font-weight:600;margin:.6em 0 .2em}.chapter-html p{margin:.6em 0}.chapter-html ul,.chapter-html ol{padding-left:1.5em;margin:.6em 0}.chapter-html ul{list-style-type:disc}.chapter-html ol{list-style-type:decimal}.chapter-html ul ul{list-style-type:circle}.chapter-html ul ul ul{list-style-type:square}.chapter-html li{margin:.25em 0}.chapter-html a{color:#2563eb;text-decoration:underline}.dark .chapter-html a{color:#93c5fd}.chapter-html strong{font-weight:700}.chapter-html em{font-style:italic}.chapter-html s{text-decoration:line-through}.chapter-html hr{border:none;border-top:1px solid var(--border, #e5e7eb);margin:1.4em 0}.chapter-html blockquote{margin:.8em 0;padding:.2em 0 .2em 14px;border-left:3px solid #d1d5db;color:#6b7280;font-style:italic}.dark .chapter-html blockquote{border-left-color:#4b5563;color:#9ca3af}.chapter-html code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:#f3f4f6;padding:.1em .35em;border-radius:4px}.chapter-html pre{background:#f3f4f6;border:1px solid var(--border, #e5e7eb);border-radius:8px;padding:12px;overflow-x:auto;margin:.8em 0}.chapter-html pre code{background:none;padding:0}.dark .chapter-html code,.dark .chapter-html pre{background:#1f2937}.chapter-html figure{margin:1.2em 0;text-align:center}.chapter-html figure img{max-width:100%;height:auto;border-radius:6px}.chapter-html figcaption{font-size:.85em;color:#6b7280;margin-top:.45em}.dark .chapter-html figcaption{color:#9ca3af}.chapter-html .bang-cuon{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border, #e5e7eb);border-radius:8px;margin:1em 0;scrollbar-width:thin;scrollbar-color:#b6bdc6 #eef0f3}.chapter-html .bang-cuon{position:relative;background-repeat:no-repeat;background-size:0 100%,0 100%;background-position:left center,right center;background-image:linear-gradient(to right,#0f172a12,#0f172a00),linear-gradient(to left,#0f172a12,#0f172a00);transition:background-size .15s ease}.chapter-html .bang-cuon[data-cuon-trai]{background-size:24px 100%,0 100%}.chapter-html .bang-cuon[data-cuon-phai]{background-size:0 100%,24px 100%}.chapter-html .bang-cuon[data-cuon-trai][data-cuon-phai]{background-size:24px 100%,24px 100%}.dark .chapter-html .bang-cuon{background-image:linear-gradient(to right,#00000038,#0000),linear-gradient(to left,#00000038,#0000)}.chapter-html .bang-cuon::-webkit-scrollbar{height:10px;-webkit-appearance:none}.chapter-html .bang-cuon::-webkit-scrollbar-track{background:#eef0f3;border-radius:0 0 7px 7px}.chapter-html .bang-cuon::-webkit-scrollbar-thumb{background:#b6bdc6;border-radius:999px;border:2px solid #eef0f3}.chapter-html .bang-cuon::-webkit-scrollbar-thumb:hover{background:#9aa3ae}.dark .chapter-html .bang-cuon{scrollbar-color:#4b5563 #1f2937}.dark .chapter-html .bang-cuon::-webkit-scrollbar-track{background:#1f2937}.dark .chapter-html .bang-cuon::-webkit-scrollbar-thumb{background:#4b5563;border-color:#1f2937}.dark .chapter-html .bang-cuon::-webkit-scrollbar-thumb:hover{background:#6b7280}.chapter-html .bang-cuon:has(>table[style]){width:-moz-fit-content;width:fit-content;max-width:100%}.dark .chapter-html .bang-cuon{border-color:#374151}.chapter-html .bang-cuon>table{border-collapse:separate;border-spacing:0;margin:0;border:none;border-radius:0;max-width:none;font-size:.95em}.chapter-html .bang-cuon>table:not([style]){width:100%}.chapter-html .bang-cuon th,.chapter-html .bang-cuon td{padding:8px 12px;text-align:left;vertical-align:top;border-top:1px solid var(--border, #e5e7eb)}.dark .chapter-html .bang-cuon th,.dark .chapter-html .bang-cuon td{border-top-color:#374151}.chapter-html .bang-cuon tr:first-child th,.chapter-html .bang-cuon tr:first-child td{border-top:none}.chapter-html .bang-cuon th{font-weight:600;background:#f3f4f6}.dark .chapter-html .bang-cuon th{background:#374151}.chapter-html .bang-cuon th>p,.chapter-html .bang-cuon td>p{margin:0}.chapter-html [data-text-color=gray]{color:#9b9a97}.chapter-html [data-text-color=brown]{color:#64473a}.chapter-html [data-text-color=red]{color:#e03e3e}.chapter-html [data-text-color=orange]{color:#d9730d}.chapter-html [data-text-color=yellow]{color:#dfab01}.chapter-html [data-text-color=green]{color:#4d6461}.chapter-html [data-text-color=blue]{color:#0b6e99}.chapter-html [data-text-color=purple]{color:#6940a5}.chapter-html [data-text-color=pink]{color:#ad1a72}.chapter-html [data-text-color]>p{color:inherit}.chapter-html .bang-cuon th[data-background-color=gray],.chapter-html .bang-cuon td[data-background-color=gray],.chapter-html [data-background-color=gray]{background-color:#ebeced}.chapter-html .bang-cuon th[data-background-color=brown],.chapter-html .bang-cuon td[data-background-color=brown],.chapter-html [data-background-color=brown]{background-color:#e9e5e3}.chapter-html .bang-cuon th[data-background-color=red],.chapter-html .bang-cuon td[data-background-color=red],.chapter-html [data-background-color=red]{background-color:#fbe4e4}.chapter-html .bang-cuon th[data-background-color=orange],.chapter-html .bang-cuon td[data-background-color=orange],.chapter-html [data-background-color=orange]{background-color:#f6e9d9}.chapter-html .bang-cuon th[data-background-color=yellow],.chapter-html .bang-cuon td[data-background-color=yellow],.chapter-html [data-background-color=yellow]{background-color:#fbf3db}.chapter-html .bang-cuon th[data-background-color=green],.chapter-html .bang-cuon td[data-background-color=green],.chapter-html [data-background-color=green]{background-color:#ddedea}.chapter-html .bang-cuon th[data-background-color=blue],.chapter-html .bang-cuon td[data-background-color=blue],.chapter-html [data-background-color=blue]{background-color:#ddebf1}.chapter-html .bang-cuon th[data-background-color=purple],.chapter-html .bang-cuon td[data-background-color=purple],.chapter-html [data-background-color=purple]{background-color:#eae4f2}.chapter-html .bang-cuon th[data-background-color=pink],.chapter-html .bang-cuon td[data-background-color=pink],.chapter-html [data-background-color=pink]{background-color:#f4dfeb}.chapter-html .bang-cuon th[data-background-color],.chapter-html .bang-cuon td[data-background-color]{background-image:none}.chapter-html [data-text-alignment=center]>p{text-align:center}.chapter-html [data-text-alignment=right]>p{text-align:right}.chapter-html [data-text-alignment=left]>p{text-align:left}.chapter-html p[data-text-alignment=center]{text-align:center}.chapter-html p[data-text-alignment=right]{text-align:right}.chapter-html p[data-text-alignment=justify]{text-align:justify}.chapter-html ruby{ruby-align:center;ruby-position:over;line-height:1}.chapter-html rt{font-size:.5em;color:#6b7280;line-height:1}.dark .chapter-html rt{color:#9ca3af}.chapter-html rp{display:none}.chapter-html ruby[data-l="1"] rt{visibility:var(--rt-n1, visible)}.chapter-html ruby[data-l="2"] rt{visibility:var(--rt-n2, visible)}.chapter-html ruby[data-l="3"] rt{visibility:var(--rt-n3, visible)}.chapter-html ruby[data-l="4"] rt{visibility:var(--rt-n4, visible)}.chapter-html ruby[data-l="5"] rt{visibility:var(--rt-n5, visible)}
