﻿.row-bottom-10 {
    margin-bottom: 10px !important;
}

.input-filter-card {
    display: grid;
    justify-items: center;
    border-radius: 8px;
    border: .01em solid #ccc;
    margin: 5px !important;
    padding: 10px;
}

.input-file-filter-card {
    border-radius: 8px;
    border: .01em solid #ccc;
    margin: 5px !important;
    padding: 10px;
}

.toast i.material-icons {
    margin-right: 15px !important;
}

.break-word-and-fit {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

i.small-plus {
    font-size: 3rem;
}

blockquote {
    border-left-color: #44a7fd !important;
    background-color: aliceblue;
    padding: 5px 5px 5px 15px;
}

.blockquote-warning {
    border-left-color: #dbdb32 !important;
    background-color: lightgoldenrodyellow;
    padding: 5px 5px 5px 15px;
}

.blockquote-light {
    border-left-color: #b9b9b7 !important;
    background-color: #f3f3f1;
    padding: 5px 5px 5px 15px;
}

.btn {
    border-radius: 8px;
}

.btn-small {
    border-radius: 8px;
}

.card-panel {
    border-radius: 8px;
}

.card {
    border-radius: 8px;
}

.toast {
    border-radius: 8px;
}

.collapsible {
    border-radius: 8px;
}

.pagination-element {
    border-radius: 8px;
}

.badge {
    border-radius: 8px !important;
}

.progress {
    border-radius: 8px;
}

.collection {
    border-radius: 8px !important;
}

.modal {
    border-radius: 8px !important;
}

.modal-small {
    top: 25% !important;
    height: 50% !important;
}

.dropdown {
    display: inline-block;
    position: relative;
}

.dd-button {
    display: inline-block;
    border: 1px solid gray;
    border-radius: 4px;
    padding: 10px 30px 10px 20px;
    background-color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
}

    .dd-button:after {
        content: '';
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid black;
    }

    .dd-button:hover {
        background-color: #eeeeee;
    }


.dd-input {
    display: none;
}

.dd-menu {
    position: absolute;
    top: -20%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0;
    margin: 2px 0 0 0;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);
    background-color: #ffffff;
    list-style-type: none;
    z-index: 1999;
    text-align: left;
    left: 100%;
}

.dd-input + .dd-menu {
    display: none;
}

.dd-input:checked + .dd-menu {
    display: block;
}

.dd-menu li {
    padding: 10px 20px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
}

    .dd-menu li:hover {
        background-color: #f6f6f6;
    }

    .dd-menu li a {
        display: block;
        margin: -10px -20px;
        padding: 10px 20px;
    }

    .dd-menu li.divider {
        padding: 0;
        border-bottom: 1px solid #cccccc;
    }


.fixed-action-btn {
    z-index: 0;
    position: absolute !important;
}

nav {
    padding-right: 5px;
    padding-left: 5px;
}

span.badge-sec {
    min-width: 3rem;
    padding: 0 6px;
    text-align: center;
    font-size: 1rem;
    line-height: inherit;
    color: #757575;
    position: absolute;
    box-sizing: border-box;
}

span.badge-no-height {
    height: unset !important;
}

.click {
    cursor: pointer;
}

.visible {
    display: block;
}

.hidden {
    display: none !important;
}

.input-field {
    margin-bottom: .5rem;
}

[type="radio"]:not(:checked) + span,
[type="radio"]:checked + span {
    padding-left: 25px;
}

#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: 9999;
    display: none;
}

.loader {
    position: absolute;
    margin: auto;
    top: 50vh;
    bottom: 50vh;
    left: 0;
    right: 0;
}

.toast {
    background-color: #2e7d32;
}

.toast-red {
    background-color: red;
}

.toast-blue {
    background-color: blue;
}

.tabs .tab a {
    color: #2e7d32;
}

.tabs .tab a:hover {
    color: #2e7d32;
}

.tabs .tab a.active {
    color: #2e7d32;
}

.tabs .indicator {
    background-color: #2e7d32;
}

.tabs .tab.disabled a, .tabs .tab.disabled a:hover {
    color: #99e09c;
}

.tabs .tab a:focus, .tabs .tab a:focus.active {
    background-color: #ebf9ec;
}

.board-header-facepile {
    cursor: default;
    float: left;
    margin-left: 4px;
    overflow: hidden;
    padding: 2px 0 0 2px;
}

    .board-header-facepile .member {
        height: 28px;
        width: 28px;
        margin: 0 0 0 -2px;
        float: left;
        z-index: 1;
    }

.member {
    background-color: #1a237e;
    border-radius: 25em;
    color: #fff;
    cursor: pointer;
    display: block;
    float: left;
    height: 32px;
    margin: 0 4px 4px 0;
    overflow: visible;
    position: relative;
    width: 32px;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 0;
}

.board-header-facepile .member .member-initials {
    height: 28px;
    line-height: 28px;
    width: 28px;
}

.member-initials {
    display: block;
    font-size: 12px;
    font-weight: 700;
    height: 32px;
    left: 0;
    line-height: 32px;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}

@media only screen and (min-width: 0) {
    #divCollectionTemas {
        height: 250px;
        overflow-y: auto;
    }

    #ulCollectionTemas {
        height: 435px;
        overflow-y: auto;
    }

    #ulCollectionIndicadores {
        height: 387px;
        overflow-y: auto;
    }
}



