/* Fullscreen launcher/front door.
   This layer makes the admin Tool Catalog tier field visually matter:
   tier 1 = hero, tier 2 = standard, tier 3 = compact/supporting. */

/* Emergency display lock: hide all advertised per-tool credit prices until
   real vendor-rate costs are audited and approved as the source of truth. */
.launcher-cost-badge,
.launcher-menu-cost,
.card-cost-badge,
.tab-cost-badge,
.tab-picker-cost,
.wf-tool-row-cost,
.wf-tool-card-cost,
.mgc-cost {
    display: none !important;
}

.launcher-home {
    align-items: stretch;
    justify-content: stretch;
    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%);
}

.front-door-shell {
    padding: 0;
    min-height: 100dvh;
    overflow: hidden;
}

.front-door-home {
    position: relative;
    inset: auto;
    z-index: auto;
    display: block !important;
    min-height: 100dvh;
    overflow: hidden;
}

.front-door-floating-flow-door {
    position: fixed;
    top: clamp(18px, 3vh, 30px);
    right: clamp(22px, 4vw, 54px);
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid rgba(242, 200, 96, 0.78);
    border-radius: 999px;
    padding: 0 22px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 230, 130, 0.30), transparent 42%),
        linear-gradient(135deg, rgba(35, 23, 10, 0.98), rgba(242, 139, 60, 0.90));
    color: #fff8df;
    box-shadow:
        0 18px 44px rgba(242, 139, 60, 0.36),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.front-door-floating-flow-door:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.launcher-scroll {
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "browser grid";
    gap: 14px 22px;
    align-content: start;
    padding: clamp(18px, 3vh, 30px) clamp(22px, 4vw, 54px);
    overflow: hidden;
    scrollbar-width: none;
}

.launcher-scroll::before {
    content: none;
}

.launcher-scroll::-webkit-scrollbar {
    display: none;
}

.launcher-header {
    position: sticky;
    z-index: 6;
    top: 0;
    margin: 0;
    padding: clamp(22px, 4vh, 42px) clamp(20px, 4vw, 58px) clamp(18px, 3vh, 32px);
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 50% 10%, rgba(235, 176, 82, 0.22), rgba(126, 82, 29, 0.12) 36%, transparent 70%),
        linear-gradient(180deg, rgba(17, 12, 8, 0.94), rgba(17, 12, 8, 0.76) 72%, transparent);
    box-shadow: none;
    backdrop-filter: blur(18px);
    text-align: center;
}

.launcher-eyebrow {
    color: rgba(242, 200, 96, 0.82);
}

.launcher-headline {
    max-width: 920px;
    margin: 0 auto;
    font-size: clamp(2.4rem, 4.25vw, 5.05rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
}

.launcher-sub {
    max-width: 620px;
    margin: 12px auto 0;
    font-size: 0.98rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.58);
}

.launcher-stack-chips {
    display: none;
}

.launcher-actions {
    justify-content: center;
    margin-top: 14px;
}

.front-door-pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.front-door-pricing-cta a,
.front-door-pricing-cta button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    padding: 0 18px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 920;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.front-door-pricing-cta-primary {
    border: 1px solid rgba(242, 139, 60, 0.60);
    background: linear-gradient(135deg, #ff9a45, #f2c860);
    color: #1a0e05;
    box-shadow: 0 12px 32px rgba(242, 139, 60, 0.24);
}

.front-door-scrapbook-cta {
    min-width: clamp(210px, 17vw, 280px);
    border: 1px solid rgba(255, 224, 137, 0.86);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 244, 184, 0.40), transparent 40%),
        linear-gradient(135deg, #fff0b0 0%, #f2c860 38%, #f28b3c 100%);
    color: #1a0e05;
    box-shadow:
        0 18px 52px rgba(242, 139, 60, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.front-door-flow-door {
    border: 1px solid rgba(242, 200, 96, 0.74);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 230, 130, 0.28), transparent 38%),
        linear-gradient(135deg, rgba(36, 24, 11, 0.96), rgba(242, 139, 60, 0.88));
    color: #fff8df;
    box-shadow:
        0 16px 42px rgba(242, 139, 60, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

.front-door-pricing-cta-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.84);
}

