:root {
    --psb-zpm-height: 0px;
}

body.psb-zpm-active {
    padding-top: var(--psb-zpm-height) !important;
}

body.admin-bar .psb-zpm--auto {
    top: 32px;
}

.psb-zpm,
.psb-zpm * {
    box-sizing: border-box;
}

.psb-zpm {
    --psb-zpm-primary: #00549F;
    --psb-zpm-secondary: #2F9E55;
    --psb-zpm-dark: #17304F;
    --psb-zpm-light: #ffffff;
    --psb-zpm-border: rgba(23, 48, 79, .12);
    --psb-zpm-shadow: 0 16px 45px rgba(0, 38, 79, .14);
    width: 100%;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--psb-zpm-border);
    box-shadow: var(--psb-zpm-shadow);
    z-index: 99990;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.psb-zpm--auto {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.psb-zpm--shortcode {
    position: relative;
}

.psb-zpm__inner {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.psb-zpm__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    text-decoration: none !important;
}

.psb-zpm__logo {
    width: auto;
    height: 56px;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.psb-zpm__brand-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--psb-zpm-dark);
    letter-spacing: -.02em;
    line-height: 1;
}

.psb-zpm__panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
    flex: 1;
}

.psb-zpm__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.psb-zpm__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--psb-zpm-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.psb-zpm__links a:hover,
.psb-zpm__links a:focus-visible {
    background: rgba(0, 84, 159, .08);
    color: var(--psb-zpm-primary);
    transform: translateY(-1px);
}

.psb-zpm__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.psb-zpm__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
    border: 2px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.psb-zpm__button:hover,
.psb-zpm__button:focus-visible {
    transform: translateY(-1px);
}

.psb-zpm__button--primary {
    background: linear-gradient(135deg, var(--psb-zpm-primary), #0b68bf);
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(0, 84, 159, .25);
}

.psb-zpm__button--primary:hover,
.psb-zpm__button--primary:focus-visible {
    box-shadow: 0 16px 30px rgba(0, 84, 159, .32);
}

.psb-zpm__button--ghost {
    background: #fff;
    color: var(--psb-zpm-primary) !important;
    border-color: rgba(0, 84, 159, .2);
}

.psb-zpm__button--ghost:hover,
.psb-zpm__button--ghost:focus-visible {
    border-color: var(--psb-zpm-primary);
}

.psb-zpm__dropdown {
    position: relative;
}

.psb-zpm__dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 245px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--psb-zpm-border);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 38, 79, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.psb-zpm__dropdown:hover .psb-zpm__dropdown-menu,
.psb-zpm__dropdown:focus-within .psb-zpm__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.psb-zpm__dropdown-menu a {
    display: block;
    padding: 12px 13px;
    border-radius: 12px;
    color: var(--psb-zpm-dark) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 750;
}

.psb-zpm__dropdown-menu a:hover,
.psb-zpm__dropdown-menu a:focus-visible {
    background: rgba(47, 158, 85, .12);
    color: var(--psb-zpm-secondary) !important;
}

.psb-zpm__toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--psb-zpm-primary);
    color: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.psb-zpm__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transition: transform .18s ease, opacity .18s ease;
}

.psb-zpm__toggle strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.psb-zpm.is-open .psb-zpm__toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.psb-zpm.is-open .psb-zpm__toggle span:nth-child(2) {
    opacity: 0;
}

.psb-zpm.is-open .psb-zpm__toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.psb-zpm__hint {
    border-top: 1px solid rgba(23, 48, 79, .09);
    background: linear-gradient(90deg, rgba(0, 84, 159, .07), rgba(47, 158, 85, .08));
    padding: 8px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.25;
}

.psb-zpm__hint span {
    font-weight: 800;
    color: var(--psb-zpm-dark);
}

.psb-zpm__hint a {
    color: var(--psb-zpm-primary) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.psb-zpm__hint a:hover,
.psb-zpm__hint a:focus-visible {
    text-decoration: underline !important;
}

.psb-zpm-start,
.psb-zpm-start * {
    box-sizing: border-box;
}

.psb-zpm-start {
    --psb-zpm-primary: #00549F;
    --psb-zpm-secondary: #2F9E55;
    --psb-zpm-dark: #17304F;
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 44px 22px 70px;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--psb-zpm-dark);
}

.psb-zpm-start__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 28px;
    align-items: stretch;
    min-height: 460px;
}

.psb-zpm-start__content,
.psb-zpm-start__logo-card,
.psb-zpm-start__cards article,
.psb-zpm-start__steps {
    border: 1px solid rgba(23, 48, 79, .1);
    background: #fff;
    box-shadow: 0 20px 55px rgba(0, 38, 79, .1);
}

