.all-cats {
    background: #f6f7fb;
    color: #172033;
    padding-bottom: 64px;
}

.all-cats .breadcrumb {
    margin: 0;
    padding: 18px 0 8px;
    background: transparent;
}

.ac-hero {
    max-width: 820px;
    padding: 44px 0 28px;
}

.ac-kicker {
    color: #155eef;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ac-hero h1 {
    margin: 8px 0 12px;
    color: #101828;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.ac-hero p {
    max-width: 700px;
    margin: 0;
    color: #475467;
    font-size: 18px;
    line-height: 1.65;
}

.ac-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.ac-summary span {
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    padding: 8px 14px;
}

.ac-summary strong {
    color: #155eef;
}

.ac-editor {
    position: relative;
    margin: 0 0 24px;
    padding: 20px;
    border: 1px solid #b2ccff;
    border-radius: 16px;
    background: #f5f8ff;
    box-shadow: 0 8px 24px rgba(21, 94, 239, .08);
}

.ac-editor__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.ac-editor__heading h2 {
    margin: 5px 0 4px;
    color: #101828;
    font-size: 22px;
}

.ac-editor__heading p {
    max-width: 760px;
    margin: 0;
    color: #475467;
}

.ac-editor__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.ac-editor__status {
    color: #067647;
    font-size: 13px;
    font-weight: 700;
}

.ac-root-sortable {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ac-root-token {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 5px 9px;
    border: 1px solid #b2ccff;
    border-radius: 9px;
    background: #fff;
}

.ac-root-preview {
    border: 0;
    background: transparent;
    color: #175cd3;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 2px;
    text-align: left;
}

.ac-root-preview:hover,
.ac-root-preview:focus,
.ac-root-token.is-previewing .ac-root-preview {
    color: #004eeb;
    text-decoration: underline;
}

.ac-root-token.is-previewing {
    border-color: #155eef;
    box-shadow: 0 0 0 2px rgba(21, 94, 239, .12);
}

.ac-drag-handle {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #667085;
    cursor: grab;
    font-size: 15px;
    line-height: 1;
    padding: 4px;
}

.ac-drag-handle:active {
    cursor: grabbing;
}

.ac-dragging {
    opacity: .42;
}

.ac-drag-over {
    box-shadow: inset 0 3px #155eef;
}

.ac-header-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: #475467;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.ac-header-toggle input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #155eef;
}

.ac-menu-preview {
    position: absolute;
    z-index: 120;
    top: 0;
    left: 0;
    width: 600px;
    max-width: calc(100% - 16px);
    max-height: 600px;
    overflow: auto;
    border-top: 3px solid #155eef;
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(16, 24, 40, .28);
}

.ac-menu-preview__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-bottom: 1px solid #e4e7ec;
    background: #f9fafb;
}

.ac-menu-preview__heading strong {
    color: #101828;
    font-size: 16px;
}

.ac-menu-preview__heading span {
    color: #667085;
    font-size: 12px;
}

.ac-menu-preview__heading button {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #667085;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

.ac-menu-preview__body {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 360px;
    box-sizing: border-box;
    padding: 18px 20px 2px;
    overflow-x: auto;
    overflow-y: hidden;
}

.ac-menu-preview__body.is-measuring {
    display: block;
    width: 300px;
    height: auto;
    overflow: visible;
}

.ac-preview-column {
    flex: 0 0 260px;
    width: 260px;
}

.ac-preview-group {
    display: inline-block;
    width: 100%;
    margin: 0 0 20px;
    break-inside: avoid;
}

.ac-preview-group h3 {
    margin: 0 0 7px;
    font-size: 15px;
    line-height: 1.3;
}

.ac-preview-group h3 a {
    color: #172033;
    font-weight: 800;
}

.ac-preview-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ac-preview-group li {
    margin: 4px 0;
    line-height: 1.35;
}

.ac-preview-group li a {
    color: #00347a;
    font-size: 13px;
}

.ac-preview-more {
    color: #b54708;
    font-size: 12px;
    font-weight: 700;
}

.ac-preview-empty {
    color: #667085;
    font-size: 14px;
}

.ac-menu-preview__footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0 26px;
    padding: 14px 0 16px;
    border-top: 1px solid #e4e7ec;
}

.ac-menu-preview__footer a {
    color: #175cd3;
    font-size: 13px;
    font-weight: 700;
}

.ac-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    padding: 18px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
}

.ac-jump a {
    border-radius: 8px;
    background: #eff4ff;
    color: #175cd3;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 11px;
    text-decoration: none;
}

.ac-jump a:hover {
    background: #dbe7ff;
}

.ac-directory {
    column-count: 3;
    column-gap: 22px;
}

.ac-root {
    display: inline-block;
    width: 100%;
    margin: 0 0 22px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
    overflow: hidden;
    break-inside: avoid;
}

.ac-root h2 {
    margin: 0;
    padding: 17px 20px;
    border-bottom: 1px solid #e4e7ec;
    background: #f9fafb;
    font-size: 20px;
    line-height: 1.3;
}

.ac-root h2 a {
    color: #155eef;
    font-weight: 800;
    text-decoration: none;
}

.ac-level {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ac-level--1 {
    padding: 12px 20px 18px;
}

.ac-category {
    margin: 0;
    list-style: none;
}

.ac-category__line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
}

.ac-category__line > .ac-drag-handle {
    margin-left: -7px;
}

.ac-category__meta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin-left: auto;
}

.ac-category__line a {
    color: #344054;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.ac-category__line a:hover,
.ac-root h2 a:hover {
    color: #004eeb;
    text-decoration: underline;
}

.ac-level--2,
.ac-level--3 {
    margin-left: 4px;
    padding-left: 14px;
    border-left: 1px solid #e4e7ec;
}

.ac-category--level-3 .ac-category__line {
    padding: 5px 0;
}

.ac-category--level-3 .ac-category__line a {
    color: #475467;
    font-size: 14px;
    font-weight: 500;
}

.ac-count {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f2f4f7;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .ac-directory {
        column-count: 2;
    }

}

@media (max-width: 640px) {
    .all-cats {
        padding-bottom: 36px;
    }

    .ac-hero {
        padding-top: 28px;
    }

    .ac-hero h1 {
        font-size: 36px;
    }

    .ac-directory {
        column-count: 1;
    }

    .ac-root {
        margin-bottom: 14px;
    }

    .ac-editor__heading {
        display: block;
    }

    .ac-editor__actions {
        margin-top: 14px;
    }

    .ac-menu-preview {
        width: calc(100% - 16px);
    }

    .ac-menu-preview__body {
        display: block;
        height: auto !important;
        max-height: 500px;
        overflow-y: auto;
    }

    .ac-preview-column {
        width: 100%;
    }
}
