/* Shared public frame only. Page forms, server state and admin styles are separate. */
.gr-public-page {
    margin: 0;
    min-height: 100vh;
}

.gr-public-page > form {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.gr-shell-content {
    width: min(1170px, calc(100% - 30px));
    margin-right: auto;
    margin-left: auto;
    padding-top: 50px;
    padding-bottom: 80px;
}

.gr-shell-header,
.gr-shell-header *,
.gr-shell-footer,
.gr-shell-footer * {
    box-sizing: border-box;
}

.gr-shell-header,
.gr-shell-footer {
    font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

.gr-shell-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid #e0e8e3;
    background: #fff;
    color: #10383c;
}

.gr-shell-header a,
.gr-shell-footer a {
    text-decoration: none;
}

.gr-shell-header__inner {
    display: grid;
    grid-template-columns: minmax(190px, 244px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 1.8vw, 28px);
    width: min(1200px, calc(100% - 48px));
    min-height: 74px;
    margin: 0 auto;
}

.gr-shell-header__brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    border-radius: 4px;
}

.gr-shell-header__brand img {
    display: block;
    width: 100%;
    max-width: 244px;
    height: auto;
}

.gr-shell-header__desktop,
.gr-shell-header__right {
    display: flex;
    align-items: center;
}

.gr-shell-header__desktop {
    justify-content: center;
    gap: clamp(18px, 1.9vw, 28px);
    white-space: nowrap;
}

.gr-shell-header__right {
    justify-self: end;
    gap: 18px;
    white-space: nowrap;
}

.gr-shell-header__link,
.gr-shell-more > summary,
.gr-shell-mobile-more > summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #10383c;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.gr-shell-header__link:hover,
.gr-shell-header__link:focus-visible,
.gr-shell-more > summary:hover,
.gr-shell-mobile-more > summary:hover {
    color: #347e68;
}

.gr-shell-header__link.is-active {
    color: #28654f;
    font-weight: 600;
}

.gr-shell-header__link--dealer {
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid #b7e3c9;
    border-radius: 7px;
    background: #eaf7ef;
    font-weight: 600;
}

.gr-shell-header__link--dealer:hover,
.gr-shell-header__link--dealer:focus-visible,
.gr-shell-header__link--dealer.is-active {
    border-color: #9bcfb0;
    background: #d8f0e1;
    color: #10383c;
}

.gr-shell-header__link--dealer:active {
    background: #c2ecd2;
}

.gr-shell-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #b7e3c9;
    border-radius: 7px;
    background: #c2ecd2;
    color: #10383c;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.gr-shell-header__cta:hover,
.gr-shell-header__cta:focus-visible,
.gr-shell-header__cta.is-active {
    border-color: #9bcfb0;
    background: #aee2c2;
    color: #10383c;
}

.gr-shell-header__cta:active {
    border-color: #80b997;
    background: #9ed5b3;
}

.gr-shell-header a:focus-visible,
.gr-shell-more > summary:focus-visible,
.gr-shell-mobile-menu > summary:focus-visible,
.gr-shell-mobile-more > summary:focus-visible {
    outline: 3px solid #347e68;
    outline-offset: 3px;
}

.gr-shell-more,
.gr-shell-mobile-menu {
    position: relative;
}

.gr-shell-more > summary,
.gr-shell-mobile-menu > summary,
.gr-shell-mobile-more > summary {
    list-style: none;
}

.gr-shell-more > summary::-webkit-details-marker,
.gr-shell-mobile-menu > summary::-webkit-details-marker,
.gr-shell-mobile-more > summary::-webkit-details-marker {
    display: none;
}

.gr-shell-more > summary::marker,
.gr-shell-mobile-menu > summary::marker,
.gr-shell-mobile-more > summary::marker {
    content: "";
}

.gr-shell-more > summary {
    gap: 9px;
    border-radius: 4px;
}

.gr-shell-more__chevron {
    flex: none;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.gr-shell-more__panel,
.gr-shell-mobile-menu__panel {
    display: none;
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #dfe8e2;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 56, 60, .08);
}

.gr-shell-more__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1;
    flex-direction: column;
    gap: 2px;
    width: 244px;
    max-width: calc(100vw - 36px);
    padding: 7px;
}

.gr-shell-more[open] > .gr-shell-more__panel,
.gr-shell-mobile-menu[open] > .gr-shell-mobile-menu__panel {
    display: flex;
}