.front-door-pricing-cta a:hover,
.front-door-pricing-cta button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.front-door-launch-pop {
    position: fixed;
    top: clamp(96px, 12vh, 148px);
    right: clamp(22px, 4vw, 58px);
    z-index: 46;
    width: min(360px, calc(100vw - 44px));
    box-sizing: border-box;
    padding: 18px;
    border: 1px solid rgba(242, 200, 96, 0.46);
    border-radius: 22px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 205, 93, 0.24), transparent 38%),
        linear-gradient(145deg, rgba(29, 20, 12, 0.96), rgba(11, 12, 17, 0.94));
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    color: #fff;
    backdrop-filter: blur(20px);
}

.front-door-launch-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font: inherit;
    font-size: 1.1rem;
    line-height: 1;
}

.front-door-launch-kicker {
    margin: 0 34px 8px 0;
    color: rgba(242, 200, 96, 0.88);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.front-door-launch-pop h2 {
    margin: 0;
    max-width: 270px;
    font-size: clamp(1.28rem, 1.65vw, 1.7rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.front-door-launch-pop p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    line-height: 1.45;
}

.front-door-launch-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.front-door-launch-form[hidden] {
    display: none;
}

.front-door-launch-form label {
    display: grid;
    gap: 6px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.front-door-launch-form input {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
}

.front-door-launch-form button {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8f3f, #f4ca57);
    color: #1b0f07;
    cursor: pointer;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(242, 139, 60, 0.28);
}

.front-door-launch-form button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.front-door-launch-status {
    min-height: 1.25em;
    color: rgba(242, 200, 96, 0.92) !important;
    font-weight: 800;
}

.launcher-browser-rail {
    grid-area: browser;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    position: sticky;
    top: clamp(18px, 3vh, 30px);
    height: calc(100dvh - (clamp(18px, 3vh, 30px) * 2));
    min-height: 0;
}

.wf-tools-cats {
    border-right-color: rgba(255, 255, 255, 0.08);
}

.wf-tools-cat {
    min-height: 30px;
    border-radius: 10px;
}

.wf-tools-cat:hover {
    background: rgba(255, 255, 255, 0.06);
}

.wf-tools-cat.is-active {
    background: rgba(242, 139, 60, 0.14);
}

.wf-tools-cat.is-active::before {
    background: #f28b3c;
}

.wf-tools-cat-name {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.72rem;
    font-weight: 760;
}

.wf-tools-cat-count {
    color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
}

.launcher-tool-menu {
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 10px;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.launcher-primary-nav {
    display: grid;
    gap: 8px;
}

.launcher-home-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    border: 1px solid rgba(242, 139, 60, 0.22);
    border-radius: 13px;
    padding: 10px 11px;
    background: rgba(242, 139, 60, 0.10);
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.launcher-home-item span {
    font-size: 0.82rem;
    font-weight: 900;
}

.launcher-home-item small {
    color: rgba(242, 200, 96, 0.70);
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.launcher-home-item.is-active {
    border-color: rgba(242, 139, 60, 0.48);
    background: rgba(242, 139, 60, 0.16);
}

.launcher-pricing-item.is-active {
    border-color: rgba(242, 200, 96, 0.56);
    background: rgba(242, 200, 96, 0.14);
}

.launcher-scrapbook-item {
    border-color: rgba(242, 200, 96, 0.58);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 230, 130, 0.24), transparent 42%),
        linear-gradient(135deg, rgba(35, 23, 10, 0.88), rgba(242, 139, 60, 0.24));
    box-shadow: 0 10px 28px rgba(242, 139, 60, 0.16);
}

.launcher-scrapbook-item:hover,
.launcher-scrapbook-item:focus-visible {
    border-color: rgba(242, 200, 96, 0.84);
    filter: brightness(1.06);
}

.launcher-account-menu {
    position: relative;
    min-width: 0;
}

.launcher-account-menu > summary {
    list-style: none;
}

.launcher-account-menu > summary::-webkit-details-marker {
    display: none;
}

.launcher-account-menu[open] > summary {
    border-color: rgba(242, 200, 96, 0.56);
    background: rgba(242, 200, 96, 0.14);
}

.launcher-account-menu-popover {
    display: grid;
    gap: 4px;
    max-height: min(52vh, 460px);
    overflow-y: auto;
    margin-top: 7px;
    padding: 8px;
    border: 1px solid rgba(242, 139, 60, 0.22);
    border-radius: 14px;
    background: rgba(11, 12, 17, 0.78);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28) inset;
}

.launcher-account-menu-popover button {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 820;
    text-align: left;
}

.launcher-account-menu-popover button:hover {
    background: rgba(242, 139, 60, 0.16);
    color: #fff;
}

.launcher-account-menu-label {
    margin: 8px 2px 2px;
    color: rgba(242, 200, 96, 0.70);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.launcher-account-menu-popover form {
    margin: 7px 0 0;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.launcher-account-menu-popover .launcher-account-logout {
    background: rgba(248, 113, 113, 0.12);
    color: #fecaca;
}

.launcher-account-menu-popover .launcher-account-logout:hover {
    background: rgba(248, 113, 113, 0.22);
    color: #fff;
}

.launcher-search {
    display: grid;
    grid-template-rows: auto 34px;
    gap: 5px;
    min-height: 53px;
    margin-bottom: 8px;
}

.launcher-search span {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.launcher-search input {
    display: block;
    width: 100%;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 9px 10px;
    background: rgba(0, 0, 0, 0.22);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    outline: none;
}

.launcher-search input:focus {
    border-color: rgba(242, 139, 60, 0.46);
    box-shadow: 0 0 0 3px rgba(242, 139, 60, 0.10);
}

.launcher-menu-preview {
    position: fixed;
    z-index: 2147483000;
    width: min(280px, calc(100vw - 320px));
    pointer-events: none;
    display: grid;
    gap: 8px;
    padding: 11px;
    border: 1px solid rgba(242, 139, 60, 0.24);
    border-radius: 15px;
    background: rgba(16, 12, 10, 0.92);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.launcher-menu-preview[hidden] {
    display: none !important;
}

.launcher-menu-preview-media {
    position: relative;
    width: 100%;
    height: 100px;
    max-height: 100px;
    overflow: hidden;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
}

.launcher-menu-preview-media img,
.launcher-menu-preview-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.launcher-menu-preview-media video,
.launcher-card[data-media-kind="video"] .launcher-card-media video {
    background: #05070a;
}

.launcher-menu-preview-media video:not([hidden]),
.launcher-card[data-media-kind="video"] .launcher-card-media video {
    position: absolute;
    inset: 0;
}

.launcher-menu-preview-media img[hidden],
.launcher-menu-preview-media video[hidden] {
    display: none !important;
}

.launcher-cycle-video,
.launcher-cycle-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 260ms ease;
    z-index: 1;
}

.launcher-cycle-video.is-active,
.launcher-cycle-image.is-active {
    opacity: 1;
    z-index: 2;
}

.launcher-menu-preview h2 {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.05;
    letter-spacing: -0.025em;
    min-height: 2.1em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.launcher-menu-preview p:not(.launcher-menu-label) {
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    line-height: 1.4;
    min-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.launcher-menu-groups {
    min-height: 0;
    overflow-y: auto;
    padding: 4px 2px 0 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.launcher-menu-group {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 7px;
    margin-top: 7px;
}

.launcher-menu-group:first-child {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.launcher-menu-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 4px;
    color: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    list-style: none;
    text-transform: uppercase;
}

.launcher-menu-group summary::-webkit-details-marker {
    display: none;
}

.launcher-menu-group summary::before {
    content: "›";
    color: rgba(242, 200, 96, 0.66);
    font-size: 1rem;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform 120ms ease;
}

.launcher-menu-group[open] summary::before {
    transform: rotate(90deg);
}

.launcher-menu-group summary span {
    flex: 1 1 auto;
}

.launcher-menu-group summary small {
    color: rgba(255, 255, 255, 0.34);
    font-size: 0.58rem;
    letter-spacing: 0.05em;
}

.launcher-menu-group-items {
    display: grid;
    gap: 2px;
}

.launcher-menu-label {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.launcher-menu-item,
.wf-tool-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    border: 0;
    padding: 7px 8px;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.91rem;
    font-weight: 750;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    text-align: left;
}

.launcher-menu-item.is-active {
    background: rgba(242, 139, 60, 0.14);
    color: #fff;
}

.launcher-menu-item:hover:not(.is-active),
.launcher-menu-item:focus-visible:not(.is-active) {
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.9);
}

.launcher-menu-item.is-active:hover,
.launcher-menu-item.is-active:focus-visible {
    background: rgba(242, 139, 60, 0.14);
    color: #fff;
}

.wf-tool-row:hover:not(.is-current),
.wf-tool-row:focus-visible:not(.is-current) {
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.9);
}

.launcher-menu-item small,
.wf-tool-row-type {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.70rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.launcher-menu-cost {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(242, 139, 60, 0.30);
    border-radius: 999px;
    background: rgba(242, 139, 60, 0.12);
    color: rgba(255, 214, 178, 0.94);
    font-size: 0.65rem;
    line-height: 1;
    padding: 3px 5px;
    white-space: nowrap;
}

.wf-tool-row-cost {
    flex: 0 0 auto;
    border: 1px solid rgba(242, 139, 60, 0.28);
    border-radius: 999px;
    background: rgba(242, 139, 60, 0.10);
    color: rgba(255, 213, 176, 0.92);
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 3px 6px;
}

.wf-tool-row {
    border: 0;
    width: 100%;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.78);
}

.wf-tool-row.is-current {
    background: rgba(242, 139, 60, 0.12);
    color: #fff;
}

.wf-tool-row.is-current:hover,
.wf-tool-row.is-current:focus-visible {
    background: rgba(242, 139, 60, 0.12);
    color: #fff;
}

.wf-tool-row-thumb {
    display: none;
}

.wf-tool-row-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.front-door-sections {
    grid-area: grid;
    width: 100%;
    height: calc(100dvh - (clamp(18px, 3vh, 30px) * 2));
    min-height: 0;
    max-width: none;
    margin: 0;
    overflow-y: auto;
    padding: 0 clamp(14px, 2vw, 24px) 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        rgba(5, 7, 10, 0.62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 26px 70px rgba(0, 0, 0, 0.26);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.front-door-tool-panel,
.front-door-pricing-panel {
    grid-area: grid;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: calc(100dvh - (clamp(18px, 3vh, 30px) * 2));
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
        rgba(5, 7, 10, 0.70);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 26px 70px rgba(0, 0, 0, 0.26);
}

.front-door-tool-panel[hidden],
.front-door-pricing-panel[hidden],
.front-door-sections[hidden] {
    display: none !important;
}

.front-door-tool-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
}

.front-door-tool-guest-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    max-width: min(460px, 42vw);
    padding: 9px 12px;
    border: 1px solid rgba(105, 210, 255, 0.55);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(105, 210, 255, 0.16), rgba(242, 139, 60, 0.10));
    color: rgba(232, 244, 255, 0.92);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.front-door-tool-guest-message strong {
    flex: 0 0 auto;
    color: #9ae6ff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.front-door-tool-guest-message span {
    min-width: 0;
}

.front-door-tool-panel-head h2 {
    margin: 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.1rem;
    letter-spacing: -0.025em;
}

.front-door-active-source {
    max-width: min(56vw, 760px);
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.25;
}

.front-door-utility-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.front-door-utility-nav a,
.front-door-utility-nav > button,
.front-door-help-menu > summary,
.front-door-help-menu-popover button,
.front-door-tool-home {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
}

.front-door-help-menu {
    position: relative;
}

.front-door-help-menu > summary {
    display: inline-flex;
    align-items: center;
    list-style: none;
}

.front-door-help-menu > summary::-webkit-details-marker {
    display: none;
}

.front-door-help-menu-popover {
    position: absolute;
    z-index: 20;
    right: 0;
    top: calc(100% + 8px);
    min-width: 170px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(10, 12, 18, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.front-door-help-menu:not([open]) .front-door-help-menu-popover {
    display: none;
}

.front-door-help-menu-popover a,
.front-door-help-menu-popover button {
    display: block;
    width: 100%;
    margin: 0;
    border-color: transparent;
    background: transparent;
    text-align: left;
}

.front-door-utility-nav a:hover,
.front-door-utility-nav > button:hover,
.front-door-help-menu > summary:hover,
.front-door-help-menu-popover a:hover,
.front-door-help-menu-popover button:hover,
.front-door-tool-home:hover {
    border-color: rgba(242, 139, 60, 0.42);
    color: #fff;
}

.front-door-tool-home {
    border-color: rgba(242, 139, 60, 0.34);
    background: rgba(242, 139, 60, 0.12);
    color: rgba(255, 218, 170, 0.94);
}

.front-door-tool-frame {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    outline: none;
    background: transparent;
}

.front-door-tool-frame:focus,
.front-door-tool-frame:focus-visible {
    outline: none;
}

.front-door-pricing-frame {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    background: transparent;
}

.front-door-section {
    margin: 42px 0 0;
}

.front-door-section--top {
    margin-top: 20px;
}

.front-door-section-head {
    margin: 0 0 14px;
}

.front-door-section-kicker {
    margin: 0 0 5px;
    color: rgba(242, 200, 96, 0.74);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.front-door-section h2,
.front-door-footer h2 {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.launcher-grid {
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    margin: 0;
    display: grid;
    align-self: start;
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 158px;
    gap: 12px;
    overflow: visible;
}

.launcher-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
    grid-auto-rows: 132px;
}

.launcher-grid--compact .launcher-card[data-tier="1"] {
    grid-column: span 1;
    grid-row: span 1;
}

.launcher-grid--compact .launcher-card[data-tier="1"] .launcher-card-media {
    min-height: 0;
}

.front-door-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 54px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
}

.front-door-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.front-door-footer-links a,
.front-door-footer-links button {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 8px 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.76);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.front-door-footer-links a:hover,
.front-door-footer-links button:hover {
    border-color: rgba(242, 139, 60, 0.42);
    color: #fff;
}

.launcher-card {
    overflow: hidden;
    min-height: 0;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.launcher-card:hover,
.launcher-card:focus-visible {
    outline: 1px solid rgba(242, 139, 60, 0.46);
    outline-offset: 2px;
}

.launcher-card--repeat {
    opacity: 0.92;
}

.wf-tool-card {
    position: relative;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.wf-tool-card:hover:not(.is-current),
.wf-tool-card:focus-visible:not(.is-current) {
    border-color: rgba(242, 139, 60, 0.36);
    background: rgba(255, 255, 255, 0.07);
    transform: none;
    box-shadow: none;
}

.wf-tool-card.is-current {
    border-color: rgba(242, 139, 60, 0.58);
    background: rgba(242, 139, 60, 0.12);
    box-shadow: none;
}

.wf-tool-card.is-current:hover,
.wf-tool-card.is-current:focus-visible {
    border-color: rgba(242, 139, 60, 0.58);
    background: rgba(242, 139, 60, 0.12);
    transform: none;
    box-shadow: none;
}

.wf-tool-card-cost {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.35);
    border-radius: 999px;
    background: rgba(10, 8, 6, 0.78);
    color: rgba(255, 219, 188, 0.96);
    font-size: 0.54rem;
    font-weight: 900;
    line-height: 1;
    padding: 3px 5px;
    pointer-events: none;
}

.launcher-card[data-tier="1"] {
    grid-column: span 2;
    grid-row: span 2;
}

.launcher-card[data-tier="1"] .launcher-card-media {
    aspect-ratio: auto;
    min-height: 180px;
    flex: 1 1 auto;
}

.launcher-card[data-tier="2"] .launcher-card-media {
    aspect-ratio: 16 / 10;
}

.launcher-card-media {
    position: relative;
    overflow: hidden;
}

.launcher-card[data-media-kind="video"] .launcher-card-media,
.launcher-card[data-tier="3"][data-media-kind="video"] .launcher-card-media {
    display: block;
}

.launcher-card-media img,
.launcher-card-media video {
    object-fit: cover;
}

.launcher-card[data-tier="2"] .launcher-card-media img,
.launcher-card[data-tier="2"] .launcher-card-media video {
    object-fit: cover;
}

.launcher-card-body {
    min-height: 0;
}

.launcher-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.launcher-cost-badge,
.mgc-cost {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(242, 139, 60, 0.30);
    border-radius: 999px;
    background: rgba(242, 139, 60, 0.12);
    color: rgba(255, 214, 178, 0.94);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.035em;
    line-height: 1;
    padding: 4px 7px;
    white-space: nowrap;
}

.launcher-card[data-tier="1"] .launcher-card-title {
    font-size: 1.04rem;
}

.launcher-card[data-tier="1"] .launcher-card-tagline {
    -webkit-line-clamp: 3;
}

.launcher-footer {
    display: none;
}

@media (max-width: 760px) {
    .launcher-scroll {
        height: auto;
        min-height: 100dvh;
        grid-template-columns: 1fr;
        grid-template-areas:
            "browser"
            "grid";
        overflow-y: visible;
    }

    .launcher-header {
        position: sticky;
        top: 0;
    }

    .launcher-browser-rail {
        height: auto;
        min-height: 0;
        position: relative;
        top: auto;
    }

    .launcher-tool-menu {
        max-height: 34vh;
    }

    .front-door-sections {
        height: auto;
        max-height: none;
    }

    .front-door-tool-panel {
        height: min(760px, 82dvh);
    }

    .front-door-launch-pop {
        top: auto;
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }
}

@media (max-width: 680px) {
    .launcher-scroll {
        padding: 18px 12px;
    }

    .launcher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 136px;
    }

    .front-door-section--top {
        margin-top: 20px;
    }

    .front-door-footer {
        align-items: start;
        flex-direction: column;
    }

    .launcher-card[data-tier="1"] {
        grid-column: span 2;
    }

    .launcher-card[data-tier="1"] .launcher-card-media {
        min-height: 140px;
    }
}
