/* Shared product navigation used by Create, My Renders, and result pages. */
.simple-create-nav,
.dash-product-nav,
.dr-product-nav {
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 38px);
    min-height: 42px;
}

.simple-create-nav {
    display: inline-flex;
    justify-self: center;
    padding: 0;
}

/* The app nav lives at the top of the Create shell as a flex-column child
   of .launcher-scroll, so both the Create grid and the My Renders view sit
   directly underneath the exact same nav. No per-view duplication. */
.front-door-app-nav {
    flex: 0 0 auto;
    display: flex !important;
    align-self: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(22px, 3vw, 38px);
    margin: 0 0 12px !important;
    padding: 0 !important;
    min-height: 42px;
    z-index: 30;
}

.dash-product-nav,
.dr-product-nav {
    display: flex;
    margin: 0 0 18px;
}

.simple-create-nav a,
.simple-create-nav button,
.dash-product-nav a,
.dash-product-nav button,
.dr-product-nav a,
.dr-product-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.74);
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 780;
    line-height: 1.2;
    min-height: 38px;
    padding: 0 2px 6px;
    text-decoration: none;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    vertical-align: bottom;
}

.simple-create-nav a,
.simple-create-nav button {
    font-size: 0.92rem;
}

.simple-create-nav .product-nav-brand,
.dash-product-nav .product-nav-brand,
.dr-product-nav .product-nav-brand {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
    margin: 0 clamp(4px, 1vw, 12px) 0 0;
    min-height: 38px;
    padding: 5px 12px;
    text-decoration: none;
}

.simple-create-nav .product-nav-brand img,
.dash-product-nav .product-nav-brand img,
.dr-product-nav .product-nav-brand img {
    display: block;
    height: 25px;
    max-width: min(160px, 32vw);
    object-fit: contain;
    width: auto;
}

.simple-create-nav .product-nav-brand:hover,
.simple-create-nav .product-nav-brand:focus,
.simple-create-nav .product-nav-brand:focus-visible,
.dash-product-nav .product-nav-brand:hover,
.dash-product-nav .product-nav-brand:focus,
.dash-product-nav .product-nav-brand:focus-visible,
.dr-product-nav .product-nav-brand:hover,
.dr-product-nav .product-nav-brand:focus,
.dr-product-nav .product-nav-brand:focus-visible {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
    outline: none;
}

.simple-create-nav a:hover,
.simple-create-nav button:hover,
.simple-create-nav .is-active,
.dash-product-nav a:hover,
.dash-product-nav button:hover,
.dash-product-nav .is-active,
.dr-product-nav a:hover,
.dr-product-nav button:hover,
.dr-product-nav .is-active {
    border-bottom-color: #f28b3c;
    color: #fff;
    box-shadow: none;
    outline: none;
}

.simple-create-nav .product-nav-brand:hover,
.simple-create-nav .product-nav-brand:focus,
.simple-create-nav .product-nav-brand:focus-visible,
.dash-product-nav .product-nav-brand:hover,
.dash-product-nav .product-nav-brand:focus,
.dash-product-nav .product-nav-brand:focus-visible,
.dr-product-nav .product-nav-brand:hover,
.dr-product-nav .product-nav-brand:focus,
.dr-product-nav .product-nav-brand:focus-visible {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
    color: inherit;
    outline: none;
}

/* No boxed focus ring — underline only, same as hover/active. */
.simple-create-nav a:focus,
.simple-create-nav a:focus-visible,
.simple-create-nav button:focus,
.simple-create-nav button:focus-visible,
.dash-product-nav a:focus,
.dash-product-nav a:focus-visible,
.dash-product-nav button:focus,
.dash-product-nav button:focus-visible,
.dr-product-nav a:focus,
.dr-product-nav a:focus-visible,
.dr-product-nav button:focus,
.dr-product-nav button:focus-visible {
    outline: none;
    box-shadow: none;
}

.simple-create-nav a:focus-visible:not(.is-active),
.simple-create-nav button:focus-visible:not(.is-active),
.dash-product-nav a:focus-visible:not(.is-active),
.dash-product-nav button:focus-visible:not(.is-active),
.dr-product-nav a:focus-visible:not(.is-active),
.dr-product-nav button:focus-visible:not(.is-active) {
    border-bottom-color: rgba(242, 139, 60, 0.55);
    color: #fff;
}