.psb-zpm-start__content {
    padding: clamp(30px, 6vw, 74px);
    border-radius: 32px;
    background:
        radial-gradient(circle at 15% 15%, rgba(47, 158, 85, .13), transparent 28%),
        linear-gradient(135deg, rgba(0, 84, 159, .08), #fff 52%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.psb-zpm-start__eyebrow {
    margin: 0 0 14px;
    color: var(--psb-zpm-secondary);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.psb-zpm-start h1 {
    margin: 0;
    font-size: clamp(36px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.05em;
    color: var(--psb-zpm-dark);
}

.psb-zpm-start__content > p:not(.psb-zpm-start__eyebrow) {
    margin: 24px 0 0;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.45;
    max-width: 760px;
    color: rgba(23, 48, 79, .78);
}

.psb-zpm-start__actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.psb-zpm-start__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 15px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.1;
    border: 2px solid transparent;
}

.psb-zpm-start__button--primary {
    background: var(--psb-zpm-primary);
    color: #fff !important;
}

.psb-zpm-start__button--secondary {
    background: var(--psb-zpm-secondary);
    color: #fff !important;
}

.psb-zpm-start__button--ghost {
    background: #fff;
    color: var(--psb-zpm-primary) !important;
    border-color: rgba(0, 84, 159, .2);
}

.psb-zpm-start__logo-card {
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(180deg, #fff, rgba(0, 84, 159, .05));
}

.psb-zpm-start__logo-card img {
    width: min(100%, 370px);
    height: auto;
    display: block;
}

.psb-zpm-start__cards {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.psb-zpm-start__cards article {
    border-radius: 24px;
    padding: 24px;
}

.psb-zpm-start__cards span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 84, 159, .09);
    color: var(--psb-zpm-primary);
    font-weight: 900;
}

.psb-zpm-start__cards h2 {
    margin: 18px 0 8px;
    font-size: 22px;
    color: var(--psb-zpm-dark);
}

.psb-zpm-start__cards p {
    margin: 0;
    color: rgba(23, 48, 79, .75);
    line-height: 1.45;
    font-size: 16px;
}

.psb-zpm-start__steps {
    margin-top: 28px;
    border-radius: 26px;
    padding: 26px;
}

.psb-zpm-start__steps h2 {
    margin: 0 0 16px;
    font-size: 24px;
}

.psb-zpm-start__steps div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.psb-zpm-start__steps span {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(47, 158, 85, .1);
    color: var(--psb-zpm-dark);
    font-weight: 850;
}

.psb-zpm-start__footer-action {
    margin-top: 22px;
    text-align: center;
}

.psb-zpm-start__footer-action a {
    color: var(--psb-zpm-primary) !important;
    font-weight: 900;
    text-decoration: none !important;
}

@media (max-width: 1180px) {
    .psb-zpm__inner {
        padding: 10px 16px;
    }

    .psb-zpm__brand {
        min-width: auto;
    }

    .psb-zpm__brand-text {
        display: none;
    }

    .psb-zpm__links a {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
    }

    .psb-zpm__button {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 920px) {
    body.admin-bar .psb-zpm--auto {
        top: 46px;
    }

    .psb-zpm__inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .psb-zpm__logo {
        height: 48px;
        max-width: 138px;
    }

    .psb-zpm__brand-text {
        display: inline-flex;
        font-size: 16px;
    }

    .psb-zpm__toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .psb-zpm__panel {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 10px 0 6px;
    }

    .psb-zpm.is-open .psb-zpm__panel {
        display: flex;
    }

    .psb-zpm__links,
    .psb-zpm__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
    }

    .psb-zpm__links a,
    .psb-zpm__button {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .psb-zpm__dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 14px;
        margin-top: 8px;
        background: rgba(0, 84, 159, .05);
    }

    .psb-zpm__hint {
        justify-content: flex-start;
        gap: 8px;
        padding: 10px 16px;
    }

    .psb-zpm__hint span,
    .psb-zpm__hint a {
        width: 100%;
    }

    .psb-zpm-start {
        padding: 28px 16px 48px;
    }

    .psb-zpm-start__hero,
    .psb-zpm-start__cards,
    .psb-zpm-start__steps div {
        grid-template-columns: 1fr;
    }

    .psb-zpm-start__hero {
        min-height: 0;
    }

    .psb-zpm-start__content,
    .psb-zpm-start__logo-card {
        border-radius: 24px;
    }

    .psb-zpm-start__actions,
    .psb-zpm-start__button {
        width: 100%;
    }

    .psb-zpm-start__logo-card {
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    body.admin-bar .psb-zpm--auto {
        top: 0;
    }

    .psb-zpm__inner {
        padding: 9px 12px;
    }

    .psb-zpm__logo {
        height: 44px;
        max-width: 120px;
    }

    .psb-zpm__brand-text {
        font-size: 15px;
    }

    .psb-zpm__toggle {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .psb-zpm-start h1 {
        font-size: 34px;
    }

    .psb-zpm-start__content {
        padding: 26px 20px;
    }
}
