    .retoc-filter {
        margin: 0 0 10px;
    }

    .retoc-filter__input {
        width: 100%;
        min-height: 38px;
        padding: 8px 12px;
        border: 1px solid rgba(17, 17, 17, .12);
        border-radius: 7px;
        background: linear-gradient(180deg, #fff, #f8f9f5);
        color: #222;
        font: inherit;
        font-size: 14px;
        line-height: 1.2;
        outline: none;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 8px 18px rgba(0, 0, 0, .06);
        transition: border-color 160ms ease, box-shadow 160ms ease;
    }

    .retoc-filter__input:focus {
        border-color: rgba(51, 51, 51, .42);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 0 0 3px rgba(220, 255, 0, .35), 0 10px 22px rgba(0, 0, 0, .08);
    }

@media (max-width: 767px) {
    .retoc-filter--desktop {
        display: none;
    }

    .retoc .retoc_i a,
    .retoc .retoc_i a:hover,
    .retoc .retoc_i a:focus,
    .retoc .retoc_i a:active,
    .retoc-notInherit .retoc_i div a,
    .retoc-notInherit .retoc_i div a:hover,
    .retoc-notInherit .retoc_i div a:focus,
    .retoc-notInherit .retoc_i div a:active {
        border: 0 !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    .retoc .retoc_item > a {
        position: relative;
        isolation: isolate;
        display: inline-flex;
        align-items: center;
        max-width: 100%;
        margin: 2px 0;
        padding: 2px 8px;
        color: inherit;
        line-height: 1.55;
        border-radius: 4px;
        overflow: hidden;
        transition: color 180ms ease, transform 180ms ease;
    }

    .retoc .retoc_item > a::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        width: 100%;
        background: linear-gradient(90deg, #dcff00 0%, #edff78 62%, #ffffff 120%);
        border-radius: 4px;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px !important;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 340ms cubic-bezier(.2, .8, .2, 1);
    }

    .retoc .retoc_item.retoc_item-active > a {
        color: #333 !important;
        padding: 2px 20px;
        font-size: 1.1em;
        font-weight: 700;
        transform: translateX(2px);
    }

    .retoc .retoc_item.retoc_item-active > a::before {
        transform: scaleX(1);
    }

    .retoc .retoc_item.retoc_item-active .retoc_item_number,
    .retoc .retoc_item.retoc_item-active .retoc_item_label {
        color: #333;
    }

    .retoc-mobile-nav {
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
        z-index: 999999;
        pointer-events: none;
        font-family: inherit;
    }

    .retoc-mobile-nav__button {
        position: relative;
        isolation: isolate;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 46px;
        padding: 2px 20px;
        overflow: hidden;
        border: 0;
        border-radius: 7px;
        background: #111;
        color: #333;
        font-size: 1.1em;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: 0;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px !important;
        cursor: pointer;
        pointer-events: auto;
        transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .retoc-mobile-nav__button::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(90deg, #dcff00 0%, #edff78 58%, #ffffff 115%);
        transform: scaleX(var(--retoc-progress, .08));
        transform-origin: left center;
        transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
    }

    .retoc-mobile-nav__button::after {
        content: "";
        width: 12px;
        height: 12px;
        background: #333;
        clip-path: polygon(50% 0, 100% 58%, 82% 76%, 50% 42%, 18% 76%, 0 58%);
        transform: rotate(0deg);
        transition: transform 180ms ease;
        flex: 0 0 auto;
    }

    .retoc-mobile-nav.is-open .retoc-mobile-nav__button::after {
        transform: rotate(180deg);
    }

    .retoc-mobile-nav__button:active {
        transform: translateY(1px);
    }

    .retoc-mobile-nav__label {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .retoc-mobile-nav__panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(100% + 10px);
        max-height: min(62vh, 430px);
        padding: 10px;
        overflow: auto;
        border: 1px solid rgba(255, 255, 255, .6);
        border-radius: 8px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
        transition: opacity 180ms ease, transform 180ms ease;
        backdrop-filter: blur(12px);
    }

    .retoc-filter--mobile {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: 0 0 8px;
        padding-bottom: 6px;
        background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9));
    }

    .retoc-mobile-nav.is-open .retoc-mobile-nav__panel {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .retoc-mobile-nav__link {
        position: relative;
        isolation: isolate;
        display: block;
        margin: 2px 0;
        padding: 9px 12px 9px calc(12px + var(--retoc-depth-indent, 0px));
        overflow: hidden;
        border: 0 !important;
        border-bottom: 0 !important;
        border-radius: 6px;
        color: #222 !important;
        font-size: 14px;
        line-height: 20px;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    .retoc-mobile-nav__link::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(90deg, #dcff00 0%, #edff78 62%, #fff 120%);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
    }

    .retoc-mobile-nav__link.is-active {
        padding: 9px 20px 9px calc(20px + var(--retoc-depth-indent, 0px));
        color: #333 !important;
        font-size: 1.1em;
        font-weight: 800;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px !important;
    }

    .retoc-mobile-nav__link.is-active[data-depth]:not([data-depth="0"])::after {
        background: linear-gradient(180deg, rgba(51, 51, 51, .12), rgba(51, 51, 51, .5), rgba(51, 51, 51, .12));
    }

    .retoc-mobile-nav__link.is-active::before {
        transform: scaleX(1);
    }

    .retoc-mobile-nav__empty {
        padding: 12px;
        color: rgba(34, 34, 34, .58);
        font-size: 13px;
        font-weight: 700;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .retoc.retoc-has-filter {
        width: var(--retoc-stable-width) !important;
        max-width: 100%;
    }

    .retoc.retoc-has-filter .retoc_i {
        box-sizing: border-box;
        width: 100% !important;
    }

    .retoc-filter--desktop {
        width: 100%;
    }

    .retoc_item-filter-context > a {
        opacity: .72;
    }

    .retoc .retoc_item > a {
        position: relative;
        isolation: isolate;
        display: inline-flex;
        align-items: center;
        max-width: 100%;
        margin: 1px 0;
        padding: 2px 8px;
        overflow: hidden;
        border: 0 !important;
        border-bottom: 0 !important;
        border-radius: 4px;
        color: inherit;
        line-height: 1.5;
        text-decoration: none !important;
        box-shadow: none !important;
        transition: color 180ms ease, transform 180ms ease, padding 180ms ease;
    }

    .retoc .retoc_item > a::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(90deg, #dcff00 0%, #edff78 62%, #ffffff 120%);
        border-radius: 4px;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px !important;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 1.5s cubic-bezier(.2, .8, .2, 1);
    }

    .retoc .retoc_item > a:hover,
    .retoc .retoc_item > a:focus,
    .retoc .retoc_item > a:active {
        padding: 2px 20px;
        color: #333 !important;
        font-size: 1.1em;
        font-weight: 700;
        transform: translateX(2px);
        border: 0 !important;
        border-bottom: 0 !important;
        text-decoration: none !important;
        box-shadow: none !important;
        outline: none;
    }

    .retoc.retoc-notInherit .retoc_i div .retoc_item > a:hover,
    .retoc.retoc-notInherit .retoc_i div .retoc_item > a:focus,
    .retoc.retoc-notInherit .retoc_i div .retoc_item > a:active {
        border: 0 !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    .retoc .retoc_item > a:hover::before,
    .retoc .retoc_item > a:focus::before,
    .retoc .retoc_item > a:active::before {
        transform: scaleX(1);
    }

    .retoc .retoc_item > a:hover .retoc_item_number,
    .retoc .retoc_item > a:hover .retoc_item_label,
    .retoc .retoc_item > a:focus .retoc_item_number,
    .retoc .retoc_item > a:focus .retoc_item_label {
        color: #333;
    }
}
