body {
    padding-top: var(--ys2-topbar)
}

.ys2-topbar {
    align-items: center;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--ys2-line);
    display: grid;
    gap: 22px;
    grid-template-columns: 42px 154px minmax(280px, 460px) 1fr;
    height: var(--ys2-topbar);
    left: 0;
    padding: 0 32px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px)
}

.ys2-sidebar-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid var(--ys2-line);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 42px;
    justify-content: center;
    width: 42px
}

.ys2-sidebar-toggle span {
    background: #6f7580;
    border-radius: 2px;
    height: 2px;
    width: 16px
}

.ys2-logo {
    align-items: center;
    display: flex;
    font-size: 20px;
    font-weight: 800;
    gap: 9px;
    white-space: nowrap
}

.ys2-logo-image {
    display: block;
    height: 40px;
    object-fit: contain;
    width: 40px
}

.ys2-logo-mark {
    align-items: center;
    background: linear-gradient(145deg, #f2bd4b, #df765f);
    border-radius: 50%;
    color: white;
    display: flex;
    font-size: 11px;
    height: 30px;
    justify-content: center;
    width: 30px
}

.ys2-search {
    align-items: center;
    background: #f7f7f8;
    border: 1px solid #dedfe3;
    border-radius: 12px;
    display: flex;
    height: 46px;
    overflow: hidden
}

.ys2-search-icon {
    border: 2px solid #6d737d;
    border-radius: 50%;
    height: 15px;
    margin-left: 16px;
    position: relative;
    width: 15px
}

.ys2-search-icon:after {
    background: #6d737d;
    content: "";
    height: 2px;
    position: absolute;
    right: -6px;
    top: 11px;
    transform: rotate(45deg);
    width: 7px
}

.ys2-search input {
    background: transparent;
    border: 0;
    flex: 1;
    min-width: 0;
    outline: 0;
    padding: 0 14px
}

.ys2-search button {
    background: transparent;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 24px;
    height: 100%;
    padding: 0 18px
}

.ys2-top-actions {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: flex-end
}

.ys2-top-actions>a:not(.ys2-user) {
    color: var(--ys2-muted);
    font-size: 14px
}

.ys2-user {
    align-items: center;
    background: var(--ys2-accent-soft);
    border-radius: 50%;
    color: var(--ys2-accent);
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px
}

.ys2-sidebar {
    background: #fff;
    border-right: 1px solid var(--ys2-line);
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 28px 16px 22px;
    position: fixed;
    top: var(--ys2-topbar);
    width: var(--ys2-sidebar);
    z-index: 900;
    transition: width .2s ease, padding .2s ease, transform .2s ease, visibility .2s ease
}

.ys2-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.ys2-nav-item {
    align-items: center;
    border-radius: 9px;
    color: #606672;
    display: flex;
    font-size: 15px;
    gap: 14px;
    min-height: 44px;
    padding: 0 14px
}



.ys2-nav-item:hover {
    background-color: #eee;
}

.ys2-nav-item.is-active {
    background: var(--ys2-accent-soft);
    color: #c65d55
}




.ys2-nav-icon {
    font-size: 21px;
    text-align: center;
    width: 20px
}

.ys2-nav-label {
    color: #626975;
    font-size: 12px;
    margin: 24px 14px 7px
}

.ys2-sidebar-brand {
    border-top: 1px solid var(--ys2-line);
    color: var(--ys2-muted);
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 20px;
    margin-top: auto;
    padding: 20px 14px 0
}

.ys2-sidebar-brand strong {
    color: inherit;
    font-size: 12px;
    font-weight: 400
}

.ys2-sidebar-brand span {
    color: inherit;
    font-size: 12px;
    margin-top: 2px
}

.ys2-content {
    margin-left: var(--ys2-sidebar);
    min-height: calc(100vh - var(--ys2-topbar));
    padding: 30px 32px 52px;
    transition: margin-left .2s ease
}

.ys2-content>.ys-main,
.ys2-content>main {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--ys2-max);
    width: 100%
}