@media only screen and (min-width: 1600px) {
    #divCollectionTemas {
        height: 431px;
        overflow-y: auto;
    }

    #ulCollectionTemas {
        height: 728px;
        overflow-y: auto;
    }

    #ulCollectionIndicadores {
        height: 680px;
        overflow-y: auto;
    }
}

.fixed-action-btn {
    top: 75px !important;
    right: 50px !important;
}

.fixed-action-btn-down {
    top: unset !important;
    z-index: 997 !important;
    position: fixed !important;
}

.material-icons-help {
    font-size: 36px !important;
    color: #2e7d32;
}

.modal-85 {
    width: 85% !important;
}

.modal-help-85 {
    height: 85% !important;
    max-height: 85% !important;
    overflow: unset !important;
}

.modal-content-help-85 {
    height: 85% !important;
    max-height: 85% !important;
    overflow: auto;
}

.fixed-action-btn-up {
    bottom: unset !important;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    /* Acima da navbar-fixed (z-index: 1000) e dos chips de acesso (1001)
       para que o topo do painel de filtros - onde fica o X de fechar -
       não abra escondido atrás do header (BUG-70). */
    z-index: 1002;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-left {
    right: unset;
    left: 0;
}

.overlay-content {
    position: relative;
    top: 5%;
    width: 90%;
    text-align: center;
    margin: 15px;
}

.overlay a {
    padding: 2px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

    .overlay a:hover, .overlay a:focus {
        color: #f1f1f1;
    }

.overlay .closebtn {
    position: absolute;
    /*top: 20px;*/
    right: 15px;
    /*font-size: 60px;*/
}

@@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

.badge-header {
    height: unset !important;
    min-height: 22px;
}

.badge-red-inverted {
    color: red !important;
    font-weight: 500 !important;
    background-color: #fdd3d3 !important;
}

.badge-green {
    background-color: #2e7d32 !important;
    margin-left: 1em !important;
}

.badge-green-inverted {
    color: green !important;
    font-weight: 500 !important;
    background-color: #b4e1b4 !important;
    margin-left: 1em !important;
}

.badge-green-inverted-v2 {
    color: green !important;
    font-weight: 500 !important;
    background-color: gainsboro !important;
    margin-left: 1em !important;
}

.badge-grey {
    background-color: #c5c5c5 !important;
    margin-left: 1em !important;
    color: black !important;
}

.badge-blue {
    background-color: #1a237e !important;
    margin-left: 1em !important;
    color: white !important;
}

.badge-blue-inverted {
    color: #1565C0 !important;
    font-weight: 500 !important;
    background-color: #dde9ef !important;
    margin-left: 1em !important;
}

.badge-black-inverted {
    color: black !important;
    font-weight: 500 !important;
    background-color: #e7e7e7 !important;
    margin-left: 1em !important;
}

.badge-yellow-inverted {
    color: black !important;
    font-weight: 500 !important;
    background-color: yellow !important;
    margin-left: 1em !important;
}

input[type='file'] {
    color: transparent;
}

.bottom-left-fornecedor {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 18px;
    z-index: 1000;
    color: #64daed !important;
}

    .bottom-left-fornecedor .toast {
        background-color: #64daed !important;
    }

.bottom-left-comprador {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size: 18px;
    z-index: 1000;
    color: #7864ed !important;
}

    .bottom-left-comprador .toast {
        background-color: #7864ed !important;
    }

.bottom-left-administrador {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size: 18px;
    z-index: 1000;
    color: #ed6495 !important;
}

    .bottom-left-administrador .toast {
        background-color: #ed6495 !important;
    }

.h5-empty-panels {
    color: #26a69a;
    width: 100%;
}

.material-icons-aligned {
    display: inline-flex !important;
    vertical-align: top !important;
}

.collapsible-header-questionarios svg {
    width: 1.5em !important;
}

.collapsible-header-right i {
    position: absolute;
    right: 20px;
}

.collapsible-right li.active i.rotate {
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}

.rotate {
    -moz-transition: all .3s linear;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
}

.helper-text-16 {
    color: red !important;
    font-size: 16px !important;
}

table.highlight > tbody > tr:hover {
    background-color: #D1EEE1;
}

.modal.top-sheet {
    top: 0% !important;
    bottom: auto !important;
    transition: transform cubic-bezier(0.22, 0.61, 0.36, 1) .2s;
    will-change: transform;
    transform: translate(0, -100%) scale(1) !important;
    width: 100%;
    opacity: 1 !important;
}

.top-sheet-50 {
    height: 50%
}

.top-sheet .dropdown-content li > a, .dropdown-content li > span {
    padding: 2px 16px !important;
}

.top-sheet .dropdown-content li {
    min-height: 30px !important;
}
    .modal.top-sheet.open {
        transition: transform cubic-bezier(0.22, 0.61, 0.36, 1) .35s .25s;
    }

        .modal.top-sheet.open:not([style*="display: none"]):not([style*="opacity: 0;"]) {
            transform: translate(0, 0%) !important;
        }

.btn-choice {
    border-radius: 8px;
    display: flex;
    -webkit-box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
    /*margin-left: 25px;
        margin-top: 10px;
        height: 25px;*/
}

    .btn-choice a {
        box-shadow: none;
        height: 25px;
        line-height: 25px;
        font-size: 12px;
        background-color: #f5f5f5 !important;
        color: #9e9e9e !important;
    }

        .btn-choice a.active {
            background-color: #2e7d32 !important;
            color: #fff !important;
        }

.dropdown-content {
    top: -50px;
}

    .dropdown-content li {
        min-height: 10px;
    }

.modal .dropdown-content li {
    min-height: 10px;
}

.modal .dropdown-content {
    top: -50px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: #636363;
    border: 0px none #ffffff;
    border-radius: 50px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #636363;
    }

    ::-webkit-scrollbar-thumb:active {
        background: #2e7d32;
    }

::-webkit-scrollbar-track {
    background: #ffffff;
    border: 0px none #ffffff;
    border-radius: 50px;
}

    ::-webkit-scrollbar-track:hover {
        background: #ffffff;
    }

    ::-webkit-scrollbar-track:active {
        background: #636363;
    }

::-webkit-scrollbar-corner {
    background: transparent;
}

.btn-red {
    background-color: red !important;
}
/* --- Header access chips (impersonation / coordenador master) --------- */
/* Pílulas compactas e retráteis ancoradas no centro da navbar, em vez de */
/* uma barra full-width que cobre filtros e botões ao rolar a página.    */

.navbar-fixed {
    /* Acima da sidebar (z-index: 999) para que o painel do chip, que abre
       logo abaixo da navbar, não fique escondido atrás dela. */
    z-index: 1000;
}

.header-access-chips {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-access-chip {
    position: relative;
}

.header-access-chip > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
    user-select: none;
    transition: background .18s, border-color .18s;
}

.header-access-chip > summary::-webkit-details-marker {
    display: none;
}

.header-access-chip > summary::marker {
    content: "";
}

.header-access-chip > summary .material-icons {
    font-size: 16px;
}

.header-access-chip-caret {
    font-size: 16px !important;
    margin-left: 2px;
    transition: transform .18s;
}

.header-access-chip[open] .header-access-chip-caret {
    transform: rotate(180deg);
}

.header-access-chip-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    min-width: 260px;
    max-width: min(320px, calc(100vw - 16px));
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.header-access-chip-panel strong {
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.header-access-chip-panel span {
    display: block;
    font-size: .82rem;
    line-height: 1.4;
}

.header-access-chip-panel form {
    margin: 0;
}

.header-access-chip-panel-btn {
    width: 100%;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, border-color .18s, transform .18s;
}

.header-access-chip-panel-btn i {
    font-size: 18px;
}

.header-access-chip-panel-btn:active {
    transform: translateY(1px);
}

/* amber = sessão de suporte (impersonation) */
.header-access-chip--amber > summary {
    color: #ffe9a8;
    background: rgba(255, 193, 7, .16);
    border: 1px solid rgba(255, 193, 7, .4);
}

.header-access-chip--amber[open] > summary,
.header-access-chip--amber > summary:hover {
    background: rgba(255, 193, 7, .28);
}

.header-access-chip--amber .header-access-chip-panel {
    color: #44330b;
    border: 1px solid #ead28a;
}

.header-access-chip--amber .header-access-chip-panel strong {
    color: #382900;
}

.header-access-chip--amber .header-access-chip-panel span {
    color: #725f29;
}

.header-access-chip--amber .header-access-chip-panel span b {
    color: #3d310d;
    font-weight: 650;
}

.header-access-chip--amber .header-access-chip-panel-btn {
    color: #674d08;
    background: #fff8df;
    border: 1px solid #d6b95c;
}

.header-access-chip--amber .header-access-chip-panel-btn:hover,
.header-access-chip--amber .header-access-chip-panel-btn:focus-visible {
    background: #fff2c4;
    border-color: #b99528;
}

/* violet = acesso via coordenador master */
.header-access-chip--violet > summary {
    color: #ded8ff;
    background: rgba(124, 108, 235, .18);
    border: 1px solid rgba(124, 108, 235, .45);
}

.header-access-chip--violet[open] > summary,
.header-access-chip--violet > summary:hover {
    background: rgba(124, 108, 235, .3);
}

.header-access-chip--violet .header-access-chip-panel {
    color: #2a2560;
    border: 1px solid #cfc6f7;
}

.header-access-chip--violet .header-access-chip-panel strong {
    color: #241e57;
}

.header-access-chip--violet .header-access-chip-panel span {
    color: #4d449b;
}

.header-access-chip--violet .header-access-chip-panel span b {
    color: #2b2465;
    font-weight: 650;
}

.header-access-chip--violet .header-access-chip-panel-btn {
    color: #4130a8;
    background: #f3f0ff;
    border: 1px solid #c3b7ef;
}

.header-access-chip--violet .header-access-chip-panel-btn:hover,
.header-access-chip--violet .header-access-chip-panel-btn:focus-visible {
    background: #ebe5ff;
    border-color: #9c8be3;
}

@media (max-width: 600px) {
    .header-access-chips {
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-access-chip-label {
        display: none;
    }

    .header-access-chip > summary {
        padding: 0 10px;
    }

    .header-access-chip-panel {
        left: 0;
        transform: none;
    }
}

.usuarios-page {
    --usuarios-green: #237a3b;
    --usuarios-green-dark: #175c2b;
    --usuarios-green-soft: #edf8f0;
    --usuarios-ink: #17221b;
    --usuarios-muted: #66736a;
    --usuarios-line: #e3eae5;
    --usuarios-surface: #fff;
    max-width: 1540px;
    margin: 0 auto;
    padding: 28px 8px 48px;
    color: var(--usuarios-ink);
}

.usuarios-page button,
.usuarios-page input,
.usuarios-modal button {
    font-family: inherit;
}

.usuarios-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.usuarios-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--usuarios-green, #237a3b);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.usuarios-page-header h1 {
    margin: 0;
    color: #152219;
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.usuarios-page-header p {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--usuarios-muted);
    font-size: .93rem;
    line-height: 1.5;
}

.usuarios-header-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    color: var(--usuarios-green);
    background: var(--usuarios-green-soft);
    border: 1px solid #d9ecde;
    border-radius: 16px;
}

.usuarios-header-icon i {
    font-size: 26px;
}

.usuarios-toolbar,
.usuarios-results-card {
    background: var(--usuarios-surface);
    border: 1px solid var(--usuarios-line);
    border-radius: 16px;
    box-shadow: 0 7px 24px rgba(28, 53, 36, .06);
}

.usuarios-toolbar {
    position: relative;
    z-index: 5;
    margin-bottom: 18px;
    padding: 18px;
}

.usuarios-search-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.usuarios-main-search {
    position: relative;
    min-width: 260px;
    flex: 1 1 auto;
}

.usuarios-main-search > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    color: #768279;
    font-size: 21px;
    transform: translateY(-50%);
    pointer-events: none;
}

.usuarios-main-search input[type="search"] {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 46px;
    color: var(--usuarios-ink);
    background: #f8faf8;
    border: 1px solid #dce4de !important;
    border-radius: 11px !important;
    box-shadow: none !important;
    font-size: .91rem;
    transition: background .18s, border-color .18s, box-shadow .18s;
}

.usuarios-main-search input[type="search"]:focus {
    background: #fff;
    border-color: #66a977 !important;
    box-shadow: 0 0 0 3px rgba(35, 122, 59, .11) !important;
}

.usuarios-main-search input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.usuarios-main-search > button {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #7b867e;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.usuarios-main-search > button:hover {
    color: #3f4e43;
    background: #eaf0eb;
}

.usuarios-main-search > button i {
    font-size: 18px;
}

.usuarios-filter-toggle,
.usuarios-clear-btn {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, border-color .18s, color .18s;
}

.usuarios-filter-toggle {
    color: #35443a;
    background: #fff;
    border: 1px solid #d9e1db;
}

.usuarios-filter-toggle:hover,
.usuarios-filter-toggle.is-open {
    color: var(--usuarios-green-dark);
    background: var(--usuarios-green-soft);
    border-color: #bcdac4;
}

.usuarios-filter-toggle > i:first-child,
.usuarios-clear-btn i {
    font-size: 19px;
}

.usuarios-filter-chevron {
    font-size: 18px !important;
    transition: transform .18s;
}

.usuarios-filter-toggle.is-open .usuarios-filter-chevron {
    transform: rotate(180deg);
}

.usuarios-filter-toggle b {
    min-width: 19px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    color: #fff;
    background: var(--usuarios-green);
    border-radius: 9px;
    font-size: .68rem;
}

.usuarios-clear-btn {
    color: #58645b;
    background: transparent;
    border: 1px solid transparent;
}

.usuarios-clear-btn:not(:disabled):hover {
    color: #a23b3b;
    background: #fff4f4;
}

.usuarios-clear-btn:disabled {
    opacity: .38;
    cursor: default;
}

.usuarios-status-filters {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
}

.usuarios-status-filter {
    height: 31px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    color: #667169;
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: .79rem;
    font-weight: 650;
    cursor: pointer;
}

.usuarios-status-filter:hover {
    color: #324138;
    background: #f2f5f3;
}

.usuarios-status-filter.is-active {
    color: var(--usuarios-green-dark);
    background: var(--usuarios-green-soft);
}

.usuarios-status-filter > i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.usuarios-status-filter .is-active-dot {
    background: #31a354;
}

.usuarios-status-filter .is-inactive-dot {
    background: #a4aca6;
}

.usuarios-advanced-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
    padding-top: 17px;
    border-top: 1px solid var(--usuarios-line);
}

