.commands-list {
    width: var(--site-width);
    margin: 0 auto;
}

.chatter-commands {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-align: left;
}

.chatter-commands > h2 {
    margin: 0 0 16px;
    padding: 18px;
    color: var(--site-text);
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    box-shadow: var(--site-card-shadow);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.tables-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.commands-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--site-text);
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    box-shadow: var(--site-card-shadow);
}

.commands-table:last-child {
    grid-column: 1 / -1;
}

.commands-table caption {
    min-height: 64px;
    padding: 16px 18px;
    caption-side: top;
    color: var(--site-text);
    background: var(--site-surface);
    border: 0;
    border-bottom: 1px solid #353535;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

.commands-table thead th {
    padding: 10px 14px;
    color: var(--site-muted);
    background: #131313;
    border: 0;
    border-bottom: 1px solid #353535;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-align: left;
    vertical-align: top;
}

.commands-table td {
    padding: 12px 14px;
    color: #dddddd;
    background: #191919;
    border: 0;
    border-bottom: 1px solid #303030;
    font-size: 0.84rem;
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.commands-table td:first-child {
    width: 38%;
    color: var(--site-text);
    background: #1d1d1d;
    font-weight: 700;
}

.commands-table tbody tr:last-child td {
    border-bottom: 0;
}

.commands-table tbody tr:hover td {
    background: var(--site-surface-hover);
}

@media (max-width: 950px) {
    .tables-wrap {
        grid-template-columns: 1fr;
    }

    .commands-table:last-child {
        grid-column: 1;
    }
}

@media (max-width: 520px) {
    .chatter-commands > h2 {
        padding: 15px;
    }

    .commands-table caption {
        min-height: 56px;
        padding: 14px;
    }

    .commands-table thead th,
    .commands-table td {
        padding: 10px 9px;
        font-size: 0.74rem;
    }
}