.ys2-footer {
    background: #fff;
    border-top: 1px solid var(--ys2-line);
    display: grid;
    gap: 16px;
    margin-left: var(--ys2-sidebar);
    padding: 32px max(32px, calc((100vw - var(--ys2-sidebar) - var(--ys2-max))/2));
    transition: margin-left .2s ease
}

.ys2-footer>div {
    display: flex;
    flex-direction: column
}

.ys2-footer span,
.ys2-footer p {
    color: var(--ys2-muted);
    font-size: 13px
}

.ys2-footer nav {
    display: flex;
    gap: 22px;
    font-size: 14px
}

@media(max-width:1100px) {
    .ys2-topbar {
        grid-template-columns: 42px 140px minmax(220px, 1fr) auto;
        padding: 0 20px
    }

    .ys2-content {
        padding: 24px 22px 44px
    }
}

@media(max-width:820px) {
    body {
        padding-top: 62px
    }

    .ys2-topbar {
        grid-template-columns: 42px 1fr auto;
        height: 62px;
        padding: 0 12px
    }

    .ys2-logo strong {
        font-size: 18px
    }

    .ys2-search {
        display: none
    }

    .ys2-sidebar {
        top: 62px
    }

    .ys2-content,
    .ys2-footer {
        margin-left: 0;
        padding-left: 14px;
        padding-right: 14px
    }

    .ys2-footer {
        padding-top: 28px
    }

    .ys2-sidebar-toggle {
        height: 40px;
        width: 40px
    }
}

.ys2-sidebar-toggle svg,
.ys2-search button svg,
.ys2-theme-toggle svg {
    height: 21px;
    width: 21px
}

.ys2-search-icon {
    border: 0;
    border-radius: 0;
    color: var(--ys2-text);
    height: 21px;
    margin-left: 17px;
    position: static;
    width: 21px
}

.ys2-search-icon:after {
    display: none
}

.ys2-search button {
    align-items: center;
    display: flex;
    justify-content: center
}

.ys2-top-actions>a:not(.ys2-user) {
    align-items: center;
    display: flex;
    gap: 7px
}

.ys2-top-actions>a svg {
    height: 21px;
    width: 21px
}

.ys2-nav-icon {
    flex: 0 0 21px;
    height: 21px;
    width: 21px
}

.ys2-theme-toggle {
    border-radius: 9px;
    height: 42px;
    width: 42px
}

.ys2-content {
    background: var(--ys2-bg);
    padding: 34px 36px 52px
}



.ys2-footer {
    background: transparent
}

.ys2-footer-grid h2 {
    color: var(--ys2-muted)
}

html.ys-dark .ys2-footer {
    background: var(--ys2-surface)
}

.ys2-footer-social-links {
    align-items: center;
    display: flex;
    gap: 10px
}

.ys2-footer-social-link {
    align-items: center;
    background: var(--ys2-surface);
    border: 1px solid var(--ys2-line);
    border-radius: 9px;
    color: var(--ys2-muted);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    min-width: 42px;
    transition: border-color .15s, color .15s
}

.ys2-footer-social-link svg {
    height: 20px;
    width: 20px
}

.ys2-footer-social-link:hover {
    border-color: var(--ys2-accent);
    color: var(--ys2-text)
}

.ys2-footer-social-link.is-disabled {
    cursor: default
}

.ys2-footer-social-link.is-disabled:hover {
    border-color: var(--ys2-line);
    color: var(--ys2-muted)
}

.ys2-search-tags-page .ys-main {
    background: var(--ys2-bg);
}


.ys2-footer-email-link {
    align-items: center;
    align-self: flex-start;
    background: var(--ys2-surface);
    border: 1px solid var(--ys2-line);
    border-radius: 9px;
    color: var(--ys2-text) !important;
    display: inline-flex;
    font-size: 14px !important;
    gap: 10px;
    min-height: 44px;
    padding: 9px 18px;
    white-space: nowrap
}

.ys2-footer-email-link svg {
    color: var(--ys2-accent);
    height: 20px;
    width: 20px
}

@media(max-width:1100px) {
    .ys2-content {
        padding: 28px 24px 44px
    }
}

@media(max-width:820px) {
    .ys2-content {
        padding-left: 14px;
        padding-right: 14px
    }
}