.usuarios-advanced-filters[hidden],
.usuarios-select-panel[hidden] {
    display: none !important;
}

.usuarios-filter-field {
    position: relative;
    min-width: 0;
}

.usuarios-filter-field > label {
    position: static;
    display: block;
    margin: 0 0 6px;
    color: #59675d;
    font-size: .72rem;
    font-weight: 700;
    transform: none;
}

.usuarios-search-select > select {
    display: none;
}

.usuarios-select-trigger {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 11px 0 13px;
    color: #26332a;
    background: #fff;
    border: 1px solid #d9e2db;
    border-radius: 9px;
    text-align: left;
    cursor: pointer;
}

.usuarios-select-trigger span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.usuarios-select-trigger i {
    color: #718078;
    font-size: 19px;
    transition: transform .18s;
}

.usuarios-search-select.is-open .usuarios-select-trigger {
    border-color: #61a472;
    box-shadow: 0 0 0 3px rgba(35, 122, 59, .1);
}

.usuarios-search-select.is-open .usuarios-select-trigger i {
    transform: rotate(180deg);
}

.usuarios-select-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    width: 100%;
    min-width: 260px;
    padding: 8px;
    background: #fff;
    border: 1px solid #d9e2db;
    border-radius: 11px;
    box-shadow: 0 14px 36px rgba(22, 48, 29, .16);
}

