.jv-vg [hidden] {
    display: none !important;
}

.jv-vg button {
    font-family: inherit;
}

.jv-vg button:focus-visible,
.jv-vg a:focus-visible {
    outline: 3px solid var(--jv-mark);
    outline-offset: 2px;
}

.jv-vg-topo {
    background: var(--jv-white);
}

.jv-vg-topo__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 20px;
}

.jv-vg-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jv-filtro {
    position: relative;
}

.jv .jv-filtro__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    margin: 0;
    border: 0;
    box-shadow: var(--jv-shadow-sm);
    border-radius: 999px;
    padding: 0 16px;
    background: var(--jv-white);
    color: var(--jv-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.2s ease;
}

.jv .jv-filtro__btn:hover {
    box-shadow: var(--jv-shadow-hover-sm);
}

.jv-filtro__btn svg {
    transition: transform 0.15s;
}

.jv-filtro.is-aberto .jv-filtro__btn svg {
    transform: rotate(180deg);
}

.jv .jv-filtro.is-ativo .jv-filtro__btn,
.jv .jv-filtro__salvas[aria-pressed="true"] {
    border-color: var(--jv-ink);
    background: var(--jv-ink);
    color: var(--jv-white);
}

.jv-filtro__qtd {
    min-width: 20px;
    border-radius: 999px;
    padding: 3px 6px;
    background: #f3f4f6;
    color: var(--jv-ink);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.jv-filtro__salvas[aria-pressed="false"] svg {
    color: var(--jv-muted);
}

.jv-filtro__painel {
    right: auto;
    min-width: 220px;
}

.jv .jv-filtro__painel button {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 10px 36px 10px 12px;
    background: none;
    color: var(--jv-text);
    font-size: 15px;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.jv .jv-filtro__painel button:hover,
.jv .jv-filtro__painel button:focus-visible {
    outline: none;
    background: #f2f4f7;
    color: var(--jv-ink);
}

.jv .jv-filtro__painel button[aria-pressed="true"] {
    color: var(--jv-ink);
    font-weight: 700;
}

.jv-filtro__painel button[aria-pressed="true"]::after,
.jv-ac__lista li[aria-selected="true"]::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat;
}

.jv-vg-res {
    background: #f9fafb;
}

.jv-vg__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
    padding-top: 24px;
    padding-bottom: 72px;
}

.jv-vg__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    grid-column: span 5;
    scroll-margin-top: 88px;
}

.jv-vg__grid:has(.jv-vg__det[hidden]) .jv-vg__col {
    grid-column: 1 / -1;
}

.jv .jv-vg__cv {
    font-size: 15px;
    color: var(--jv-ink);
}

.jv .jv-vg__cv strong {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.jv .jv-vg__cv:hover strong {
    text-decoration-thickness: 2px;
}

.jv-vg__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.jv-vg__titulo {
    font-size: 15px;
    color: var(--jv-muted);
}

.jv-vg__titulo strong {
    color: var(--jv-ink);
}

.jv-vg__ordem {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--jv-muted);
}

.jv-vg__head.is-salvas .jv-vg__ordem {
    display: none;
}

.jv .jv-vg__ordem button {
    margin: 0;
    border: 0;
    padding: 0;
    background: none;
    color: var(--jv-muted);
    font-size: 14px;
    cursor: pointer;
}

.jv .jv-vg__ordem button:hover {
    color: var(--jv-ink);
    text-decoration: underline;
}

.jv .jv-vg__ordem button[aria-pressed="true"] {
    color: var(--jv-ink);
    font-weight: 700;
}

.jv-vg__aviso {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 0;
    box-shadow: var(--jv-shadow);
    border-radius: 12px;
    padding: 48px 24px;
    background: var(--jv-white);
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jv-vg__aviso-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f3f4f6;
    color: var(--jv-ink);
}

.jv-vg.is-buscando .jv-vg__aviso-icon {
    animation: jv-vg-pulsa 1s ease-in-out infinite;
}

@keyframes jv-vg-pulsa {
    50% { opacity: 0.4; }
}

.jv-vg__aviso strong {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.jv-vg__aviso > span {
    max-width: 460px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--jv-muted);
}

.jv-vg__aviso .jv-alta {
    margin-top: 18px;
}

