
table {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 100%;
    font: inherit;
}

table th {
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 6px 13px;
}

table td {
    border: 1px solid #ccc;
    padding: 6px 13px;
}

table tr {
    border-top: 1px solid #ccc;
    background-color: #fff;
}

table tr:nth-child(2n) {
    background-color: #f8f8f8;
}

td {
    text-align: left;
}

:root {
    scroll-behavior: smooth;
    --levelaa-color: rgb(0, 185, 93);
    --levelaaa-color: rgb(0, 132, 255);
}

.hide {
    display: none;
}

.show {
    display: block;
}

.levelaa {
    outline: 2px solid var(--levelaa-color);
    outline-offset: -3px;
}

.levelaaa {
    outline: 2px solid  var(--levelaaa-color);
    outline-offset: -3px;
}

.levelaa::after,
.levelaaa::after {
    display: grid;
    writing-mode: vertical-lr;
    height: 100px;
    width: 20px;
    padding: 20px 0 10px;
    color: white;
    font-weight: 700;
    font-family: sans-serif;
    font-size: 80%;
}

.levelaa::after {
    content: "LEVEL AA";
    outline: 1px solid  var(--levelaa-color);
    background-color: var(--levelaa-color);
}

.levelaaa::after {
    content: "LEVEL AAA";
    outline: 1px solid  var(--levelaaa-color);
    background-color: var(--levelaaa-color);
}

.levelswitch-hide {
    display: inline-block;
}

.levelswitch-show {
    display: none;
}

.is-hidden .levelswitch-hide {
    display: none;
}

.is-hidden .levelswitch-show {
    display: inline-block;
}

button[data-level] {
    color: white;
    -webkit-appearance: none;
    border: none;
    padding: 6px 16px;
    border-radius: 5px;
    cursor: pointer;
}

button[data-level="AA"] {
    background-color: var(--levelaa-color);
}

button[data-level="AAA"] {
    background-color: var(--levelaaa-color);
}