.usuarios-select-search-wrap {
    position: relative;
}

.usuarios-select-search-wrap i {
    position: absolute;
    top: 50%;
    left: 10px;
    color: #77827b;
    font-size: 18px;
    transform: translateY(-50%);
}

.usuarios-select-search-wrap input[type="search"] {
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    margin: 0 0 6px;
    padding: 0 10px 0 35px;
    background: #f6f8f6;
    border: 1px solid #e0e6e1 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: .82rem;
}

.usuarios-select-search-wrap input[type="search"]:focus {
    background: #fff;
    border-color: #70aa7e !important;
}

.usuarios-select-options {
    max-height: 245px;
    overflow-y: auto;
}

.usuarios-select-option {
    width: 100%;
    min-height: 37px;
    display: block;
    padding: 8px 10px;
    color: #344139;
    background: transparent;
    border: 0;
    border-radius: 7px;
    text-align: left;
    font-size: .81rem;
    line-height: 1.35;
    cursor: pointer;
}

.usuarios-select-option:hover,
.usuarios-select-option:focus-visible {
    background: #f1f6f2;
    outline: none;
}

.usuarios-select-option.is-selected {
    color: var(--usuarios-green-dark);
    background: var(--usuarios-green-soft);
    font-weight: 700;
}

.usuarios-native-field .select-wrapper {
    margin: 0;
}

