/* Leads (TRA-122): chips and clock dots shared by the list, the People view and the detail pane.
   Layout lives in each component's own stylesheet. */

.ld-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 10px;
    white-space: nowrap;
}

/* Status: one colour family per stage of the pipeline, never reused for an SLA signal. */
.ld-status { border-radius: 6px; padding: 4px 8px; }
.ld-status-1 { background: #fef9c3; color: #854d0e; }
.ld-status-2 { background: #e0f2fe; color: #075985; }
.ld-status-3 { background: #ede9fe; color: var(--acc2); }
.ld-status-4 { background: #dcfce7; color: #166534; }
.ld-status-5 { background: #d1fae5; color: #065f46; }
.ld-status-6 { background: #f3f4f6; color: #374151; }
.ld-status-7 { background: #f3f4f6; color: var(--muted); }
.ld-status-8 { background: #e0f2fe; color: #0369a1; }
.ld-status-9 { background: #fee2e2; color: #991b1b; }

/* Roles held by a person. Kept outlined so they never read as a pipeline status. */
.ld-role {
    background: var(--surface);
    border-color: var(--border);
    color: var(--txt);
    font-weight: 500;
}

.ld-role-lead { border-color: #ddd0fb; color: var(--acc2); }

/* Direction is an operational fact, not a risk signal, so both directions share the muted colour. */
.ld-direction {
    color: var(--muted);
    font-size: 16px;
}

/* The compact Change status and Reassign dialogues. */
.ld-dialog {
    color: var(--txt);
    font-size: 13px;
}

.ld-dialog-head {
    display: flex;
    align-items: center;
}

.ld-dialog-title {
    font-size: 18px;
    font-weight: 600;
}

.ld-dialog-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.ld-dialog-note {
    color: var(--muted);
    font-size: 12px;
    margin: -4px 0 12px;
}

.ld-dialog-foot {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