.simple-create-nav .product-nav-pricing-link {
    gap: 7px;
}

.simple-create-nav .product-nav-pricing-link em {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 0 6px;
    border: 1px solid rgba(93, 232, 136, 0.26);
    border-radius: 999px;
    background: rgba(93, 232, 136, 0.08);
    color: #7dffa5;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 680;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.simple-create-nav .product-nav-pricing-link:hover em,
.simple-create-nav .product-nav-pricing-link:focus-visible em,
.simple-create-nav .product-nav-pricing-link.is-active em {
    border-color: rgba(93, 232, 136, 0.42);
    background: rgba(93, 232, 136, 0.12);
    color: #a6ffbd;
}

.simple-create-nav .product-nav-brand,
.simple-create-nav .product-nav-brand:hover,
.simple-create-nav .product-nav-brand:focus,
.simple-create-nav .product-nav-brand:focus-visible,
.dash-product-nav .product-nav-brand,
.dash-product-nav .product-nav-brand:hover,
.dash-product-nav .product-nav-brand:focus,
.dash-product-nav .product-nav-brand:focus-visible,
.dr-product-nav .product-nav-brand,
.dr-product-nav .product-nav-brand:hover,
.dr-product-nav .product-nav-brand:focus,
.dr-product-nav .product-nav-brand:focus-visible {
    border-color: rgba(255, 255, 255, 0.78);
    border-bottom-color: rgba(255, 255, 255, 0.78);
    color: inherit;
}

/* Unified shell background for non-Create pages (Account, Result, etc.) so
   they read as the same app as the Create / My Renders shell. Mirrors the
   gradient used by .launcher-home in 26-launcher-fullscreen.css. */
.page-shell.account-page-shell,
.page-shell.about-shell,
.page-shell.support-shell,
main.page-shell.pricing-shell:not(.pricing-shell--embedded) {
    min-height: 100dvh;
    background:
        radial-gradient(circle at 15% 0%, rgba(242, 139, 60, 0.16), transparent 34%),
        radial-gradient(circle at 85% 8%, rgba(50, 170, 255, 0.12), transparent 32%),
        linear-gradient(180deg, #07090d 0%, #0d1016 100%);
    color: rgba(255, 255, 255, 0.92);
}

.page-shell.about-shell .marketing-page-top,
.page-shell.support-shell .marketing-page-top,
main.page-shell.pricing-shell:not(.pricing-shell--embedded) .marketing-page-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    padding-top: clamp(12px, 2vh, 22px);
}

.page-shell.about-shell .marketing-page-top .front-door-app-nav,
.page-shell.support-shell .marketing-page-top .front-door-app-nav,
main.page-shell.pricing-shell:not(.pricing-shell--embedded) .marketing-page-top .front-door-app-nav {
    margin-bottom: 0 !important;
}

.page-shell.account-page-shell .dash-page,
.page-shell.account-page-shell .dr-page {
    width: min(1680px, calc(100vw - 72px));
    margin: 0 auto;
    padding: clamp(18px, 3vh, 30px) clamp(22px, 4vw, 54px) 60px;
    box-sizing: border-box;
}

/* When the shared nav is used on Account/Result, treat it like the Create
   shell's front-door-app-nav: top-of-page, centered, no extra spacing.
   `display: flex` + `justify-content: center` from the base rule already
   centers the links horizontally inside the .dash-page wrapper. */
.page-shell.account-page-shell .front-door-app-nav {
    margin: 0 0 18px !important;
    padding: 0 !important;
}

@media (max-width: 760px) {
    .page-shell.account-page-shell .dash-page,
    .page-shell.account-page-shell .dr-page {
        width: 100%;
    }
    .front-door-app-nav {
        gap: 10px 18px;
        max-width: min(96vw, 520px);
    }
    .simple-create-nav a,
    .simple-create-nav button {
        font-size: 0.84rem;
        min-height: 32px;
        padding-bottom: 4px;
    }
}