.usuarios-native-field .select-wrapper input.select-dropdown {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 36px 0 13px;
    color: #26332a;
    background: #fff;
    border: 1px solid #d9e2db !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-size: .82rem;
}

.usuarios-native-field .select-wrapper input.select-dropdown:focus {
    border-color: #61a472 !important;
    box-shadow: 0 0 0 3px rgba(35, 122, 59, .1) !important;
}

.usuarios-native-field .select-wrapper .caret {
    right: 10px;
    z-index: 1;
}

.usuarios-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.usuarios-active-filters:not(:empty) {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px dashed #e1e7e2;
}

.usuarios-filter-chip {
    height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 280px;
    padding: 0 7px 0 10px;
    color: #2b6b3b;
    background: #f0f8f2;
    border: 1px solid #d6eadb;
    border-radius: 14px;
    font-size: .72rem;
    cursor: pointer;
}

.usuarios-filter-chip span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.usuarios-filter-chip i {
    font-size: 15px;
}

.usuarios-filter-chip:hover {
    background: #e5f3e8;
}

.usuarios-results-card {
    overflow: hidden;
}

.usuarios-results-header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--usuarios-line);
}

.usuarios-results-header > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.usuarios-results-header h2 {
    margin: 0;
    color: #263229;
    font-size: .96rem;
    font-weight: 750;
}

#totalResultados {
    color: #7a857d;
    font-size: .77rem;
}

#totalResultados strong {
    color: #425047;
    font-weight: 700;
}

.usuarios-sort-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8a948d;
    font-size: .7rem;
}

.usuarios-sort-hint i {
    font-size: 16px;
}

#usuariosSistemaTable {
    border: 0;
    background: #fff;
}

#usuariosSistemaTable .tabulator-header {
    color: #68746b;
    background: #fafbfa;
    border-bottom: 1px solid #e6ebe7;
    font-size: .71rem;
    font-weight: 750;
    letter-spacing: .025em;
    text-transform: uppercase;
}

#usuariosSistemaTable .tabulator-header .tabulator-col {
    min-height: 44px;
    background: transparent;
    border-right: 0;
}

#usuariosSistemaTable .tabulator-header .tabulator-col .tabulator-col-content {
    padding: 13px 14px;
}

#usuariosSistemaTable .tabulator-row {
    min-height: 72px;
    background: #fff;
    border-bottom: 1px solid #edf0ee;
}

#usuariosSistemaTable .tabulator-row:nth-child(even) {
    background: #fcfdfc;
}

#usuariosSistemaTable .tabulator-row.tabulator-selectable:hover {
    background: #f7faf8 !important;
}

#usuariosSistemaTable .tabulator-row .tabulator-cell {
    display: inline-flex;
    align-items: center;
    padding: 11px 14px;
    border-right: 0;
    overflow: hidden;
    white-space: normal;
}

.usuarios-user-cell {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.usuarios-avatar-wrap {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}

.usuarios-avatar,
.usuarios-avatar-fallback {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

.usuarios-avatar {
    display: block;
    object-fit: cover;
    border: 1px solid #e1e8e3;
}

.usuarios-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #226b35;
    background: linear-gradient(145deg, #e4f5e8, #f4faf5);
    border: 1px solid #cfe7d5;
    font-size: .75rem;
    font-weight: 800;
}

.usuarios-cell-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.usuarios-cell-copy strong {
    overflow: hidden;
    color: #243129;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.usuarios-cell-copy > span {
    overflow: hidden;
    color: #7a857d;
    font-size: .72rem;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.usuarios-access-cell {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.usuarios-tags {
    display: flex;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
}

.usuarios-tag {
    max-width: 120px;
    flex: 0 1 auto;
    overflow: hidden;
    padding: 3px 7px;
    color: #647068;
    background: #f1f4f2;
    border-radius: 5px;
    font-size: .66rem;
    font-weight: 650;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.usuarios-tag-primary {
    color: #286b39;
    background: #eaf6ed;
}

.usuarios-access-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #7a857d;
    font-size: .69rem;
}

.usuarios-access-type i {
    font-size: 13px;
}

.usuarios-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: .7rem;
    font-weight: 700;
}

.usuarios-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.usuarios-status-active {
    color: #23743a;
    background: #ebf7ee;
}

.usuarios-status-active i {
    background: #34a853;
    box-shadow: 0 0 0 3px rgba(52, 168, 83, .1);
}

.usuarios-status-inactive {
    color: #717a73;
    background: #f0f2f1;
}

.usuarios-status-inactive i {
    background: #929b94;
}

.usuarios-access-btn {
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    color: #fff;
    background: var(--usuarios-green);
    border: 1px solid var(--usuarios-green);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(35, 122, 59, .17);
    font-size: .72rem;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s, transform .18s, box-shadow .18s;
}

.usuarios-access-btn i {
    font-size: 16px;
}

.usuarios-access-btn:hover,
.usuarios-access-btn:focus-visible {
    background: var(--usuarios-green-dark);
    box-shadow: 0 4px 9px rgba(35, 122, 59, .22);
}

.usuarios-access-btn:active {
    transform: translateY(1px);
}

#usuariosSistemaTable .tabulator-col[data-sortable-col="true"] .tabulator-col-title {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

#usuariosSistemaTable .tabulator-col[data-sortable-col="true"]:hover,
#usuariosSistemaTable .tabulator-col.is-sorted {
    color: var(--usuarios-green);
    background: #f2f8f4;
}

#usuariosSistemaTable .sort-indicator {
    margin-left: 3px;
    color: var(--usuarios-green);
    font-size: 13px;
}

#usuariosSistemaTable .tabulator-footer {
    padding: 10px 14px;
    color: #657168;
    background: #fff;
    border-top: 0;
}

