section.manage {
    @media (max-width: 900px) {
        padding: 0 8px;
    }

    @media (min-width: 901px) {
        padding: 0 16px;
    }

    .table {
        display: grid;
        margin: 8px 0;
        white-space: nowrap;
        overflow: auto;

        &.columns-3 {
            grid-template-columns: repeat(3, max-content);

            > :not(h4):nth-child(3n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-4 {
            grid-template-columns: repeat(4, max-content);

            > :not(h4):nth-child(4n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-5 {
            grid-template-columns: repeat(5, max-content);

            > :not(h4):nth-child(5n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-6 {
            grid-template-columns: repeat(6, max-content);

            > :not(h4):nth-child(6n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-7 {
            grid-template-columns: repeat(7, max-content);

            > :not(h4):nth-child(7n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-8 {
            grid-template-columns: repeat(8, max-content);

            > :not(h4):nth-child(8n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-9 {
            grid-template-columns: repeat(9, max-content);

            > :not(h4):nth-child(9n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-10 {
            grid-template-columns: repeat(10, max-content);

            > :not(h4):nth-child(10n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-11 {
            grid-template-columns: repeat(11, max-content);

            > :not(h4):nth-child(11n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-12 {
            grid-template-columns: repeat(12, max-content);

            > :not(h4):nth-child(12n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-13 {
            grid-template-columns: repeat(13, max-content);

            > :not(h4):nth-child(13n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-14 {
            grid-template-columns: repeat(14, max-content);

            > :not(h4):nth-child(14n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-15 {
            grid-template-columns: repeat(15, max-content);

            > :not(h4):nth-child(15n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-16 {
            grid-template-columns: repeat(16, max-content);

            > :not(h4):nth-child(16n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-17 {
            grid-template-columns: repeat(17, max-content);

            > :not(h4):nth-child(17n+1) {
                border-left: 1px solid;
            }
        }

        &.columns-18 {
            grid-template-columns: repeat(18, max-content);

            > :not(h4):nth-child(18n+1) {
                border-left: 1px solid;
            }
        }

        > h4 {
            border-bottom: 1px solid;
            margin: 0;
            padding: 2px 8px;
        }

        > :not(h4) {
            border-right: 1px solid;
            border-bottom: 1px solid;
            margin: 0;
            padding: 4px 8px;
        }
    }

    .category-edit {
        display: flex;
        flex-flow: column;
        gap: 12px;
    }

    .category-item-header {
        display: flex;
        flex-flow: row;
        align-items: center;
        gap: 4px;
    }

    .category-name {
        font-weight: 500;
        font-size: 1.25rem;
        margin-left: 8px;
    }

    .category-item {
        display: flex;
        align-items: flex-start;
        flex-flow: column;
        gap: 8px;
        border-bottom: 1px solid var(--input-border-color);
        padding: 12px 0;
    }

    .category-menu {
        margin: 0;
    }

    .post .message {
        max-height: 200px;
        overflow: auto;
    }

    form {
        display: inline-flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 4px;

        &.wide {
            display: flex;
        }

        &.row {
            flex-direction: row;
        }
    }

    .user-search-form {
        display: flex;
        flex-direction: row;
        gap: 16px;

        .user-radio-btns {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .search-field-button {
            display: flex;
            gap: 4px;
            justify-content: flex-start;
            flex-direction: column;
        }
    }

    .appeal,
    .report {
        background-color: var(--box-bg-color);
        padding: 8px;
        margin: 8px 0 32px;
    }

    .appeal > h3 {
        margin: 0;
    }

    .report .actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    button.copy {
        margin-top: 16px;
    }

    .search-form {
        display: flex;
    }

    .search-results {
        margin: 16px 0;

        &.pre {
            padding: 8px;
            border: 1px solid;
            color: #000;
            background-color: #fff;
            font-family: monospace;
        }
    }

    .post-file > [class^="icon-"] {
        font-size: 40px;
        color: #777;
        background-color: #ddd;
        padding: 16px;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    textarea {
        resize: vertical;
    }

    .order-transfer-options {
        display: flex;
        flex-direction: row;
        gap: 4px;

        & button {
            height: 100%;
        }
    }

    dialog .order-transfer {
        display: grid;
        grid-template-columns: 50% 50%;
    }
}