.danger-zone {
    background: rgba(255, 255, 255, .72);
}

.table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.admin-wide-panel {
    width: min(1440px, calc(100vw - 36px));
    margin-left: 50%;
    transform: translateX(-50%);
}

.admin-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.admin-users-table {
    min-width: 1180px;
    table-layout: fixed;
}

.admin-users-table th:nth-child(1),
.admin-users-table td:nth-child(1) {
    width: 64px;
}

.admin-users-table th:nth-child(2),
.admin-users-table td:nth-child(2) {
    width: 260px;
}

.admin-users-table th:nth-child(3),
.admin-users-table td:nth-child(3) {
    width: 130px;
}

.admin-users-table th:nth-child(4),
.admin-users-table td:nth-child(4) {
    width: 230px;
}

.admin-users-table th:nth-child(5),
.admin-users-table td:nth-child(5) {
    width: 496px;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.inline-form {
    margin: 0;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-table .admin-actions {
    flex-wrap: nowrap;
    min-width: max-content;
}

.admin-table .admin-actions .small-button {
    width: auto;
    white-space: nowrap;
}

.admin-actions-wide {
    margin-top: 16px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.admin-dl {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.admin-dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.admin-dl div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.admin-dl dt {
    color: var(--muted);
    font-weight: 800;
}

.admin-dl dd {
    margin: 0;
    font-weight: 850;
    text-align: right;
}

.compact-table {
    min-width: 520px;
}

.admin-table code {
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 850;
}

.plan-form {
    margin-top: 16px;
}