#usuariosSistemaTable .tabulator-paginator {
    text-align: right;
}

#usuariosSistemaTable .tabulator-page {
    min-width: 31px;
    height: 31px;
    margin: 0 2px !important;
    padding: 0 9px !important;
    color: #526057;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: .72rem;
    font-weight: 650;
}

#usuariosSistemaTable .tabulator-page:not(:disabled):hover {
    color: var(--usuarios-green-dark) !important;
    background: var(--usuarios-green-soft) !important;
    cursor: pointer;
}

#usuariosSistemaTable .tabulator-page.active {
    color: #fff !important;
    background: var(--usuarios-green) !important;
}

#usuariosSistemaTable .tabulator-page:disabled {
    opacity: .35;
}

#usuariosSistemaTable .tabulator-page-size {
    height: 31px;
    margin: 0 10px 0 0;
    border: 1px solid #dce3de;
    border-radius: 8px !important;
    font-size: .72rem;
}

#usuariosSistemaTable .tabulator-placeholder span {
    padding: 40px 20px;
    color: #79847c;
    font-size: .86rem;
    font-weight: 500;
}

.usuarios-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.usuarios-modal.is-open {
    display: flex;
}

.usuarios-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 24, 17, .56);
    backdrop-filter: blur(3px);
    animation: usuariosFadeIn .18s ease-out;
}

.usuarios-modal-card {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(8, 29, 14, .24);
    animation: usuariosModalIn .22s ease-out;
}

.usuarios-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #7a857d;
    background: transparent;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
}

.usuarios-modal-close:hover {
    color: #344038;
    background: #f1f4f2;
}

.usuarios-modal-close i {
    font-size: 20px;
}

.usuarios-modal-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    color: #256f38;
    background: #eaf7ed;
    border: 1px solid #d3ead8;
    border-radius: 14px;
}

.usuarios-modal-icon i {
    font-size: 24px;
}

.usuarios-modal-card h2 {
    margin: 0 0 9px;
    color: #1f2c23;
    font-size: 1.28rem;
    font-weight: 750;
    letter-spacing: -.02em;
}

.usuarios-modal-card > p {
    margin: 0;
    color: #68746c;
    font-size: .86rem;
    line-height: 1.55;
}

.usuarios-modal-card > p strong {
    color: #2b3830;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.usuarios-modal-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    padding: 11px 12px;
    color: #655521;
    background: #fff9e9;
    border: 1px solid #f2e3b0;
    border-radius: 10px;
    font-size: .75rem;
    line-height: 1.4;
}

.usuarios-modal-note i {
    flex: 0 0 auto;
    font-size: 17px;
}

.usuarios-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 22px;
}

.usuarios-modal-cancel,
.usuarios-modal-confirm {
    height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: .8rem;
    font-weight: 750;
    cursor: pointer;
}

.usuarios-modal-cancel {
    color: #526057;
    background: #fff;
    border: 1px solid #d9e1db;
}

.usuarios-modal-cancel:hover {
    background: #f5f7f5;
}

.usuarios-modal-confirm {
    color: #fff;
    background: #237a3b;
    border: 1px solid #237a3b;
    box-shadow: 0 3px 9px rgba(35, 122, 59, .2);
}

.usuarios-modal-confirm:hover {
    background: #175c2b;
}

.usuarios-modal-confirm i {
    font-size: 17px;
}

.usuarios-modal-confirm.is-loading i {
    animation: usuariosPulse 1s infinite;
}

.usuarios-modal-open {
    overflow: hidden;
}

@keyframes usuariosFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes usuariosModalIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes usuariosPulse {
    50% { opacity: .4; }
}

@media (max-width: 900px) {
    .usuarios-advanced-filters {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .usuarios-sort-hint {
        display: none;
    }
}

@media (max-width: 600px) {
    body.usuarios-mobile-page #rightPanel {
        width: calc(100% - 6rem) !important;
        margin-left: 6rem !important;
        padding-left: 10px !important;
        padding-right: 8px !important;
    }

    .usuarios-page {
        padding: 20px 0 32px;
    }

    .usuarios-page-header {
        margin-bottom: 18px;
    }

    .usuarios-header-icon {
        display: none;
    }

    .usuarios-toolbar {
        padding: 12px;
        border-radius: 13px;
    }

    .usuarios-search-row {
        flex-wrap: wrap;
    }

    .usuarios-main-search {
        flex-basis: 100%;
    }

    .usuarios-filter-toggle {
        flex: 1;
    }

    .usuarios-clear-btn span {
        display: none;
    }

    .usuarios-advanced-filters {
        grid-template-columns: 1fr;
    }

    .usuarios-results-card {
        border-radius: 13px;
    }

    .usuarios-results-header {
        min-height: 62px;
        padding: 12px 14px;
    }

    .usuarios-results-header > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .usuarios-modal-card {
        padding: 24px 20px 20px;
        border-radius: 16px;
    }

    .usuarios-modal-actions {
        flex-direction: column-reverse;
    }

    .usuarios-modal-cancel,
    .usuarios-modal-confirm {
        width: 100%;
    }
}

