div.subscription-domains table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

div.subscription-domains table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

div.subscription-domains table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
}

div.subscription-domains table th,
div.subscription-domains table td {
    padding: .625em;
    text-align: center;
}

div.subscription-domains table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

div.subscription-domains table thead tr th:first-child, div.subscription-domains table tbody tr td:first-child {
    width: 70px;
}

div.subscription-domains table thead tr th:nth-child(3), div.subscription-domains table tbody tr td:nth-child(3) {
    width: 100px;
}

button.button.button-small {
    font-size: 14px;
    font-weight: 400;
    padding: 4px 6px;
    margin: 4px 4px 0 0;
}

@media screen and (max-width: 600px) {
    div.subscription-domains table {
        border: 0;
    }

    div.subscription-domains table caption {
        font-size: 1.3em;
    }

    div.subscription-domains table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    div.subscription-domains table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    div.subscription-domains table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    div.subscription-domains table td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    div.subscription-domains table td:last-child {
        border-bottom: 0;
    }

    button.button.button-small {
        margin: 0 4px 0 0;
    }
}
