/* ─────────────────────────────────── */
/* FEATURE: Notes                      */
/* ─────────────────────────────────── */

/* ─────────────────────────────────── */
/* BLOCK: Note stakeholders picker     */
/* ─────────────────────────────────── */

.note-stakeholders {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* Suggest tray — single row, no wrap, match connection-row__suggest */
.note-stakeholders .suggest-field__tray {
    flex-wrap: nowrap;
    overflow: hidden;
}

.note-stakeholders .suggest-field__tray .pill {
    flex-shrink: 0;
}

/* ─────────────────────────────────── */
/* BLOCK: Edit-note sheet buttons      */
/* ─────────────────────────────────── */

/* First visible btn-text gets the large top gap;
   any subsequent visible btn-text gets a small gap */
.sheet[data-sheet="edit-note"] .sheet-form>.btn-text:not([style*="display: none"]) {
    margin-top: var(--space-8);
}

.sheet[data-sheet="edit-note"] .sheet-form>.btn-text:not([style*="display: none"])~.btn-text:not([style*="display: none"]) {
    margin-top: var(--space-2);
}