/* Auto-split from _11_workflow_msg_ui.css — DO NOT EDIT MANUALLY */
/* See _11_workflow_msg_ui.css.bak for original */

.wf-diff-panel {
    margin: 0.5rem 0;
    border: 1px solid var(--border-primary);
    border-radius: 0.375rem;
    overflow: hidden;
    font-family: var(--tno-font-mono);
    font-size: var(--font-xs);
}

.wf-diff-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0.625rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-primary);
    cursor: pointer;
    user-select: none;
}

.wf-diff-panel-header:hover { background: rgba(255, 255, 255, 0.05); }

.wf-diff-stats {
    display: flex;
    gap: 0.5rem;
    font-size: var(--font-xs);
}

.wf-diff-stat-add { color: var(--diff-add); }

.wf-diff-stat-del { color: var(--diff-del); }

.wf-diff-file-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wf-diff-file-list.open { max-height: 80vh; overflow-y: auto; }

.wf-diff-file-item {
    padding: 0.25rem 0.625rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.wf-diff-file-item:hover { background: rgba(255, 255, 255, 0.03); }

.wf-diff-file-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wf-diff-file-content.open { max-height: 60vh; overflow-y: auto; }

.wf-diff-line { padding:0 0.5rem; white-space: pre-wrap; line-height: 1.5; }

.wf-diff-line.add { background: color-mix(in srgb, var(--diff-add) 10%, transparent); color: var(--diff-add); }

.wf-diff-line.del { background: color-mix(in srgb, var(--diff-del) 10%, transparent); color: var(--diff-del); }

.wf-diff-line.ctx { color: var(--text-secondary); }

.wf-diff-line.hdr { color: var(--accent-info); font-weight: bold; }

.wf-diff-checkpoint {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.1875rem;
    font-size: var(--font-canvas-tiny);
    cursor: pointer;
    background: color-mix(in srgb, var(--accent-info) 10%, transparent);
    color: var(--accent-info);
    border: 1px solid color-mix(in srgb, var(--accent-info) 30%, transparent);
    transition: all 0.2s;
}

.wf-diff-checkpoint:hover {
    background: color-mix(in srgb, var(--accent-info) 20%, transparent);
    border-color: var(--accent-info);
}

.wf-ver-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-primary, var(--bg-raised-navy));
    flex-shrink: 0;
}

.wf-ver-tab {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary, var(--steel-muted));
    padding: 0.25rem 0.5rem;
    font-size: var(--font-canvas-sm);
    cursor: pointer;
    transition: all 0.15s;
}

.wf-ver-tab:hover {
    color: var(--text-primary, var(--c-c8d6e5));
}

.wf-ver-tab-content {
    flex: 1;
    overflow-y: auto;
}

.wf-diff-inline {
    margin: 0.25rem 0;
    padding: 0.375rem 0.625rem;
    border-left: 3px solid var(--bright-purple, var(--c-aa66ff));
    background: rgba(170, 102, 255, 0.04);
    font-family: var(--tno-font-mono);
    font-size: var(--font-xs);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.wf-diff-panel {
    margin: 0.5rem 0;
    border: 2px solid var(--bright-green, var(--green-led));
    border-radius: 0.25rem;
    overflow: hidden;
    font-family: var(--tno-font-mono);
    font-size: var(--font-xs);
    position: relative;
}

.wf-diff-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0.25rem; height: 100%;
    background: var(--bright-green, var(--green-led));
}

.wf-diff-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.06);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    letter-spacing: 0.0312rem;
    text-transform: uppercase;
}

.wf-diff-panel-header:hover {
    background: rgba(0, 255, 136, 0.1);
}

.wf-diff-stat-add {
    color: var(--bright-green, var(--green-led));
    font-weight: 700;
    font-family: var(--tno-font-mono);
}

.wf-diff-stat-del {
    color: var(--bright-red, var(--red-led));
    font-weight: 700;
    font-family: var(--tno-font-mono);
}
