.admin-content-editor {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.admin-content-editor__tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.admin-content-editor__tab {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.admin-content-editor__tab:hover {
    color: #165dff;
    background: #f3f4f6;
}

.admin-content-editor__tab.is-active {
    color: #165dff;
    border-bottom-color: #165dff;
    background: #fff;
}

.admin-content-editor__panel {
    min-height: 280px;
}

.admin-content-editor__panel.is-hidden {
    display: none;
}

.admin-content-editor__quill .ql-container {
    min-height: 240px;
    font-size: 0.9375rem;
    border: none !important;
}

.admin-content-editor__quill .ql-toolbar {
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #fafafa;
}

.admin-content-editor__html {
    min-height: 280px;
    max-height: 480px;
    overflow-y: auto;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.7;
    color: #374151;
    outline: none;
}

.admin-content-editor__html:focus {
    background: #fafbff;
}

.admin-content-editor__html p {
    margin: 0.375rem 0;
}

.admin-content-editor__html p,
.admin-content-editor__html li,
.admin-content-editor__html td {
    font-weight: 400;
}

.admin-content-editor__html .detail-h1,
.admin-content-editor__html h1 {
    margin: 0.5rem 0 0.375rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1d2129;
}

.admin-content-editor__html .detail-h2,
.admin-content-editor__html h2 {
    margin: 0.625rem 0 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1d2129;
}

.admin-content-editor__html .detail-h3,
.admin-content-editor__html h3 {
    margin: 0.5rem 0 0.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1d2129;
}

.admin-content-editor__html .detail-ul,
.admin-content-editor__html .detail-ol,
.admin-content-editor__html ul,
.admin-content-editor__html ol {
    margin: 0.375rem 0;
    padding-left: 1.25rem;
}

.admin-content-editor__html strong {
    font-weight: 600;
    color: #1d2129;
}

.admin-content-editor__html table,
.admin-content-editor__html .detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.875rem;
}

.admin-content-editor__html th,
.admin-content-editor__html td,
.admin-content-editor__html .detail-table th,
.admin-content-editor__html .detail-table td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.admin-content-editor__html th,
.admin-content-editor__html .detail-table th {
    background: #f3f4f6;
    font-weight: 600;
}

.admin-content-editor__markdown {
    width: 100%;
    min-height: 280px;
    padding: 0.875rem 1rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    border: none;
    resize: vertical;
    outline: none;
}

.admin-content-editor__preview {
    min-height: 280px;
    max-height: 420px;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #374151;
}

.admin-content-editor__preview.detail-content {
    font-size: 0.875rem;
    line-height: 1.7;
}

.admin-content-editor__preview .detail-h2,
.admin-content-editor__preview h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #1d2129;
    margin: 0.625rem 0 0.375rem;
}

.admin-content-editor__preview .detail-h3,
.admin-content-editor__preview h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1d2129;
    margin: 0.5rem 0 0.25rem;
}

.admin-content-editor__preview ul,
.admin-content-editor__preview ol {
    margin: 0.5rem 0 0.5rem 1.25rem;
}

.admin-content-editor__preview pre {
    background: #f3f4f6;
    padding: 0.75rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-size: 0.8125rem;
}

.admin-content-editor__hint {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}
