/*
 * ZLIX SHARED SEMANTIC ROLE SYSTEM
 * ZLIX_SHARED_ROLE_BADGE_SYSTEM_V1
 *
 * Role/authority colors are intentionally separate from lifecycle status
 * colors.
 *
 * Status:
 *   green / amber / red / muted
 *
 * Organizational authority:
 *   one restrained navy / cool-blue hierarchy
 *
 * Components own geometry. This shared layer owns role colors.
 */

/*
 * ZLIX_ROLE_CONTRAST_V2
 *
 * Keep one restrained cool-blue authority family, but provide enough
 * separation that ordinary membership does not read as neutral gray.
 */

[data-zlix-role-tone="owner"] {
    border-color: #6f9fc4 !important;
    background: #d4e7f6 !important;
    color: #123f61 !important;
}

[data-zlix-role-tone="administrator"] {
    border-color: #82acd0 !important;
    background: #dcecf8 !important;
    color: #1e5276 !important;
}

[data-zlix-role-tone="delegated"] {
    border-color: #97bcd5 !important;
    background: #e4f0f8 !important;
    color: #2c5d7d !important;
}

[data-zlix-role-tone="member"] {
    border-color: #a9cde4 !important;
    background: #eaf5fc !important;
    color: #2f6587 !important;
}

[data-zlix-role-tone="viewer"] {
    border-color: #c3d6e3 !important;
    background: #f1f6fa !important;
    color: #526f82 !important;
}

[data-zlix-role-tone="none"] {
    border-color: #d8e0e5 !important;
    background: #f5f7f8 !important;
    color: #77858e !important;
}

/*
 * Generic organization roles not yet present in the canonical catalog use
 * the delegated cool-blue treatment rather than inventing another color.
 */
[data-zlix-role-tone="role"] {
    border-color: #9ebfd6 !important;
    background: #e7f1f8 !important;
    color: #345f7b !important;
}
