@layer reset {
    html[data-ds] {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        hanging-punctuation: first last;
    }

    :where(html[data-ds]) *,
    :where(html[data-ds]) *::before,
    :where(html[data-ds]) *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        border: 0 solid;
    }

    :where(html[data-ds]) :is(img, picture, svg, video, canvas) {
        display: block;
        max-width: 100%;
    }

    :where(html[data-ds]) :is(img, video) {
        height: auto;
    }

    :where(html[data-ds]) :is(input, button, textarea, select) {
        font: inherit;
        color: inherit;
        letter-spacing: inherit;
        background: none;
    }

    :where(html[data-ds]) button {
        cursor: pointer;
    }

    :where(html[data-ds]) :is(ul, ol)[role="list"] {
        list-style: none;
    }

    :where(html[data-ds]) :is(h1, h2, h3, h4, h5, h6, p) {
        overflow-wrap: break-word;
    }

    :where(html[data-ds]) :is(h1, h2, h3, h4, h5, h6) {
        text-wrap: balance;
    }

    :where(html[data-ds]) p {
        text-wrap: pretty;
    }

    :where(html[data-ds]) table {
        border-collapse: collapse;
    }

    :where(html[data-ds]) [hidden] {
        display: none !important;
    }
}
