html {
    background-color: #fff;
}
main {
    padding: 20px;
    padding-top: 0;
}
main p {

}


/* System Table */

.system-grid {
    width: 100%;
    margin: 1em 0;
    /* border-left: 1px solid #ddd; */
    background-color: #f8f8f8;
}

.grid-header {
    display: grid;
    grid-template-columns: .5fr .5fr 2fr;
    gap: 0;
    background-color: #f8f8f8;
    border-bottom: 1px solid #cacaca;
    font-weight: normal;
    background-color: #efefef;
    text-transform: lowercase;
}

.grid-header > div {
    padding: 6px;
    border-right: 1px solid #cacaca;
}

.grid-header > div:last-child {
    border-right: none;
}

.grid-row {
    display: grid;
    grid-template-columns: .5fr .5fr 2fr;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid #cacaca;
    white-space: nowrap;
    text-transform: lowercase;
}

.grid-row > div {
    padding: 6px;
    border-right: 1px solid #cacaca;
}

.grid-row > div:last-child {
    border-right: none;
}

.grid-row:hover {
    background-color: #f8f8f8;
}

/* Preserve existing styling for these elements */
.system-grid .color-block {
    display: block;
    width: 10px;
    height: 10px;
}
.system-grid .children {
    display: flex;
    flex-flow: column wrap;
    gap: 10px;
}
.system-grid .children .child {
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
}
.system-grid details {
    width: 100%;
}
.system-grid details summary {
    text-transform: lowercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: #eaeaea;
    padding: 2px 4px;
    flex-flow: row wrap;
    gap: 6px;
    max-width: max-content;
}
.system-grid details .child-definition {
    font-size: 12px;
    background-color: #efefef;
    padding: 4px;
    width: 50%;
    margin-top: 4px;
    margin-bottom: 12px;
    min-height: 80px;
}

@media (max-width: 642px) {
    nav, main {
        padding: 10px;
    }
    nav {
        line-height: 22px;
        margin-bottom: 22px;
    }
}