.tpta-overview {
    --tpta-green: #075435;
    --tpta-paper: #faf9f4;
    color: #183429;
    background: var(--tpta-paper);
    padding-bottom: 1.5rem;
}
.tpta-overview [hidden] { display: none !important; }
.tpta-overview-controls,
.tpta-overview .tpta-overview-grid,
.tpta-overview > p {
    margin: 1rem clamp(.75rem, 3vw, 2rem) 0;
}
.tpta-overview-search { display: grid; gap: .3rem; font-weight: 600; }
.tpta-overview-search input {
    box-sizing: border-box;
    width: 100%;
    padding: .7rem .9rem;
    border: 1px solid #8b9c92;
    border-radius: .5rem;
    background: #fff;
    color: #183429;
    font: inherit;
}
.tpta-overview-groups { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.tpta-overview-groups button {
    cursor: pointer;
    border: 1px solid #c3cdc5;
    border-radius: .5rem;
    padding: .45rem .9rem;
    background: #fff;
    color: #183429;
    font: inherit;
    font-weight: 600;
}
.tpta-overview-groups button[aria-pressed="true"] { background: var(--tpta-green); color: #fff; }
.tpta-overview .tpta-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
    list-style: none;
    padding: 0;
}
.tpta-overview-grid li { margin: 0; }
.tpta-overview-grid a {
    display: block;
    overflow: hidden;
    height: 100%;
    border: 1px solid #e1e7df;
    border-radius: .65rem;
    background: #fff;
    color: inherit;
    text-decoration: none;
}
.tpta-overview-photo { aspect-ratio: 4 / 3; background: #e2ebe3; }
.tpta-overview-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tpta-overview-caption {
    display: flex;
    justify-content: space-between;
    gap: .4rem;
    padding: .65rem;
    overflow-wrap: anywhere;
    font-weight: 700;
}
.tpta-overview-caption span:last-child { color: var(--tpta-green); }
.tpta-overview :focus-visible { outline: 2px solid var(--tpta-green); outline-offset: 2px; }
.tpta-overview-status:empty { margin: 0; }
@media (max-width: 720px) {
    .tpta-overview .tpta-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