.cm-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.cm-toolbar-row .usuarios-filter-field {
    min-width: 280px;
}

.cm-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 56px 24px;
    color: var(--usuarios-muted, #66736a);
    text-align: center;
}

.cm-empty-state i {
    font-size: 40px;
    color: #b7c2bb;
}

.cm-empty-state strong {
    color: var(--usuarios-ink, #17221b);
    font-size: .95rem;
}

.cm-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    padding: 18px;
}

.cm-master-card,
.cm-access-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--usuarios-line, #e3eae5);
    border-radius: 14px;
    transition: box-shadow .18s, border-color .18s;
}

.cm-master-card:hover,
.cm-access-card:hover {
    border-color: #c7dccc;
    box-shadow: 0 8px 20px rgba(28, 53, 36, .08);
}

.cm-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.cm-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.cm-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--usuarios-muted, #66736a);
    font-size: .74rem;
}

.cm-card-meta i {
    font-size: 15px;
}

.cm-toggle-btn {
    height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #d9e1db;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .16s, border-color .16s, color .16s;
}

.cm-toggle-btn.is-ativar {
    color: #175c2b;
}

.cm-toggle-btn.is-ativar:hover {
    background: var(--usuarios-green-soft, #edf8f0);
    border-color: #a9d6b6;
}

.cm-toggle-btn.is-desativar {
    color: #a13a1f;
}

.cm-toggle-btn.is-desativar:hover {
    background: #fdeee9;
    border-color: #eab7a4;
}

.cm-assoc-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

.cm-assoc-search {
    position: relative;
    min-width: 260px;
    flex: 1 1 320px;
}

.cm-assoc-search i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    color: #768279;
    font-size: 21px;
    transform: translateY(-50%);
    pointer-events: none;
}

