:root {
    --pc-ink: #111b27;
    --pc-ink-2: #1d2b3a;
    --pc-muted: #627083;
    --pc-line: #dce2e8;
    --pc-paper: #f4f7f8;
    --pc-white: #ffffff;
    --pc-blue: #2868d8;
    --pc-blue-dark: #164ca8;
    --pc-teal: #087f6b;
    --pc-orange: #e36a2e;
    --pc-yellow: #f3b61f;
    --pc-red: #d84f4a;
    --pc-shadow: 0 16px 42px rgba(17, 27, 39, .1);
}

html {
    scroll-behavior: smooth;
}

.public-catalog-body,
.public-catalog-body *,
.public-catalog-body *::before,
.public-catalog-body *::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

.public-catalog-body {
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--pc-paper);
    color: var(--pc-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.public-catalog-body img {
    max-width: 100%;
}

.public-catalog-body a {
    color: inherit;
}

.public-announcement {
    position: relative;
    z-index: 50;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px max(20px, calc((100% - 1180px) / 2));
    border-bottom: 1px solid #cbd7e2;
    background: #eaf2ff;
    color: var(--pc-ink);
}

.public-announcement-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.public-announcement-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--pc-blue);
    color: #fff;
}

.public-announcement-title,
.public-announcement-body {
    display: block;
}

.public-announcement-title {
    color: var(--pc-ink);
    font-size: .79rem;
    font-weight: 900;
}

.public-announcement-body {
    margin-top: 2px;
    color: var(--pc-muted);
    font-size: .74rem;
    font-weight: 650;
}

.public-announcement-action {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 5px;
    padding: 8px 12px;
    background: var(--pc-ink);
    color: #fff !important;
    font-size: .73rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.public-announcement-success {
    background: #e8f8f3;
}

.public-announcement-success .public-announcement-icon {
    background: var(--pc-teal);
}

.public-announcement-warning {
    background: #fff5df;
}

.public-announcement-warning .public-announcement-icon {
    background: #c87a08;
}

.public-announcement-danger {
    background: #ffeded;
}

.public-announcement-danger .public-announcement-icon {
    background: var(--pc-red);
}

.catalog-site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--pc-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 18px rgba(17, 27, 39, .04);
    backdrop-filter: blur(15px);
}

.catalog-site-nav {
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.catalog-site-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pc-ink);
    font-size: .97rem;
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none;
}

.catalog-site-brand img {
    width: auto;
    max-width: 158px;
    height: 34px;
    object-fit: contain;
}

.catalog-site-brand-mark {
    width: 37px;
    height: 37px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--pc-blue);
    color: #fff;
}

.catalog-site-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.catalog-site-links a {
    position: relative;
    color: #495a6c;
    font-size: .79rem;
    font-weight: 760;
    text-decoration: none;
    white-space: nowrap;
}

.catalog-site-links a::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: -11px;
    left: 0;
    height: 2px;
    background: var(--pc-blue);
    transition: right .2s ease;
}

.catalog-site-links a:hover,
.catalog-site-links a.is-current {
    color: var(--pc-blue);
}

.catalog-site-links a:hover::after,
.catalog-site-links a.is-current::after {
    right: 0;
}

.catalog-site-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-site-signin,
.catalog-site-primary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    padding: 9px 13px;
    font-size: .76rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.catalog-site-signin {
    border: 1px solid var(--pc-line);
    background: #fff;
    color: var(--pc-ink);
}

.catalog-site-primary {
    border: 1px solid var(--pc-blue);
    background: var(--pc-blue);
    color: #fff !important;
}

.catalog-site-signin:hover,
.catalog-site-primary:hover {
    transform: translateY(-1px);
}

.catalog-site-signin:hover {
    border-color: #b8c9da;
}

.catalog-site-primary:hover {
    background: var(--pc-blue-dark);
}

.catalog-site-menu {
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    border: 1px solid var(--pc-line);
    border-radius: 6px;
    background: #fff;
    color: var(--pc-ink);
}

.public-catalog-main {
    min-height: calc(100vh - 76px);
}

.public-catalog-main > .cp-page {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: 36px 0 82px;
}

