/* Member detail — notes tab */
.webisport-dashboard .member-notes-shell {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-4);
}

.webisport-dashboard .member-notes-form {
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-2);
    padding: var(--ws-space-4);
    background: var(--webisport-surface-muted, #f9fafb);
    border: 1px solid rgba(47, 43, 61, 0.12);
    border-radius: var(--ws-radius);
}

.webisport-dashboard .member-notes-form[hidden] {
    display: none;
}

.webisport-dashboard .member-notes-form .webisport-form-help {
    margin: 0;
}

.webisport-dashboard .member-notes-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--ws-space-3);
}

.webisport-dashboard .member-notes-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--ws-space-3);
    padding: var(--ws-space-3) var(--ws-space-4);
    border: 1px solid rgba(47, 43, 61, 0.12);
    border-radius: var(--ws-radius);
}

.webisport-dashboard .member-notes-item-main {
    flex: 1 1 auto;
    min-width: 0;
}

.webisport-dashboard .member-notes-item-meta {
    margin: 0 0 var(--ws-space-2) 0;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--webisport-primary, #2f3a8f);
}

.webisport-dashboard .member-notes-item-content {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.webisport-dashboard .member-notes-item-edited {
    margin: var(--ws-space-2) 0 0 0;
    font-size: 0.75rem;
    color: #6d6b77;
}

.webisport-dashboard .member-notes-item-actions {
    flex: 0 0 auto;
}

.webisport-dashboard .member-notes-empty {
    padding: var(--ws-space-6) var(--ws-space-4);
}

.webisport-dashboard .member-notes-error {
    margin: 0;
    color: #c0392b;
}
