/*
 * 편집기 글 보이기 (2026-11-10 — Renew\Editor\Html 로 정리된 Quill 2 HTML). 감싸는 요소에 class="rich".
 * Tailwind preflight 가 지운 문단·제목·목록 모양을 되살림. 목록은 Quill 2 형식 (ol > li[data-list=bullet|ordered], 앞에 빈 span.ql-ui)
 */
.rich { overflow-wrap: anywhere; }
.rich > * + * { margin-top: .6em; }
.rich h1 { font-size: 1.5em; font-weight: 800; line-height: 1.3; }
.rich h2 { font-size: 1.25em; font-weight: 800; line-height: 1.35; }
.rich h3 { font-size: 1.1em; font-weight: 700; line-height: 1.4; }
.rich strong, .rich b { font-weight: 700; }
.rich em, .rich i { font-style: italic; }
.rich u { text-decoration: underline; }
.rich s { text-decoration: line-through; }
.rich a { color: #0e7a5a; text-decoration: underline; text-underline-offset: 2px; }
.rich blockquote { border-left: 4px solid #d6dde4; padding-left: 1em; color: #5b6673; }
.rich code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: #f1f4f7; border-radius: 4px; padding: .1em .35em; }
.rich .ql-code-block-container, .rich pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875em; line-height: 1.6;
	background: #0f1b2a; color: #d7e6f4; border-radius: 8px; padding: .9em 1.1em; overflow-x: auto; white-space: pre; }
.rich .ql-code-block { white-space: pre; }
.rich img { max-width: 100%; height: auto; border-radius: 6px; display: inline-block; }
.rich .ql-align-center { text-align: center; }
.rich .ql-align-right { text-align: right; }
.rich .ql-align-justify { text-align: justify; }
.rich ol, .rich ul { padding-left: 1.5em; counter-reset: rich-l0; }
.rich ul { list-style: disc; }
.rich li { list-style: none; position: relative; }
.rich ul > li { list-style: inherit; }
.rich li > .ql-ui { display: none; }
.rich ol > li[data-list]::before { position: absolute; left: -1.5em; width: 1.2em; text-align: right; }
.rich ol > li[data-list=bullet]::before { content: '\2022'; }
.rich ol > li[data-list=checked]::before { content: '\2611'; }
.rich ol > li[data-list=unchecked]::before { content: '\2610'; }
.rich ol > li[data-list=ordered] { counter-increment: rich-l0; }
.rich ol > li[data-list=ordered]::before { content: counter(rich-l0) '.'; }
.rich li[data-list=ordered]:not(.ql-indent-1):not(.ql-indent-2):not(.ql-indent-3) { counter-reset: rich-l1; }
.rich li.ql-indent-1[data-list=ordered] { counter-increment: rich-l1; }
.rich li.ql-indent-1[data-list=ordered]::before { content: counter(rich-l1, lower-alpha) '.'; }
.rich .ql-indent-1 { padding-left: 1.5em; }
.rich .ql-indent-2 { padding-left: 3em; }
.rich .ql-indent-3 { padding-left: 4.5em; }
.rich .ql-indent-4 { padding-left: 6em; }
.rich .ql-indent-5 { padding-left: 7.5em; }
.rich .ql-indent-6 { padding-left: 9em; }
.rich .ql-indent-7 { padding-left: 10.5em; }
.rich .ql-indent-8 { padding-left: 12em; }
.rich li[class*=ql-indent-]::before { left: auto; margin-left: -1.5em; }
.dark .rich blockquote { border-color: #3a4757; color: #a8b3bf; }
.dark .rich code { background: #233142; }
.dark .rich a { color: #5fd1a8; }

/* 편집기 (관리자·회원 입력 화면) — Quill 영어 문구를 한글로 */
.rte .ql-snow .ql-picker.ql-header .ql-picker-label::before, .rte .ql-snow .ql-picker.ql-header .ql-picker-item::before { content: '본문'; }
.rte .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before, .rte .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before { content: '큰 제목'; }
.rte .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before, .rte .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before { content: '작은 제목'; }
.rte .ql-snow .ql-tooltip::before { content: '링크:'; }
.rte .ql-snow .ql-tooltip[data-mode=link]::before { content: '링크 주소:'; }
.rte .ql-snow .ql-tooltip a.ql-action::after { content: '수정'; }
.rte .ql-snow .ql-tooltip.ql-editing a.ql-action::after { content: '저장'; }
.rte .ql-snow .ql-tooltip a.ql-remove::before { content: '지우기'; }
.rte .ql-snow .ql-tooltip { z-index: 10; }
.rte .ql-toolbar.ql-snow, .rte .ql-snow .ql-picker, .rte .ql-snow .ql-tooltip { font-family: inherit; }
.rte .ql-toolbar.ql-snow { border-radius: 8px 8px 0 0; border-color: #d6dde4; background: #f8fafb; }
.rte .ql-container.ql-snow { border-radius: 0 0 8px 8px; border-color: #d6dde4; font: inherit; font-size: 14px; }
.rte .ql-editor { min-height: 14rem; max-height: 70vh; overflow-y: auto; line-height: 1.7; }
.rte .ql-editor img { max-width: 100%; }
.rte .ql-editor .ql-code-block-container { background: #0f1b2a; color: #d7e6f4; border-radius: 6px; }
.rte-status { min-height: 1.25rem; margin-top: .35rem; font-size: 12px; color: #6b7785; }
.rte-status.rte-bad { color: #d23b3b; }
.rte-help { font-size: 12px; color: #8a95a1; }
.dark .rte .ql-toolbar.ql-snow { background: #1b2734; border-color: #2e3c4c; }
.dark .rte .ql-container.ql-snow { border-color: #2e3c4c; }
.dark .rte .ql-snow .ql-stroke { stroke: #b9c4cf; }
.dark .rte .ql-snow .ql-fill { fill: #b9c4cf; }
.dark .rte .ql-snow .ql-picker { color: #b9c4cf; }
.dark .rte .ql-snow .ql-picker-options { background: #1b2734; }
.dark .rte .ql-editor.ql-blank::before { color: #7d8996; }
.dark .rte-status { color: #8d99a6; }
