#atlas-evidence:has(.evidence-heading) {
    padding: var(--space-md);
}

#atlas-evidence .evidence-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

#atlas-evidence .evidence-heading h2 {
    font-size: var(--font-size-lg);
}

#atlas-evidence .evidence-search {
    justify-content: flex-start;
    margin-top: var(--space-sm);
}

#atlas-evidence .evidence-search label {
    flex: 1 1 18rem;
    min-width: 0;
    font-size: var(--font-size-sm);
}

#atlas-evidence .evidence-search input {
    box-sizing: border-box;
    width: 100%;
    max-width: 30rem;
}

#atlas-evidence .evidence-shared {
    margin: var(--space-sm) 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

#atlas-evidence .evidence-search + .evidence-shared[hidden] {
    display: none;
}

#atlas-evidence .evidence-visible-count {
    flex: 1 1 12rem;
    margin: 0;
    font-size: var(--font-size-sm);
}
#atlas-evidence .evidence-close {
    display: grid;
    place-items: center;
    min-block-size: 44px;
    min-inline-size: 44px;
    font-size: 1.5rem;
}
#atlas-evidence .evidence-table td {
    border-block-end: 0;
}
#atlas-evidence .evidence-table tr:focus-within,
#atlas-evidence .evidence-table tbody tr:hover {
    background: var(--project-surface, var(--color-bg-light));
}
#atlas-evidence :is(.evidence-downloads button, .evidence-table td button) {
    min-block-size: 44px;
}

@media (max-width: 480px) {
    #atlas-evidence table[data-has-place="false"][data-has-edition="false"] th:first-child {
        width: 27%;
    }
    #atlas-evidence table[data-has-place="false"][data-has-edition="false"] th:nth-child(2) {
        width: 73%;
    }
    #atlas-evidence .evidence-table :is(th, td) {
        display: table-cell;
    }

    #atlas-evidence .evidence-table th,
    #atlas-evidence .evidence-table td {
        padding: var(--space-xs);
    }
}