.ys2-skip-link {
    background: var(--ys2-text);
    border-radius: 0 0 8px 8px;
    color: var(--ys2-surface);
    left: 18px;
    padding: 10px 14px;
    position: fixed;
    top: -60px;
    transition: top .15s;
    z-index: 9999
}

.ys2-skip-link:focus {
    top: 0
}

.ys2-top-actions {
    position: relative
}

.ys2-user {
    border: 0;
    cursor: pointer;
    font: inherit
}

.ys2-user-panel {
    background: var(--ys2-surface);
    border: 1px solid var(--ys2-line);
    border-radius: 11px;
    box-shadow: 0 16px 40px rgba(20, 25, 35, .14);
    padding: 15px;
    position: absolute;
    right: 0;
    top: 50px;
    width: 250px;
    z-index: 10
}

.ys2-user-panel[hidden] {
    display: none
}

.ys2-user-panel p {
    color: var(--ys2-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 12px
}

.ys2-user-panel a {
    align-items: center;
    background: var(--ys2-accent);
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    min-height: 38px
}

.ys2-footer>.ys2-footer-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: var(--ys2-max);
    width: 100%
}

.ys2-footer-grid section {
    display: flex;
    flex-direction: column;
    gap: 9px
}

.ys2-footer-grid h2 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px
}

.ys2-footer-grid a,
.ys2-footer-grid span {
    color: var(--ys2-muted);
    font-size: 13px
}

.ys2-footer-grid a:hover {
    color: var(--ys2-accent)
}

.ys2-footer>p {
    margin: 12px 0 0
}