.cm-assoc-search input[type="search"] {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 46px;
    color: var(--usuarios-ink, #17221b);
    background: #f8faf8;
    border: 1px solid #dce4de !important;
    border-radius: 11px !important;
    box-shadow: none !important;
    font-size: .91rem;
}

.cm-assoc-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    color: var(--usuarios-green-dark, #175c2b);
    background: var(--usuarios-green-soft, #edf8f0);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
}

.cm-assoc-group {
    padding: 0 18px 18px;
}

.cm-assoc-group + .cm-assoc-group {
    padding-top: 4px;
}

.cm-assoc-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0 10px;
    color: var(--usuarios-muted, #66736a);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-top: 1px solid var(--usuarios-line, #e3eae5);
}

.cm-assoc-group:first-child .cm-assoc-group-title {
    border-top: 0;
}

.cm-assoc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background .15s;
}

.cm-assoc-row:hover {
    background: #f7faf7;
}

.cm-assoc-row.is-hidden {
    display: none;
}

.cm-assoc-save-bar {
    position: sticky;
    bottom: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--usuarios-line, #e3eae5);
    border-radius: 16px;
    box-shadow: 0 7px 24px rgba(28, 53, 36, .06);
}

.cm-assoc-save-hint {
    color: var(--usuarios-muted, #66736a);
    font-size: .8rem;
    margin-right: auto;
}

@media (max-width: 640px) {
    .cm-card-grid {
        grid-template-columns: 1fr;
    }

    .cm-assoc-header,
    .cm-assoc-save-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================================
   Gestão de Valores de Referência (ECS-34) — prefixo "vr-".
   Reaproveita as variáveis/cards/modal/status já definidos por
   .usuarios-page acima; aqui só o que é específico desta tela:
   navegação por abas, badges de rascunho e a célula de diff
   valor anterior → novo.
   ============================================================ */

.vr-nav {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    padding: 5px;
    background: var(--usuarios-surface, #fff);
    border: 1px solid var(--usuarios-line, #e3eae5);
    border-radius: 13px;
    box-shadow: 0 7px 24px rgba(28, 53, 36, .06);
}

.vr-nav a {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    color: var(--usuarios-muted, #66736a);
    border-radius: 9px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .16s, color .16s;
}

.vr-nav a i {
    font-size: 18px;
}

.vr-nav a:hover {
    color: var(--usuarios-green-dark, #175c2b);
    background: #f2f7f3;
}

.vr-nav a.is-active {
    color: #fff;
    background: var(--usuarios-green, #237a3b);
}

.vr-nav a .vr-nav-badge {
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    color: var(--usuarios-green-dark, #175c2b);
    background: #fff;
    border-radius: 9px;
    font-size: .68rem;
}

.vr-nav a.is-active .vr-nav-badge {
    color: var(--usuarios-green-dark, #175c2b);
    background: #fff;
}

.vr-diff {
    display: flex;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.vr-diff-old {
    color: #97a099;
    text-decoration: line-through;
}

.vr-diff-arrow {
    color: #97a099;
    font-size: 16px;
}

.vr-diff-new {
    color: #1f2c23;
    font-weight: 750;
}

.vr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 12px;
    font-size: .7rem;
    font-weight: 700;
}

.vr-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.vr-badge-pendente {
    color: #9a6b0a;
    background: #fff6e5;
}

.vr-badge-pendente i {
    background: #e0a319;
}

.vr-badge-confirmado {
    color: #23743a;
    background: #ebf7ee;
}

.vr-badge-confirmado i {
    background: #34a853;
}

.vr-badge-descartado {
    color: #717a73;
    background: #f0f2f1;
}

.vr-badge-descartado i {
    background: #929b94;
}

.vr-badge-criacao,
.vr-badge-importacao {
    color: #2b6b9a;
    background: #eaf4fb;
}

.vr-badge-edicao {
    color: #9a6b0a;
    background: #fff6e5;
}

.vr-badge-exclusao {
    color: #a23b3b;
    background: #fdecec;
}

.vr-empty {
    padding: 48px 20px;
    color: #79847c;
    font-size: .86rem;
    text-align: center;
}

.vr-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 16px;
}

.vr-form-grid .vr-field-full {
    grid-column: 1 / -1;
}

.vr-field label {
    display: block;
    margin: 0 0 6px;
    color: #59675d;
    font-size: .72rem;
    font-weight: 700;
}

.vr-field select,
.vr-field input[type="text"],
.vr-field input[type="number"] {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    color: #26332a;
    background: #fff;
    border: 1px solid #d9e2db !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    font-size: .85rem;
}

.vr-field select:focus,
.vr-field input:focus {
    border-color: #61a472 !important;
    box-shadow: 0 0 0 3px rgba(35, 122, 59, .1) !important;
}

.vr-upload-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 48px 20px;
    color: var(--usuarios-muted, #66736a);
    text-align: center;
    background: #f8faf8;
    border: 2px dashed #d9e2db;
    border-radius: 16px;
}

.vr-upload-drop i {
    font-size: 40px;
    color: var(--usuarios-green, #237a3b);
}

.vr-upload-drop strong {
    color: #26332a;
    font-size: .95rem;
}

.vr-table .tabulator-header {
    color: #68746b;
    background: #fafbfa;
    border-bottom: 1px solid #e6ebe7;
    font-size: .71rem;
    font-weight: 750;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.vr-table .tabulator-row {
    min-height: 60px;
    background: #fff;
    border-bottom: 1px solid #edf0ee;
}

.vr-table .tabulator-row:nth-child(even) {
    background: #fcfdfc;
}

.vr-table .tabulator-row.tabulator-selectable:hover {
    background: #f7faf8 !important;
}

.vr-table .tabulator-cell {
    display: inline-flex;
    align-items: center;
    padding: 11px 14px;
    overflow: hidden;
    white-space: normal;
}

.vr-table .tabulator-footer {
    padding: 10px 14px;
    color: #657168;
    background: #fff;
    border-top: 0;
}

.vr-table .tabulator-page {
    min-width: 31px;
    height: 31px;
    margin: 0 2px !important;
    padding: 0 9px !important;
    color: #526057;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: .72rem;
    font-weight: 650;
}

.vr-table .tabulator-page:not(:disabled):hover {
    color: var(--usuarios-green-dark, #175c2b) !important;
    background: var(--usuarios-green-soft, #edf8f0) !important;
    cursor: pointer;
}

.vr-table .tabulator-page.active {
    color: #fff !important;
    background: var(--usuarios-green, #237a3b) !important;
}

.vr-table .tabulator-placeholder span {
    padding: 40px 20px;
    color: #79847c;
    font-size: .86rem;
}


/* green = período de teste; red = pagamento em atraso (avisos de assinatura no cabeçalho) */
.header-access-chip--green > summary { color: #d9f5db; background: rgba(76, 175, 80, .2); border: 1px solid rgba(129, 199, 132, .5); }
.header-access-chip--green[open] > summary, .header-access-chip--green > summary:hover { background: rgba(76, 175, 80, .32); }
.header-access-chip--green .header-access-chip-panel { color: #1b3d1f; border: 1px solid #bfdcbb; }
.header-access-chip--green .header-access-chip-panel span { color: #3f6a43; }
.header-access-chip--green .header-access-chip-panel-btn { color: #fff; background: #2e7d32; border: 1px solid #2e7d32; }
.header-access-chip--green .header-access-chip-panel-btn:hover, .header-access-chip--green .header-access-chip-panel-btn:focus-visible { background: #256628; }

.header-access-chip--red > summary { color: #ffd9d4; background: rgba(244, 67, 54, .22); border: 1px solid rgba(255, 138, 128, .55); }
.header-access-chip--red[open] > summary, .header-access-chip--red > summary:hover { background: rgba(244, 67, 54, .34); }
.header-access-chip--red .header-access-chip-panel { color: #5a1510; border: 1px solid #f2c4bd; }
.header-access-chip--red .header-access-chip-panel span { color: #8e3a33; }
.header-access-chip--red .header-access-chip-panel-btn { color: #fff; background: #b3261e; border: 1px solid #b3261e; }
.header-access-chip--red .header-access-chip-panel-btn:hover, .header-access-chip--red .header-access-chip-panel-btn:focus-visible { background: #94201a; }

/* botão-link dentro do painel do aviso */
a.header-access-chip-panel-btn { text-decoration: none; }
.header-access-chip--amber a.header-access-chip-panel-btn { color: #674d08; background: #fff8df; border: 1px solid #d6b95c; }