.public-catalog-main .cp-btn {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 9px 14px;
    font-size: .78rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.public-catalog-main .cp-btn:hover {
    transform: translateY(-1px);
}

.public-catalog-main .cp-btn-primary {
    border-color: var(--pc-blue);
    background: var(--pc-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(40, 104, 216, .15);
}

.public-catalog-main .cp-btn-primary:hover {
    border-color: var(--pc-blue-dark);
    background: var(--pc-blue-dark);
    color: #fff;
}

.public-catalog-main .cp-btn-ghost,
.public-catalog-main .cp-btn-soft {
    border-color: var(--pc-line);
    background: #fff;
    color: var(--pc-ink);
}

.public-catalog-main .cp-card {
    overflow: hidden;
    border: 1px solid var(--pc-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(17, 27, 39, .05);
}

.public-catalog-main .cp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--pc-line);
    background: #fff;
}

.public-catalog-main .cp-card-pad {
    padding: 20px;
}

.public-catalog-main .cp-card-title {
    margin: 0;
    color: var(--pc-ink);
    font-size: .98rem;
    font-weight: 900;
}

.public-catalog-main .cp-card-note {
    margin-top: 4px;
    color: var(--pc-muted);
    font-size: .72rem;
    line-height: 1.45;
}

.public-catalog-main .cp-empty {
    border: 1px dashed #bcc9d5;
    border-radius: 7px;
    padding: 27px;
    background: var(--pc-paper);
    color: var(--pc-muted);
    text-align: center;
    font-size: .83rem;
    line-height: 1.6;
}

.catalog-site-footer {
    padding: 66px max(20px, calc((100% - 1180px) / 2)) 24px;
    background: #0d1722;
    color: #fff;
}

.catalog-site-footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(135px, .6fr));
    gap: 44px;
}

.catalog-site-footer .catalog-site-brand {
    width: fit-content;
    color: #fff;
}

.catalog-site-footer-brand p {
    max-width: 390px;
    margin: 18px 0;
    color: #94a5b5;
    font-size: .79rem;
    line-height: 1.7;
}

.catalog-site-support {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dbe6ef !important;
    font-size: .75rem;
    font-weight: 750;
    text-decoration: none;
}

.catalog-site-footer-grid > div:not(.catalog-site-footer-brand) {
    display: grid;
    align-content: start;
    gap: 11px;
}

.catalog-site-footer-grid strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
}

.catalog-site-footer-grid > div > a {
    color: #94a5b5;
    font-size: .75rem;
    font-weight: 650;
    text-decoration: none;
}

.catalog-site-footer-grid > div > a:hover {
    color: #fff;
}

.catalog-site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #718496;
    font-size: .69rem;
}

.catalog-site-footer-bottom a {
    color: #9fb1c1;
    text-decoration: none;
}

@media (max-width: 1030px) {
    .catalog-site-links {
        gap: 16px;
    }

    .catalog-site-links a {
        font-size: .73rem;
    }

    .catalog-site-primary {
        display: none;
    }
}

@media (max-width: 820px) {
    .catalog-site-nav {
        position: relative;
        width: min(100% - 28px, 1180px);
        min-height: 68px;
    }

    .catalog-site-menu {
        display: grid;
    }

    .catalog-site-links {
        position: absolute;
        top: 61px;
        right: 0;
        left: 0;
        z-index: 5;
        display: none;
        align-items: stretch;
        gap: 0;
        overflow: hidden;
        border: 1px solid var(--pc-line);
        border-radius: 7px;
        background: #fff;
        box-shadow: var(--pc-shadow);
    }

    .catalog-site-links.is-open {
        display: grid;
    }

    .catalog-site-links a {
        padding: 14px 16px;
        border-bottom: 1px solid var(--pc-line);
        font-size: .79rem;
    }

    .catalog-site-links a:last-child {
        border-bottom: 0;
    }

    .catalog-site-links a::after {
        display: none;
    }

    .public-catalog-main > .cp-page {
        width: min(100% - 28px, 1180px);
        padding-top: 25px;
    }

    .catalog-site-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-site-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .public-announcement {
        align-items: stretch;
        flex-direction: column;
        padding: 12px 14px;
    }

    .public-announcement-action {
        width: 100%;
    }

    .catalog-site-nav {
        width: min(100% - 20px, 1180px);
    }

    .catalog-site-brand {
        max-width: 168px;
    }

    .catalog-site-brand img {
        max-width: 130px;
        height: 30px;
    }

    .catalog-site-brand > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .catalog-site-actions {
        gap: 6px;
    }

    .catalog-site-signin {
        width: 42px;
        padding: 0;
    }

    .catalog-site-signin span {
        display: none;
    }

    .public-catalog-main > .cp-page {
        width: min(100% - 20px, 1180px);
        padding-bottom: 60px;
    }

    .public-catalog-main .cp-btn {
        white-space: normal;
    }

    .catalog-site-footer {
        padding: 54px 16px 22px;
    }

    .catalog-site-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 20px;
    }

    .catalog-site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .catalog-site-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .public-catalog-body *,
    .public-catalog-body *::before,
    .public-catalog-body *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
