.wrap {
    width: min(var(--content-width), calc(100% - 2rem));
    margin-inline: auto;
}

@media (min-width: 48rem) {
    .wrap {
        width: min(var(--content-width), calc(100% - 3rem));
    }
}

.narrow {
    width: min(30rem, calc(100% - 2rem));
}

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

.table-scroll {
    overflow-x: auto;
    max-width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    -webkit-overflow-scrolling: touch;
}

.table-scroll table {
    width: 100%;
    min-width: 34rem;
    margin: 0;
}

.stack > * + * {
    margin-top: var(--space-4);
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
}

.icon--sm {
    width: 1rem;
    height: 1rem;
}

.icon--lg {
    width: 1.5rem;
    height: 1.5rem;
}

.nowrap {
    white-space: nowrap;
}