.jv-vg__locais {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.jv .jv-vg__locais button {
    height: 38px;
    margin: 0;
    border: 0;
    box-shadow: var(--jv-shadow-sm);
    border-radius: 999px;
    padding: 0 16px;
    background: var(--jv-white);
    color: var(--jv-ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.jv .jv-vg__locais button:hover {
    box-shadow: var(--jv-shadow-hover-sm);
}

.jv-vg__itens {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jv-vg__itens:empty {
    display: none;
}

.jv-vg.is-buscando .jv-vg__itens {
    opacity: 0.5;
    pointer-events: none;
}

.jv-vg__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border: 0;
    box-shadow: var(--jv-shadow);
    border-radius: 12px;
    padding: 18px 20px;
    background: var(--jv-white);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jv-vg__card:hover {
    box-shadow: var(--jv-shadow-hover);
    transform: translateY(-2px);
}

.jv-vg__card.is-sel {
    box-shadow: 0 0 0 2px var(--jv-ink), var(--jv-shadow-hover);
}

.jv-vg__card-top {
    display: flex;
    justify-content: space-between;
    align-self: stretch;
    gap: 12px;
}

.jv-vg__card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.jv .jv-vg__card-abrir {
    margin: 0;
    border: 0;
    padding: 0;
    background: none;
    color: var(--jv-ink);
    font: inherit;
    letter-spacing: inherit;
    text-align: left;
    cursor: pointer;
}

.jv-vg__card-abrir::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
}

.jv .jv-vg__card-abrir:focus-visible {
    outline: none;
}

.jv-vg__card:has(.jv-vg__card-abrir:focus-visible) {
    outline: 3px solid var(--jv-mark);
    outline-offset: 2px;
}

.jv .jv-vg__salvar {
    position: relative;
    z-index: 1;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    border: 0;
    box-shadow: var(--jv-shadow-sm);
    border-radius: 8px;
    padding: 0;
    background: var(--jv-white);
    color: var(--jv-muted);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.jv .jv-vg__salvar:hover {
    color: var(--jv-ink);
    box-shadow: var(--jv-shadow-hover-sm);
}

.jv .jv-vg__salvar[aria-pressed="true"] {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #e11d48;
}

.jv-vg__salvar[aria-pressed="true"] svg {
    fill: currentColor;
}

.jv .jv-vg__salvar--lg {
    width: 48px;
    height: 48px;
    border-color: #d1d5db;
    border-radius: 10px;
    color: var(--jv-ink);
}

.jv-vg__empresa {
    font-size: 15px;
    color: var(--jv-ink);
}

.jv-vg__local {
    font-size: 14px;
    color: var(--jv-muted);
}

.jv-vg__salario {
    border-radius: 6px;
    padding: 4px 10px;
    background: #f3f4f6;
    font-size: 13px;
    font-weight: 700;
    color: var(--jv-ink);
}

.jv-vg__meta {
    font-size: 13px;
    color: var(--jv-muted);
}

.jv-vg__pag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-top: 8px;
}

.jv .jv-vg__pag a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    margin: 0;
    border: 0;
    box-shadow: var(--jv-shadow-sm);
    border-radius: 8px;
    padding: 0 10px;
    background: var(--jv-white);
    color: var(--jv-ink);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.jv .jv-vg__pag a:hover {
    box-shadow: var(--jv-shadow-hover-sm);
}

.jv .jv-vg__pag a[aria-current="page"] {
    border-color: var(--jv-ink);
    background: var(--jv-ink);
    color: var(--jv-white);
}

.jv-vg__pag > span {
    min-width: 24px;
    color: var(--jv-muted);
    font-weight: 700;
    text-align: center;
}

.jv-vg__fonte {
    font-size: 13px;
    line-height: 1.5;
    color: var(--jv-muted);
}

.jv-vg__det {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    grid-column: span 7;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    box-shadow: var(--jv-shadow);
    border-radius: 12px;
    background: var(--jv-white);
    scrollbar-width: thin;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-bar .jv-vg__det {
    top: 128px;
    max-height: calc(100vh - 152px);
}

.jv-vg__det:focus {
    outline: none;
}

.jv .jv-vg__voltar {
    display: none;
}

.jv-vg__det-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #e5e7eb;
    padding: 24px 28px;
}

.jv-vg__det h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--jv-ink);
}

.jv-vg__det-empresa {
    font-size: 16px;
    color: var(--jv-ink);
}

.jv-vg__det-linha {
    font-size: 15px;
    color: var(--jv-muted);
}

.jv-vg__det-acoes {
    display: flex;
    gap: 10px;
    padding-top: 6px;
}

.jv a.jv-vg__candidatar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    border-radius: 10px;
    padding: 0 22px;
    background: var(--jv-ink);
    color: var(--jv-white);
    font-size: 16px;
    font-weight: 700;
    transition: background 0.15s;
}