.gr-shell-more__panel a,
.gr-shell-mobile-menu__panel .gr-shell-header__link {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 6px;
    color: #10383c;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.gr-shell-more__panel a:hover,
.gr-shell-mobile-menu__panel .gr-shell-header__link:hover {
    background: #f2f7f3;
    color: #28654f;
}

.gr-shell-more__panel a:active,
.gr-shell-mobile-menu__panel .gr-shell-header__link:active {
    background: #e5f2e9;
}

.gr-shell-mobile-menu {
    display: none;
}

.gr-shell-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gr-shell-footer {
    width: 100%;
    margin-top: auto;
    padding: 30px 0 18px;
    background: #10383c;
    color: #eef4f0;
}

.gr-shell-footer a {
    color: inherit;
}

.gr-shell-footer__inner,
.gr-shell-footer__bottom {
    width: min(1200px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.gr-shell-footer__inner {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.gr-shell-footer__brand {
    display: inline-flex;
    justify-self: start;
    align-items: center;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    background: #fff;
}

.gr-shell-footer__brand img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}

.gr-shell-footer__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    min-width: 0;
}

.gr-shell-footer__contact a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 44px;
    padding: 3px 0;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.gr-shell-footer__contact span {
    color: #b6d4c2;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gr-shell-footer__contact strong {
    font-weight: 500;
}

.gr-shell-footer__privacy {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #d5e2dc;
    font-size: 13px;
}

.gr-shell-footer__contact a,
.gr-shell-footer__privacy {
    transition: color 150ms ease;
}

.gr-shell-footer__contact a:hover,
.gr-shell-footer__privacy:hover {
    color: #c2ecd2;
}

.gr-shell-footer a:focus-visible {
    outline: 2px solid #c2ecd2;
    outline-offset: 4px;
}

.gr-shell-footer__bottom {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: #bfd1cb;
    font-size: 11px;
}

@media (max-width: 1099.98px) {
    .gr-shell-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
        min-height: 68px;
    }

    .gr-shell-header__brand img {
        max-width: min(244px, 58vw);
    }

    .gr-shell-header__desktop,
    .gr-shell-header__right {
        display: none;
    }

    .gr-shell-header__inner > .gr-shell-mobile-menu {
        display: block;
        grid-row: 1;
        grid-column: 2;
        justify-self: end;
    }

    .gr-shell-mobile-menu > summary {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid #d9e5de;
        border-radius: 7px;
        background: #fff;
        cursor: pointer;
    }

    .gr-shell-mobile-menu__icon {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 19px;
    }

    .gr-shell-mobile-menu__icon i {
        display: block;
        width: 19px;
        height: 1.5px;
        border-radius: 2px;
        background: #10383c;
    }

    .gr-shell-mobile-menu__panel {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        flex-direction: column;
        gap: 3px;
        width: min(320px, calc(100vw - 36px));
        padding: 9px;
    }

    .gr-shell-mobile-menu__panel > *,
    .gr-shell-mobile-more__links a {
        flex-shrink: 0;
    }

    .gr-shell-mobile-menu__divider {
        height: 1px;
        margin: 5px 6px;
        background: #e8efea;
    }

    .gr-shell-mobile-more > summary {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 12px;
        border-radius: 6px;
    }

    .gr-shell-mobile-more > summary:hover {
        background: #f2f7f3;
    }

    .gr-shell-mobile-more__links {
        padding: 0 0 6px 12px;
    }

    .gr-shell-mobile-menu__panel .gr-shell-header__cta {
        width: 100%;
        margin-top: 6px;
    }

    .gr-shell-footer__inner {
        grid-template-columns: 204px minmax(0, 1fr);
        gap: 18px 28px;
    }

    .gr-shell-footer__privacy {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 700px) {
    .gr-shell-footer__inner {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 20px;
    }

    .gr-shell-footer__contact {
        align-items: flex-start;
        gap: 14px 28px;
    }

    .gr-shell-footer__privacy {
        grid-column: 1;
    }

    .gr-shell-footer__bottom {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .gr-shell-header__inner,
    .gr-shell-footer__inner,
    .gr-shell-footer__bottom {
        width: calc(100% - 36px);
    }

    .gr-shell-header__inner {
        min-height: 64px;
    }

    .gr-shell-header__brand img {
        max-width: min(226px, 62vw);
    }

    .gr-shell-footer {
        padding-top: 26px;
    }

    .gr-shell-footer__contact {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gr-shell-header a,
    .gr-shell-more > summary,
    .gr-shell-mobile-more > summary,
    .gr-shell-footer a {
        transition: none;
    }
}
