.xs2h-wrapper {
    --xs2h-border: #dcdcde;
    --xs2h-muted: #646970;
    --xs2h-surface: #f6f7f7;
    margin: 1.5rem 0;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.55;
}

.xs2h-search-wrap {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.xs2h-search {
    flex: 1 1 18rem;
    min-height: 2.75rem;
    padding: .55rem .8rem;
    color: inherit;
    background: transparent;
    border: 1px solid var(--xs2h-border);
    border-radius: .375rem;
}

.xs2h-search:focus-visible,
.xs2h-table-scroll:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.xs2h-count {
    color: var(--xs2h-muted);
    font-size: .875rem;
    white-space: nowrap;
}

.xs2h-wrapper .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.xs2h-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.xs2h-list .xs2h-item {
    margin: 0;
    padding: .65rem 0;
    border-bottom: 1px solid var(--xs2h-border);
}

.xs2h-list .xs2h-item:first-child {
    border-top: 1px solid var(--xs2h-border);
}

.xs2h-item[hidden] {
    display: none !important;
}

.xs2h-item a {
    text-underline-offset: .15em;
}

.xs2h-url,
.xs2h-lastmod {
    margin-top: .15rem;
    color: var(--xs2h-muted);
    font-size: .8125rem;
    overflow-wrap: anywhere;
}

.xs2h-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    border-radius: .375rem;
}

.xs2h-table {
    width: 100%;
    min-width: 32rem;
    margin: 0;
    border-collapse: collapse;
}

.xs2h-table th,
.xs2h-table td {
    padding: .65rem .75rem;
    text-align: left;
    vertical-align: top;
    border: 1px solid var(--xs2h-border);
}

.xs2h-table th {
    font-weight: 600;
    background: var(--xs2h-surface);
}

.xs2h-table .xs2h-url,
.xs2h-table .xs2h-lastmod {
    margin-top: 0;
}

.xs2h-message {
    padding: .75rem 1rem;
    border-left: 4px solid currentColor;
}

@media (prefers-reduced-motion: no-preference) {
    .xs2h-search {
        transition: border-color .15s ease, box-shadow .15s ease;
    }
}