.jv a.jv-vg__candidatar:hover {
    background: var(--jv-ink-2);
}

.jv-vg__det-corpo {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 28px 28px;
}

.jv-vg__det h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--jv-ink);
}

.jv-vg__dados {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jv-vg__dados dl {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.jv-vg__dados dl > div {
    display: flex;
    gap: 12px;
    font-size: 15px;
}

.jv-vg__dados dt {
    flex-shrink: 0;
    width: 120px;
    color: var(--jv-muted);
    font-weight: 400;
}

.jv-vg__dados dd {
    margin: 0;
    font-weight: 700;
    color: var(--jv-ink);
}

.jv-vg__desc {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #e5e7eb;
    padding-top: 18px;
}

.jv-vg__desc p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--jv-ink);
    overflow-wrap: anywhere;
}

.jv-vg__desc > span {
    font-size: 14px;
    color: var(--jv-muted);
}

.jv-vg__cuidado {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 10px;
    padding: 18px 20px;
    background: #f3f4f6;
}

.jv-vg__cuidado strong {
    font-size: 15px;
    color: var(--jv-ink);
}

.jv-vg__cuidado span {
    font-size: 14px;
    line-height: 1.6;
    color: var(--jv-muted);
}

.jv-vg__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jv .jv-vg__links a {
    display: inline-flex;
    align-items: center;
    height: 42px;
    border: 0;
    box-shadow: var(--jv-shadow-sm);
    border-radius: 10px;
    padding: 0 16px;
    color: var(--jv-ink);
    font-size: 14px;
    font-weight: 700;
    transition: box-shadow 0.2s ease;
}

.jv .jv-vg__links a:hover {
    box-shadow: var(--jv-shadow-hover-sm);
}

@media (max-width: 1100px) {
    .jv-vg__col {
        grid-column: span 6;
    }

    .jv-vg__det {
        grid-column: span 6;
    }

    .jv-vg__det-acoes {
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .jv-vg__col {
        grid-column: 1 / -1;
    }

    .jv-vg__det,
    .admin-bar .jv-vg__det {
        display: none;
    }

    .jv-vg__det.is-aberto,
    .admin-bar .jv-vg__det.is-aberto {
        position: fixed;
        inset: 0;
        z-index: 100000;
        display: flex;
        max-height: none;
        border: 0;
        border-radius: 0;
    }

    .jv .jv-vg__det.is-aberto .jv-vg__voltar {
        position: sticky;
        top: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        height: 56px;
        margin: 0;
        border: 0;
        border-bottom: 1px solid #e5e7eb;
        padding: 0 16px;
        background: var(--jv-white);
        color: var(--jv-ink);
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
    }

    html.jv-vg-travado,
    html.jv-vg-travado body {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    .jv-vg-topo__inner {
        padding-top: 16px;
        padding-bottom: 14px;
    }

    .jv-vg-filtros {
        flex-wrap: nowrap;
        margin: 0 -16px;
        overflow-x: auto;
        padding: 0 16px 4px;
        scrollbar-width: none;
    }

    .jv-vg-filtros::-webkit-scrollbar {
        display: none;
    }

    .jv-filtro__painel {
        position: fixed;
        top: auto;
        bottom: 12px;
        left: 12px;
        right: 12px;
        min-width: 0;
    }

    .jv-vg__head {
        flex-direction: column;
        gap: 4px;
    }

    .jv-vg__card {
        padding: 16px;
    }

    .jv-vg__det-head,
    .jv-vg__det-corpo {
        padding-right: 16px;
        padding-left: 16px;
    }

    .jv-vg__det h2 {
        font-size: 24px;
    }

    .jv a.jv-vg__candidatar {
        flex: 1;
        justify-content: center;
        padding: 0 16px;
    }

    .jv-vg__dados dt {
        width: 96px;
    }
}