@media(max-width:820px) {
    .ys2-footer>.ys2-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

:root {
    --ys2-sidebar-compact: 94px
}

.ys2-logo {
    gap: 8px
}

.ys2-logo-image {
    display: block;
    height: 34px;
    object-fit: contain;
    width: 34px
}

.ys2-logo .ys2-logo-name {
    color: var(--ys2-text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap
}

.ys2-logo-accent {
    color: #f5b900
}

.ys2-nav-item {
    font-size: 14px;
    gap: 12px;
    margin: 3px 0;
    padding: 0 14px
}

.ys2-nav-icon {
    height: 21px;
    width: 21px
}

@media(min-width:600px) and (max-width:1100px) {
    .ys2-sidebar {
        width: var(--ys2-sidebar);
        transform: none
    }

    .ys2-sidebar {
        padding: 28px 16px 22px
    }

    .ys2-sidebar nav {
        align-items: stretch
    }

    .ys2-nav-item {
        gap: 12px;
        justify-content: flex-start;
        margin: 3px 0;
        min-height: 44px;
        padding: 0 14px;
        width: auto
    }

    .ys2-nav-item span {
        clip: auto;
        clip-path: none;
        height: auto;
        overflow: visible;
        position: static;
        white-space: normal;
        width: auto
    }

    .ys2-nav-label {
        display: block
    }

    .ys2-sidebar-brand {
        display: flex
    }

    .ys2-content,
    .ys2-footer {
        margin-left: var(--ys2-sidebar)
    }
}

@media(min-width:600px) {
    .ys2-sidebar nav {
        gap: 0
    }

    .ys2-nav-item {
        font-size: 14px;
        line-height: 20px;
        margin: 3px 0;
        min-height: 0;
        padding: 11px 14px
    }

    .ys2-nav-label {
        font-size: 12px;
        line-height: 16px;
        margin: 20px 14px 9px
    }
}

.ys2-nav-item.is-active {
    font-weight: 700
}

@media(max-width:599px) {
    .ys2-sidebar {
        padding: 22px 16px 18px;
        top: 62px;
        transform: translateX(-100%);
        visibility: hidden;
        width: var(--ys2-sidebar)
    }

    .ys2-shell.is-drawer-open .ys2-sidebar {
        box-shadow: 12px 0 36px rgba(20, 25, 35, .18);
        transform: none;
        visibility: visible
    }

    .ys2-content,
    .ys2-footer {
        margin-left: 0
    }

    .ys2-logo-image {
        height: 30px;
        width: 30px
    }

    .ys2-logo .ys2-logo-name {
        font-size: 22px
    }
}

.ys2-sidebar-toggle {
    color: var(--ys2-text);
    transition: border-color .15s, color .15s
}

.ys2-sidebar-toggle:hover {
    border-color: var(--ys2-accent);
    color: var(--ys2-accent)
}

.ys2-sidebar-toggle:focus-visible {
    outline: 2px solid var(--ys2-accent);
    outline-offset: 2px
}

@media(min-width:600px) {

    html.ys2-nav-collapsed .ys2-sidebar,
    .ys2-shell.is-collapsed .ys2-sidebar {
        padding-left: 13px;
        padding-right: 13px;
        width: var(--ys2-sidebar-compact)
    }

    html.ys2-nav-collapsed .ys2-sidebar nav,
    .ys2-shell.is-collapsed .ys2-sidebar nav {
        align-items: center;
        width: 100%
    }

    html.ys2-nav-collapsed .ys2-nav-item,
    .ys2-shell.is-collapsed .ys2-nav-item {
        gap: 0;
        justify-content: center;
        margin: 3px auto;
        min-height: 47px;
        padding: 0;
        width: 56px
    }

    html.ys2-nav-collapsed .ys2-nav-item span,
    .ys2-shell.is-collapsed .ys2-nav-item span {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px
    }

    html.ys2-nav-collapsed .ys2-nav-label,
    html.ys2-nav-collapsed .ys2-sidebar-brand,
    .ys2-shell.is-collapsed .ys2-nav-label,
    .ys2-shell.is-collapsed .ys2-sidebar-brand {
        display: none
    }

    html.ys2-nav-collapsed .ys2-content,
    html.ys2-nav-collapsed .ys2-footer,
    .ys2-shell.is-collapsed .ys2-content,
    .ys2-shell.is-collapsed .ys2-footer {
        margin-left: var(--ys2-sidebar-compact)
    }
}

@media(min-width:1101px) {

    html.ys2-nav-collapsed .ys2-footer,
    .ys2-shell.is-collapsed .ys2-footer {
        padding-left: max(32px, calc((100vw - var(--ys2-sidebar-compact) - var(--ys2-max))/2));
        padding-right: max(32px, calc((100vw - var(--ys2-sidebar-compact) - var(--ys2-max))/2))
    }
}

.ys2-theme-toggle .ys2-theme-icon {
    display: none
}

.ys2-theme-toggle:not([data-theme-mode]) [data-theme-icon="system"],
.ys2-theme-toggle[data-theme-mode="light"] [data-theme-icon="light"],
.ys2-theme-toggle[data-theme-mode="dark"] [data-theme-icon="dark"],
.ys2-theme-toggle[data-theme-mode="system"] [data-theme-icon="system"] {
    display: block
}

.ys2-nav-scrim {
    display: none
}

@media(max-width:599px) {
    .ys2-nav-scrim {
        background: rgba(15, 20, 35, .45);
        display: block;
        inset: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        transition: opacity .2s ease;
        z-index: 890
    }

    .ys2-shell.is-drawer-open .ys2-nav-scrim {
        opacity: 1;
        pointer-events: auto
    }
}

.ys2-sidebar-toggle [data-nav-icon="menu"] {
    display: none
}

@media(max-width:599px) {
    .ys2-sidebar-toggle [data-nav-icon="panel"] {
        display: none
    }

    .ys2-sidebar-toggle [data-nav-icon="menu"] {
        display: block
    }
}

@media(max-width:599px) {
    .ys2-top-actions>a:not(.ys2-user) {
        display: none
    }
}


html.ys-dark .ys2-nav-item.is-active {
    background-color: #f5f5f5;
    color: #000
}


html.ys-dark .ys2-footer-email-link svg {
    color: #fff;
}


html.ys-dark .ys2-user {
    background-color: #f5f5f5;
    color: #000;
}

html.ys-dark .ys2-nav-item:hover {
    color: #000;
}

html.ys-dark .ys2-nav-item {
    color: #aaa;
}

html.ys-dark .ys2-sidebar-toggle:hover {
    border-color: var(--ys2-text);
    color: var(--ys2-text)
}

html.ys-dark .ys2-search input {
    color: #fff;
}

html.ys-dark .ys2-search button {
    color: #fff;
}