.chaptersEditor {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.empty {
    composes: empty from '@common/assets/ui.module.css';
}

.chapterCard {
    composes: card from '@common/assets/ui.module.css';
}

.chapterTitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    font-family: 'Georgia', serif;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.chunk {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chunkHeader {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chunkPreview {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 4px;
    border-left: 2px solid var(--border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summaryEditable {
    composes: textarea from '@common/assets/ui.module.css';
    padding: 10px 12px;
    border-radius: 6px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
