.mmp-changelog {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100%;
}

.mmp-changelog__version {
    border: 1px solid #e2e4e7;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.mmp-changelog__header {
    padding: 0.75rem 1rem;
    background: #f6f7f7;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.mmp-changelog__header::-webkit-details-marker {
    display: none;
}

.mmp-changelog__version-name {
    font-family: monospace;
    font-size: 0.95rem;
}

.mmp-changelog__date {
    font-size: 0.8rem;
    color: #757575;
    font-weight: 400;
}

.mmp-changelog__body {
    padding: 1rem;
    border-top: 1px solid #e2e4e7;
    line-height: 1.6;
}

.mmp-changelog__body pre {
    background: #f6f8fa;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

.mmp-changelog__body code {
    background: #f6f8fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9rem;
}

.mmp-changelog__footer {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.mmp-changelog-unavailable,
.mmp-changelog-error {
    padding: 1rem;
    background: #f6f7f7;
    border-left: 4px solid #d63638;
    color: #1e1e1e;
}

.mmp-changelog-unavailable a,
.mmp-changelog-error a {
    color: #2271b1;
}

/* Block editor preview */
.mmp-changelog-block-preview {
    border: 1px dashed #c0c0c0;
    padding: 1rem;
    background: #f6f7f7;
}
