@font-face {
    font-family: "Lexend";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/lexend/lexend-latin-ext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
        U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
        U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Lexend";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/lexend/lexend-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist/geist-cyrillic.woff2") format("woff2");
    unicode-range:
        U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist/geist-latin-ext.woff2") format("woff2");
    unicode-range:
        U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
        U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
        U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist/geist-latin.woff2") format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
        U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
        U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    color-scheme: dark;
    --bg: #000000;
    --bg-soft: #020203;
    --bg-strong: #06070a;
    --line: #13151a;
    --line-subtle: #0c0e12;
    --text: #f1f3f7;
    --text-secondary: #cfd4dd;
    --muted: #a1a7b2;
    --brand-rgb: 63, 56, 82;
    --brand-strong-rgb: 86, 77, 112;
    --brand: #3f3852;
    --brand-strong: #564d70;
    --brand-dim: rgba(63, 56, 82, 0.16);
    --brand-soft: rgba(63, 56, 82, 0.28);
    --brand-contrast: #f1f3f7;
    --interactive-hover-bg: #1e1e24;
    --interactive-hover-line: #2a2a32;
    --overlay-scrim: rgba(7, 6, 5, 0.78);
    --surface-inline-bg: rgba(255, 255, 255, 0.035);
    --search-offer-bg: linear-gradient(
        135deg,
        #211a31 0%,
        #171223 52%,
        #120f1b 100%
    );
    --search-offer-bg-active: linear-gradient(
        135deg,
        #2a2140 0%,
        #1b1528 52%,
        #14101d 100%
    );
    --search-offer-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(var(--brand-rgb), 0.08);
    --search-offer-shadow-active:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(var(--brand-rgb), 0.16);
    --service-offer-bg: linear-gradient(
        135deg,
        #1a1d24 0%,
        #141619 52%,
        #111214 100%
    );
    --service-offer-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(var(--brand-rgb), 0.08);
    --search-offer-title: #bcaeea;
    --search-offer-icon: #9f8bd8;
    --search-offer-accent: #9f8bd8;
    --search-offer-accent-strong: #bcaeea;
    --cap-card-bg: linear-gradient(135deg, #381b20 0%, #1e1114 100%);
    --cap-card-border: rgba(179, 107, 114, 0.34);
    --cap-card-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 0 1px rgba(179, 107, 114, 0.08);
    --cap-card-icon: #e2bcc0;
    --success-fg: #d7ecd8;
    --success-fg-strong: #b5dcc2;
    --warning-fg: #e2b087;
    --paper-shell-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04);
    --grain-accent-rgb: 20, 18, 28;
    --grain-ambient-opacity: 0.055;
    --grain-surface-opacity: 0.065;
    --grain-paper-opacity: 0.092;
    --grain-ambient-blend: lighten;
    --grain-surface-blend: screen;
    --grain-paper-blend: multiply;
    --text-muted: #999999;
    --page-scale: 0.9;
    --ok: #93bc9f;
    --bad: #c07c84;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

:root[data-theme="light"] {
    color-scheme: light;
    --bg: #f6f1e8;
    --bg-soft: #fbf7ef;
    --bg-strong: #efe7da;
    --line: #d8cfbf;
    --line-subtle: #e8dfd1;
    --text: #241f19;
    --text-secondary: #5e554a;
    --muted: #7b7267;
    --brand-rgb: 255, 154, 92;
    --brand-strong-rgb: 239, 135, 71;
    --brand: #ff9a5c;
    --brand-strong: #ef8747;
    --brand-dim: rgba(255, 154, 92, 0.16);
    --brand-soft: rgba(255, 154, 92, 0.24);
    --brand-contrast: #fffaf4;
    --interactive-hover-bg: #e8dfd2;
    --interactive-hover-line: #cfc4b3;
    --overlay-scrim: rgba(74, 60, 42, 0.24);
    --surface-inline-bg: rgba(102, 86, 59, 0.06);
    --search-offer-bg: linear-gradient(
        135deg,
        #fff0e5 0%,
        #fbe6d7 52%,
        #f5dbc8 100%
    );
    --search-offer-bg-active: linear-gradient(
        135deg,
        #ffe7d5 0%,
        #f8dcc8 52%,
        #f1cfb8 100%
    );
    --search-offer-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        0 0 0 1px rgba(var(--brand-rgb), 0.08);
    --search-offer-shadow-active:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 0 0 1px rgba(var(--brand-rgb), 0.14);
    --service-offer-bg: linear-gradient(
        135deg,
        #fff2e8 0%,
        #f6e5d8 52%,
        #ecd8c8 100%
    );
    --service-offer-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 0 0 1px rgba(var(--brand-rgb), 0.08);
    --search-offer-title: #b35f2f;
    --search-offer-icon: #d97439;
    --search-offer-accent: #d97439;
    --search-offer-accent-strong: #b35f2f;
    --cap-card-bg: linear-gradient(135deg, #f1dfdd 0%, #e9d3d1 100%);
    --cap-card-border: rgba(179, 107, 114, 0.28);
    --cap-card-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 0 0 1px rgba(179, 107, 114, 0.06);
    --cap-card-icon: #a86f77;
    --success-fg: #416b4f;
    --success-fg-strong: #315a40;
    --warning-fg: #8b5d3e;
    --paper-shell-shadow:
        0 10px 24px rgba(85, 63, 35, 0.08),
        0 1px 2px rgba(85, 63, 35, 0.05);
    --grain-accent-rgb: 112, 93, 63;
    --grain-ambient-opacity: 0.058;
    --grain-surface-opacity: 0.09;
    --grain-paper-opacity: 0.108;
    --grain-ambient-blend: multiply;
    --grain-surface-blend: multiply;
    --grain-paper-blend: multiply;
    --text-muted: #746b60;
    --shadow-sm: 0 1px 2px rgba(85, 63, 35, 0.12);
    --shadow-md: 0 8px 20px rgba(85, 63, 35, 0.12);
    --shadow-lg: 0 18px 40px rgba(85, 63, 35, 0.16);
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        color-scheme: light;
        --bg: #f6f1e8;
        --bg-soft: #fbf7ef;
        --bg-strong: #efe7da;
        --line: #d8cfbf;
        --line-subtle: #e8dfd1;
        --text: #241f19;
        --text-secondary: #5e554a;
        --muted: #7b7267;
        --brand-rgb: 255, 154, 92;
        --brand-strong-rgb: 239, 135, 71;
        --brand: #ff9a5c;
        --brand-strong: #ef8747;
        --brand-dim: rgba(255, 154, 92, 0.16);
        --brand-soft: rgba(255, 154, 92, 0.24);
        --brand-contrast: #fffaf4;
        --interactive-hover-bg: #e8dfd2;
        --interactive-hover-line: #cfc4b3;
        --overlay-scrim: rgba(74, 60, 42, 0.24);
        --surface-inline-bg: rgba(102, 86, 59, 0.06);
        --search-offer-bg: linear-gradient(
            135deg,
            #fff0e5 0%,
            #fbe6d7 52%,
            #f5dbc8 100%
        );
        --search-offer-bg-active: linear-gradient(
            135deg,
            #ffe7d5 0%,
            #f8dcc8 52%,
            #f1cfb8 100%
        );
        --search-offer-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.48),
            0 0 0 1px rgba(var(--brand-rgb), 0.08);
        --search-offer-shadow-active:
            inset 0 1px 0 rgba(255, 255, 255, 0.58),
            0 0 0 1px rgba(var(--brand-rgb), 0.14);
        --service-offer-bg: linear-gradient(
            135deg,
            #fff2e8 0%,
            #f6e5d8 52%,
            #ecd8c8 100%
        );
        --service-offer-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.42),
            0 0 0 1px rgba(var(--brand-rgb), 0.08);
        --search-offer-title: #b35f2f;
        --search-offer-icon: #d97439;
        --search-offer-accent: #d97439;
        --search-offer-accent-strong: #b35f2f;
        --cap-card-bg: linear-gradient(135deg, #f1dfdd 0%, #e9d3d1 100%);
        --cap-card-border: rgba(179, 107, 114, 0.28);
        --cap-card-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.45),
            0 0 0 1px rgba(179, 107, 114, 0.06);
        --cap-card-icon: #a86f77;
        --success-fg: #416b4f;
        --success-fg-strong: #315a40;
        --warning-fg: #8b5d3e;
        --paper-shell-shadow:
            0 10px 24px rgba(85, 63, 35, 0.08),
            0 1px 2px rgba(85, 63, 35, 0.05);
        --grain-accent-rgb: 112, 93, 63;
        --grain-ambient-opacity: 0.058;
        --grain-surface-opacity: 0.09;
        --grain-paper-opacity: 0.108;
        --grain-ambient-blend: multiply;
        --grain-surface-blend: multiply;
        --grain-paper-blend: multiply;
        --text-muted: #746b60;
        --shadow-sm: 0 1px 2px rgba(85, 63, 35, 0.12);
        --shadow-md: 0 8px 20px rgba(85, 63, 35, 0.12);
        --shadow-lg: 0 18px 40px rgba(85, 63, 35, 0.16);
    }
}


* {
    box-sizing: border-box;
}
html {
    background: var(--bg);
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Lexend", "Helvetica Neue", sans-serif;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.58;
}
body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}
body::before {
    z-index: 0;
    background:
        radial-gradient(
            760px 320px at 50% -6%,
            rgba(var(--grain-accent-rgb), 0.022),
            transparent 72%
        ),
        linear-gradient(
            180deg,
            rgba(var(--grain-accent-rgb), 0.01),
            var(--bg) 62%
        );
    background:
        radial-gradient(
            760px 320px at 50% -6%,
            rgba(var(--grain-accent-rgb), 0.022),
            transparent 72%
        ),
        linear-gradient(
            180deg,
            color-mix(
                in oklab,
                var(--bg) 100%,
                rgba(var(--grain-accent-rgb), 0.01)
            ),
            var(--bg) 62%
        );
}
body::after {
    z-index: 1;
    opacity: var(--grain-ambient-opacity);
    mix-blend-mode: var(--grain-ambient-blend);
    background-image: var(--route-bible-grain-image, none);
    background-repeat: repeat;
    background-position: left top;
    background-size: 512px auto;
    -webkit-mask-image: radial-gradient(
        ellipse at 50% 34%,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.45) 28%,
        rgba(0, 0, 0, 0.86) 70%,
        #000 100%
    );
    mask-image: radial-gradient(
        ellipse at 50% 34%,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.45) 28%,
        rgba(0, 0, 0, 0.86) 70%,
        #000 100%
    );
}
main {
    position: relative;
    z-index: 2;
    width: min(1100px, 94vw);
    margin: 0 auto;
    padding: 28px 16px 56px;
    zoom: var(--page-scale);
}
.panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    padding: 34px;
    box-shadow: var(--shadow-lg);
}
.panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: calc(var(--grain-surface-opacity) - 0.015);
    mix-blend-mode: var(--grain-surface-blend);
    background-image: var(--route-bible-grain-image, none);
    background-repeat: repeat;
    background-position: left top;
    background-size: 512px auto;
}
.panel > * {
    position: relative;
    z-index: 1;
}
.section-card {
    border: 1px solid var(--line-subtle);
    background: var(--bg-strong);
    padding: 24px;
}


.info-stack {
    display: grid;
    gap: 16px;
}
.ext-hero {
    display: grid;
    gap: 12px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 22px;
    border: 1px solid var(--line);
    background:
        linear-gradient(
            135deg,
            rgba(var(--brand-rgb), 0.1),
            rgba(var(--brand-rgb), 0.03)
        ),
        var(--bg-soft);
}
.info-hero,
.info-section {
    display: grid;
    gap: 12px;
}
.info-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 22px;
    border: 1px solid var(--line);
    background:
        linear-gradient(
            135deg,
            rgba(var(--brand-rgb), 0.1),
            rgba(var(--brand-rgb), 0.03)
        ),
        var(--bg-soft);
}
.info-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.info-card-bright {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    gap: 12px;
    padding: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(var(--brand-rgb), 0.12),
            rgba(var(--brand-rgb), 0.04)
        ),
        var(--bg-strong);
    border: 1px solid var(--line);
}
.ext-hero::before,
.info-hero::before,
.info-card-bright::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: var(--grain-surface-opacity);
    mix-blend-mode: var(--grain-surface-blend);
    background-image: var(--route-bible-grain-image, none);
    background-repeat: repeat;
    background-position: left top;
    background-size: 512px auto;
}
.ext-hero > *,
.info-hero > *,
.info-card-bright > * {
    position: relative;
    z-index: 1;
}
.info-card-bright h2 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-strong);
}
.info-eyebrow {
    margin: 0;
    color: var(--brand-strong);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.info-lead {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.65;
}
.info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.info-actions > .button {
    width: auto;
    min-width: 190px;
}
.info-card-bright p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}
.info-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.info-card-bright .info-list {
    color: var(--text);
}
.info-list-ordered {
    padding-left: 22px;
}
.info-list li::marker {
    color: var(--brand-strong);
}
.info-card-bright li::marker {
    color: var(--brand);
}
.info-token,
.info-inline-url {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    line-height: 1.35;
}
.info-token {
    padding: 0.16rem 0.56rem;
    border: 1px solid rgba(var(--brand-strong-rgb), 0.4);
    background: var(--brand-dim);
    color: var(--text);
    font-size: 0.86em;
    font-weight: 650;
    letter-spacing: 0.01em;
}
.info-inline-url {
    padding: 0.16rem 0.56rem;
    border: 1px solid var(--line);
    background: var(--surface-inline-bg);
    color: var(--text);
    font-family: "Geist", "Helvetica Neue", sans-serif;
    font-size: 0.84em;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}
.shortcuts-hero {
    gap: 16px;
}
.shortcuts-meta {
    display: grid;
    gap: 10px;
}
.shortcuts-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.shortcuts-meta-label {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.shortcuts-title-link {
    color: inherit;
    text-decoration: none;
    transition:
        color 0.15s ease,
        opacity 0.15s ease;
}
.shortcuts-title-link:focus-visible {
    outline: none;
    color: var(--brand-strong);
}
@media (hover: hover) {
    .shortcuts-title-link:hover {
        color: var(--brand-strong);
    }
}
.shortcuts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.shortcut-card {
    align-content: start;
    gap: 14px;
}
.shortcut-card .info-list {
    gap: 12px;
    padding-left: 20px;
}
.integrate-workbench,
.integrate-form,
.integrate-snippet-card,
.integrate-embed-section {
    gap: 16px;
}
.integrate-workbench {
    display: grid;
}
.integrate-form {
    display: grid;
}
.integrate-form-copy {
    display: grid;
    gap: 8px;
}
.integrate-form-copy > p {
    margin: 0;
}
.integrate-form-actions {
    margin-top: 4px;
}
.integrate-snippet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.integrate-snippet-card {
    align-content: start;
}
.integrate-snippet-card > p {
    margin: 0;
}
.integrate-snippet-card .info-inline-url {
    width: fit-content;
    max-width: 100%;
}
.integrate-embed-section {
    display: grid;
}
.integrate-embed-header {
    align-items: flex-start;
}
.integrate-embed-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.integrate-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-section > p,
.faq-item > p {
    margin: 0;
    color: var(--text-secondary);
}
@media (max-width: 900px) {
    .integrate-snippet-grid,
    .integrate-embed-grid,
    .integrate-note-grid,
    .shortcuts-grid {
        grid-template-columns: 1fr;
    }
}
.faq-list {
    gap: 0;
}
.faq-item + .faq-item {
    padding-top: 14px;
    border-top: 1px solid var(--line-subtle);
}
.panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    z-index: 3;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(var(--brand-rgb), 0.68) 30%,
        rgba(var(--brand-strong-rgb), 0.68) 70%,
        transparent 100%
    );
}
.monologue-grain {
    user-select: none;
    mix-blend-mode: var(--grain-ambient-blend);
    opacity: calc(var(--grain-ambient-opacity) + 0.005);
    pointer-events: none;
    z-index: 12;
    position: fixed;
    inset: 0;
    overflow: hidden;
}
.monologue-grain__tile {
    position: absolute;
    inset: 0;
    background-image: var(--route-bible-grain-image, none);
    background-repeat: repeat;
    background-position: left top;
    background-size: 512px auto;
}


.header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-subtle);
}
.header > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}
h1,
h2 {
    margin: 0;
    letter-spacing: -0.02em;
    font-weight: 700;
}
h1 {
    font-size: clamp(1.55rem, 1.1rem + 1.2vw, 2rem);
}
h2 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}
.subtitle {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex: 0 0 auto;
}
.header-copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    color: color-mix(in oklab, var(--muted) 86%, var(--text) 1%);
    box-shadow: none;
    opacity: 0.58;
    line-height: 0;
}
.header-copy-button svg {
    display: block;
    flex: 0 0 auto;
}
.header-copy-button:focus-visible {
    border-color: var(--line-subtle);
    background: color-mix(in oklab, var(--bg-strong) 90%, transparent);
    color: var(--text);
    opacity: 1;
}
.header-copy-button.is-copied {
    color: var(--ok);
    opacity: 1;
}
.header-copy-button.is-failed {
    color: var(--bad);
    opacity: 1;
}
@media (hover: hover) {
    .header-copy-button:hover {
        border-color: var(--line-subtle);
        background: color-mix(in oklab, var(--bg-strong) 90%, transparent);
        color: var(--text);
        opacity: 1;
    }
}


.input-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.passage-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.passage-row input {
    flex: 1;
    min-width: 0;
}
.passage-row select {
    width: auto;
    min-width: 90px;
    flex: 0 0 auto;
}
.builder-search-offer {
    display: flex;
}
.builder-search-button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 14px;
    border: 1px solid
        color-mix(in oklab, var(--line) 64%, var(--brand) 36%);
    background: color-mix(
        in oklab,
        var(--bg-strong) 88%,
        rgba(var(--brand-rgb), 0.12)
    );
    text-align: left;
}
.builder-search-button:focus-visible {
    border-color: var(--brand-strong);
    background: color-mix(
        in oklab,
        var(--bg-strong) 82%,
        rgba(var(--brand-strong-rgb), 0.16)
    );
}
@media (hover: hover) {
    .builder-search-button:hover {
        border-color: var(--brand-strong);
        background: color-mix(
            in oklab,
            var(--bg-strong) 82%,
            rgba(var(--brand-strong-rgb), 0.16)
        );
    }
}
.builder-search-icon {
    width: 12px;
    height: 20px;
    display: block;
    flex: 0 0 auto;
    color: var(--brand-strong);
}
.builder-search-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.builder-search-title {
    color: color-mix(in oklab, var(--muted) 82%, var(--brand) 18%);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.builder-search-label {
    min-width: 0;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.builder-search-cta {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}
.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;
}
label {
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}
input,
select,
textarea,
button,
a.button {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--text);
    padding: 0 14px;
    font: inherit;
    font-size: 0.95rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
input.input-valid {
    border-color: var(--ok);
}
input.input-invalid {
    border-color: var(--bad);
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand-dim);
}
input.input-valid:focus {
    border-color: var(--ok);
    box-shadow: 0 0 0 1px rgba(126, 168, 143, 0.3);
}
input.input-invalid:focus {
    border-color: var(--bad);
    box-shadow: 0 0 0 1px rgba(179, 107, 114, 0.3);
}
textarea {
    min-height: 68px;
    padding: 10px 14px;
    resize: vertical;
    font-family: "SF Mono", "Menlo", "Consolas", monospace;
    font-size: 0.82rem;
    line-height: 1.6;
}
button {
    cursor: pointer;
    background: var(--bg-strong);
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        transform 0.1s ease;
}
@media (hover: hover) {
    button:hover {
        background: var(--interactive-hover-bg);
        border-color: var(--interactive-hover-line);
    }
    button:disabled:hover {
        background: var(--bg-strong);
        border-color: var(--line);
    }
    button.primary:hover,
    a.button.primary:hover {
        background: var(--brand-strong);
        border-color: var(--brand-strong);
    }
}
button.primary:focus-visible,
a.button.primary:focus-visible {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
}
button:active {
    transform: scale(0.98);
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.78;
    transform: none;
}
button.primary,
a.button.primary {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--brand-contrast);
    font-weight: 700;
}
button.primary.is-busy {
    position: relative;
    overflow: hidden;
}
button.primary.is-busy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.22) 48%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: button-sweep 1.1s linear infinite;
    pointer-events: none;
}
button.primary.is-confirmed,
button.primary.is-confirmed:focus-visible {
    background: rgba(126, 168, 143, 0.16);
    border-color: rgba(126, 168, 143, 0.45);
    color: var(--success-fg);
}
@media (hover: hover) {
    button.primary.is-confirmed:hover {
        background: rgba(126, 168, 143, 0.16);
        border-color: rgba(126, 168, 143, 0.45);
        color: var(--success-fg);
    }
}
@keyframes button-sweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
a {
    color: var(--brand-strong);
    transition: color 0.15s ease;
}
@media (hover: hover) {
    a:hover {
        color: var(--warning-fg);
    }
}
a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
#builder-open-link {
    font-weight: 600;
}
.builder-inline-open {
    display: none;
    margin-top: 2px;
}
.parsed {
    border: 1px solid var(--line);
    background: var(--bg-strong);
    padding: 10px 14px;
    margin: 0;
    font-weight: 600;
    font-size: 0.92rem;
}
.parsed.ok {
    border-color: var(--ok);
    background: rgba(126, 168, 143, 0.06);
}
.parsed.bad {
    border-color: var(--bad);
    color: var(--bad);
    background: rgba(179, 107, 114, 0.06);
}
.preview {
    border: none;
    padding: 0 0 14px;
    margin-top: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 0.96rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.preview-ref {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 6px;
}
.preview-text {
    margin: 0;
    max-width: 66ch;
    overflow: hidden;
}
.preview-text.is-clamped {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.preview-toggle {
    width: auto;
    min-height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--brand-strong);
    text-align: left;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 8px;
    transition: none;
}
.preview-toggle:active {
    transform: none;
}
.preview-toggle:focus-visible {
    color: var(--warning-fg);
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (hover: hover) {
    .preview-toggle:hover {
        color: var(--warning-fg);
        text-decoration: underline;
        text-underline-offset: 2px;
    }
}
.preview.clamped {
    margin: 0;
    margin-top: 16px;
    word-break: break-word;
}


.quick-search {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-left: auto;
    max-width: min(620px, 100%);
}
.quick-search-actions {
    display: inline-flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 8px;
    min-height: 42px;
}
.quick-search-field {
    display: contents;
}
.quick-search-input {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(420px, calc(100vw - 40px));
    min-height: 42px;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--text);
    font-size: 16px;
    z-index: 40;
    box-shadow: var(--shadow-md);
    transition:
        opacity 170ms ease,
        transform 170ms ease,
        border-color 100ms ease;
}
.quick-search[data-open="true"] .quick-search-input {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.quick-search[data-state="ready"] .quick-search-input {
    border-color: var(--ok);
}
.quick-search[data-state="invalid"] .quick-search-input {
    border-color: var(--bad);
}
.quick-search-button {
    width: auto;
    min-width: 92px;
    min-height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--text-secondary);
    cursor: pointer;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}
.quick-search-button svg {
    width: 15px;
    height: 15px;
}
.quick-search-label {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
@media (hover: hover) {
    .quick-search-button:hover {
        color: var(--text);
        border-color: var(--text-secondary);
    }
}
.quick-search.is-tertiary .quick-search-button {
    min-width: 42px;
    padding: 0;
}
.quick-search.is-tertiary .quick-search-label {
    display: none;
}
.quick-search.is-launcher-toolbar {
    gap: 0;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    max-width: 100%;
    overflow: hidden;
}
.quick-search.is-launcher-toolbar .quick-search-hint {
    display: none;
}
.quick-search.is-launcher-toolbar .quick-search-button {
    min-width: 96px;
    min-height: 40px;
    border: none;
    background: transparent;
}
.quick-search.is-launcher-toolbar .launcher-toolbar-actions {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    min-height: 40px;
}
.quick-search.is-launcher-toolbar .launcher-toolbar-button,
.quick-search.is-launcher-toolbar .launcher-toolbar-select {
    min-height: 40px;
    border: none;
    border-left: 1px solid var(--line);
    background: transparent;
}
.quick-search.is-launcher-toolbar .launcher-toolbar-select {
    width: 84px;
    min-width: 84px;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
    background-image: none;
}
.quick-search.is-launcher-toolbar .launcher-toolbar-toggle {
    width: 70px;
    min-width: 70px;
    padding: 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.quick-search.is-launcher-toolbar
    .launcher-toolbar-toggle[aria-pressed="true"] {
    color: var(--brand-strong);
    background: rgba(var(--brand-rgb), 0.12);
}
.quick-search.is-launcher-toolbar[data-open="true"]
    .quick-search-input {
    width: min(440px, calc(100vw - 28px));
}
.quick-search[data-state="ready"] .quick-search-button {
    border-color: var(--ok);
    color: var(--ok);
}
.quick-search[data-state="invalid"] .quick-search-button {
    border-color: var(--bad);
    color: var(--bad);
}
.quick-share-button {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--muted);
    cursor: pointer;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}
.quick-share-button svg {
    width: 18px;
    height: 18px;
}
@media (hover: hover) {
    .quick-share-button:hover,
    .quick-share-button:focus-visible {
        border-color: var(--brand);
        color: var(--brand-strong);
    }
}
.quick-search-hint {
    position: absolute;
    top: calc(100% + 56px);
    right: 0;
    width: min(420px, calc(100vw - 40px));
    margin: 0;
    min-height: 16px;
    text-align: left;
    font-size: 0.74rem;
    color: var(--muted);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    z-index: 40;
    transition:
        opacity 170ms ease,
        transform 170ms ease;
}
.quick-search[data-open="true"] .quick-search-hint {
    opacity: 1;
    transform: translateY(0);
}
.quick-search[data-state="ready"] .quick-search-hint {
    color: var(--ok);
}
.quick-search[data-state="invalid"] .quick-search-hint {
    color: var(--bad);
}
.quick-search-search-offer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 2px 0 0;
    padding: 10px 12px;
    border: 1px solid
        color-mix(
            in oklab,
            var(--brand-strong) 58%,
            var(--line) 42%
        );
    background: var(--search-offer-bg);
    box-shadow: var(--search-offer-shadow);
    text-align: left;
}
.quick-search-search-offer:focus-visible {
    border-color: var(--brand-strong);
    background: var(--search-offer-bg-active);
    box-shadow: var(--search-offer-shadow-active);
}
@media (hover: hover) {
    .quick-search-search-offer:hover {
        border-color: var(--brand-strong);
        background: var(--search-offer-bg-active);
        box-shadow: var(--search-offer-shadow-active);
    }
}
.quick-search-search-icon {
    width: 10px;
    height: 17px;
    display: block;
    color: var(--search-offer-icon);
    flex: 0 0 auto;
}
.quick-search-search-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.quick-search-search-title {
    color: var(--search-offer-title);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.quick-search-search-label {
    min-width: 0;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.quick-search-service-offer.launcher-adapter {
    margin: 2px 0 0;
    padding: 10px 12px;
    text-align: left;
    background: var(--service-offer-bg);
    box-shadow: var(--service-offer-shadow);
}
.passage-cap-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--cap-card-border);
    background: var(--cap-card-bg);
    box-shadow: var(--cap-card-shadow);
    text-align: left;
}
.quick-search-cap-card {
    position: absolute;
    top: calc(100% + 54px);
    right: 0;
    width: min(420px, calc(100vw - 40px));
    margin: 0;
    z-index: 40;
}
.builder-cap-card {
    margin-top: 12px;
}
.passage-cap-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    color: var(--cap-card-icon);
    flex: 0 0 auto;
    padding-top: 1px;
}
.passage-cap-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}
.passage-cap-eyebrow {
    color: var(--cap-card-icon);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.passage-cap-title {
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.45;
}
.quick-search-go {
    display: none;
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ok);
    border-left: none;
    background: rgba(147, 188, 159, 0.1);
    color: var(--ok);
    cursor: pointer;
    flex: 0 0 36px;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}
.quick-search-go svg {
    display: block;
}
@media (hover: hover) {
    .quick-search-go:hover,
    .quick-search-go:focus-visible {
        background: rgba(147, 188, 159, 0.18);
        border-color: var(--ok);
        color: var(--success-fg-strong);
    }
}
.quick-search[data-state="ready"] .quick-search-go {
    display: inline-flex;
}
.quick-search[data-state="idle"]:has(
        .quick-search-search-offer:not(.hidden)
    )
    .quick-search-input {
    border-color: var(--search-offer-accent);
}
.quick-search[data-state="idle"]:has(
        .quick-search-search-offer:not(.hidden)
    )
    .quick-search-button {
    border-color: var(--search-offer-accent);
    color: var(--search-offer-accent);
}
.quick-search[data-state="idle"]:has(
        .quick-search-search-offer:not(.hidden)
    )
    .quick-search-go {
    display: inline-flex;
    border-color: var(--search-offer-accent);
    background: rgba(159, 139, 216, 0.1);
    color: var(--search-offer-accent);
}
@media (hover: hover) {
    .quick-search[data-state="idle"]:has(
            .quick-search-search-offer:not(.hidden)
        )
        .quick-search-go:hover,
    .quick-search[data-state="idle"]:has(
            .quick-search-search-offer:not(.hidden)
        )
        .quick-search-go:focus-visible {
        background: rgba(159, 139, 216, 0.18);
        border-color: var(--search-offer-accent-strong);
        color: var(--search-offer-accent-strong);
    }
}


.two-pane {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px 32px;
}
body.route-view-info .header {
    flex-wrap: nowrap;
}
body.route-view-builder .quick-search,
body.route-view-info .quick-search {
    --builder-search-gap: 8px;
    --builder-search-width: clamp(260px, 28vw, 420px);
    gap: 0;
    justify-content: flex-end;
    min-width: 0;
    overflow: visible;
}
body.route-view-info .quick-search .quick-search-button {
    flex-shrink: 0;
}
body.route-view-builder .quick-search .quick-search-field,
body.route-view-info .quick-search .quick-search-field {
    display: flex;
    align-items: stretch;
    width: 0;
    min-width: 0;
    margin-right: 0;
    overflow: hidden;
    visibility: hidden;
    transition:
        width 170ms ease,
        margin-right 170ms ease,
        visibility 170ms step-end;
}
body.route-view-builder
    .quick-search[data-open="true"]
    .quick-search-field {
    width: min(var(--builder-search-width), calc(100vw - 180px));
    margin-right: var(--builder-search-gap);
    visibility: visible;
    transition:
        width 170ms ease,
        margin-right 170ms ease,
        visibility 0s linear;
}
body.route-view-info
    .quick-search[data-open="true"]
    .quick-search-field {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin-right: var(--builder-search-gap);
    visibility: visible;
    transition:
        flex 170ms ease,
        margin-right 170ms ease,
        visibility 0s linear;
}
body.route-view-builder .quick-search .quick-search-input,
body.route-view-info .quick-search .quick-search-input {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    box-shadow: none;
    z-index: auto;
}
body.route-view-builder .quick-search .quick-search-hint,
body.route-view-info .quick-search .quick-search-hint {
    display: none;
}



.launcher-layout {
    display: grid;
    gap: 12px;
    min-height: 0;
    flex: 1 1 auto;
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    overflow: hidden;
}
.launcher-apps-panel {
    display: grid;
    gap: 8px;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    transform: translateZ(0);
    backface-visibility: hidden;
}
.launcher-section-label {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.launcher-preview-card {
    display: grid;
    gap: 6px;
    padding-top: 10px;
}
.launcher-preview-trigger {
    display: none;
    width: auto;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid color-mix(in oklab, var(--line) 74%, var(--brand) 26%);
    background: color-mix(
        in oklab,
        var(--bg-strong) 92%,
        rgba(var(--brand-rgb), 0.08)
    );
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 600;
}
.launcher-preview-trigger:focus-visible {
    border-color: var(--brand-strong);
    background: color-mix(
        in oklab,
        var(--bg-strong) 84%,
        rgba(var(--brand-strong-rgb), 0.12)
    );
}
@media (hover: hover) {
    .launcher-preview-trigger:hover {
        border-color: var(--brand-strong);
        background: color-mix(
            in oklab,
            var(--bg-strong) 84%,
            rgba(var(--brand-strong-rgb), 0.12)
        );
    }
}
.launcher-preview {
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    line-height: 1.48;
    font-size: 0.94rem;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.launcher-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    padding: 18px;
    display: grid;
    align-items: center;
    transition: none;
    overflow: hidden;
}
.launcher-preview-scrim {
    position: absolute;
    inset: 0;
    background: var(--overlay-scrim);
    backdrop-filter: blur(4px);
}
.launcher-preview-dialog {
    position: relative;
    width: min(100%, 480px);
    justify-self: center;
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    box-shadow: var(--shadow-lg);
    max-height: min(76dvh, 560px);
    overflow: auto;
}
.launcher-preview-dialog > * {
    min-width: 0;
}
.launcher-preview-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.launcher-preview-close {
    width: auto;
    min-height: 32px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
}
.launcher-preview-close:focus-visible {
    border-color: var(--text-secondary);
    color: var(--text);
    background: var(--bg-strong);
}
@media (hover: hover) {
    .launcher-preview-close:hover {
        border-color: var(--text-secondary);
        color: var(--text);
        background: var(--bg-strong);
    }
}
.launcher-preview-dialog-ref {
    margin: 0;
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.launcher-preview-dialog-text {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.94rem;
}
.launcher-catalog-dialog {
    width: min(100%, 680px);
    max-height: min(82dvh, 760px);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto auto auto minmax(0, 1fr);
    gap: 14px;
}
.launcher-catalog-search {
    min-height: 42px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--text);
    padding: 0 12px;
    font-size: 16px;
}
.launcher-catalog-search:focus-visible {
    border-color: var(--brand-strong);
    outline: none;
}
.launcher-catalog-search-wrap {
    position: relative;
}
.launcher-catalog-enter-hint {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-family: inherit;
    font-size: 11px;
    font-weight: 450;
    letter-spacing: 0.01em;
    color: var(--text-muted);
    opacity: 0.7;
    pointer-events: none;
    user-select: none;
}
.launcher-catalog-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.launcher-catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.launcher-catalog-tab {
    width: auto;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.launcher-catalog-tab[aria-selected="true"] {
    border-color: var(--brand);
    background: rgba(var(--brand-rgb), 0.14);
    color: var(--text);
}
.launcher-catalog-tabs[data-search-active="true"]
    .launcher-catalog-tab[aria-selected="true"] {
    border-color: var(--line);
    background: var(--bg-strong);
    color: var(--muted);
}
.launcher-catalog-subtab-select {
    margin-left: auto;
    width: auto;
    min-height: 32px;
    padding: 0 8px;
    padding-right: 32px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--muted);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position:
        calc(100% - 16px) calc(50% - 2px),
        calc(100% - 11px) calc(50% - 2px);
    background-size: 5px 5px;
    background-repeat: no-repeat;
    flex-shrink: 0;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
@media (hover: hover) {
    .launcher-catalog-subtab-select:hover {
        border-color: var(--brand-dim);
    }
}
.launcher-catalog-subtab-select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand-dim);
}
.launcher-catalog-subtab-select option {
    background: var(--bg-strong);
    color: var(--text);
}
.launcher-catalog-subtab-select[hidden],
.launcher-catalog-tabs[data-search-active="true"]
    + .launcher-catalog-subtab-select {
    display: none;
}
.launcher-catalog-summary {
    margin: 0;
    font-size: 0.8rem;
}
.launcher-catalog-results {
    min-height: 0;
    max-height: min(52dvh, 420px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
}
.launcher-catalog-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: stretch;
}
.launcher-catalog-row > .launcher-adapter,
.launcher-catalog-row > .launcher-catalog-pin {
    border-top-color: transparent;
}
.launcher-catalog-row.is-first-visible > .launcher-adapter,
.launcher-catalog-row.is-first-visible > .launcher-catalog-pin {
    border-top-color: color-mix(in oklab, var(--line) 76%, var(--brand) 24%);
}
.launcher-catalog-row[data-draggable="true"] {
    -webkit-user-select: none;
    user-select: none;
}
.launcher-catalog-row[data-draggable="true"] > .launcher-adapter {
    cursor: grab;
}
.launcher-catalog-row.is-dragging {
    background: rgba(var(--brand-rgb), 0.1);
    box-shadow: inset 0 0 0 1px var(--brand);
}
.launcher-catalog-row.is-dragging > .launcher-adapter,
.launcher-catalog-row.is-dragging > .launcher-catalog-pin {
    border-color: var(--brand);
}
.launcher-catalog-row.is-touch-dragging {
    position: relative;
    z-index: 10;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px var(--brand);
    pointer-events: none;
    will-change: transform;
}
.launcher-catalog-results > .launcher-catalog-row > .launcher-adapter {
    min-height: 50px;
    align-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
}
.launcher-catalog-results
    > .launcher-catalog-row[data-one-time-completed="true"]
    > .launcher-adapter[data-low-priority="true"] {
    opacity: 0.45;
}
.launcher-catalog-results
    > .launcher-catalog-row[data-one-time-completed="true"]
    > .launcher-adapter[data-low-priority="true"]
    .launcher-adapter-icon,
.launcher-catalog-results
    > .launcher-catalog-row[data-one-time-completed="true"]
    > .launcher-adapter[data-low-priority="true"]
    .launcher-adapter-label {
    opacity: 1;
}
.launcher-catalog-results
    > .launcher-catalog-row
    > .launcher-adapter
    .launcher-adapter-icon,
.launcher-catalog-results
    > .launcher-catalog-row
    > .launcher-adapter
    .launcher-adapter-label {
    align-self: center;
}
.launcher-catalog-pin {
    min-height: 50px;
    padding: 0;
    border: 1px solid color-mix(in oklab, var(--line) 76%, var(--brand) 24%);
    background: color-mix(
        in oklab,
        var(--bg-strong) 94%,
        rgba(var(--brand-rgb), 0.04)
    );
    color: var(--muted);
}
.launcher-catalog-pin svg {
    width: 16px;
    height: 16px;
    display: block;
    margin: 0 auto;
}
.launcher-catalog-row[data-pinned="true"] .launcher-catalog-pin {
    background: rgba(var(--brand-rgb), 0.16);
    border-color: var(--brand);
    color: var(--brand-strong);
}
.launcher-catalog-pin:focus-visible {
    position: relative;
    z-index: 2;
    outline: 2px solid var(--brand-strong);
    outline-offset: -2px;
}
@media (hover: hover) {
    .launcher-catalog-pin:hover:not([disabled]) {
        color: var(--text);
        background: color-mix(
            in oklab,
            var(--bg-strong) 84%,
            rgba(var(--brand-strong-rgb), 0.12)
        );
        border-color: var(--brand);
    }
}
.launcher-catalog-pin[disabled] {
    opacity: 0.5;
    cursor: default;
}
.launcher-catalog-row[data-one-time-adapter="true"] > .launcher-catalog-pin[disabled] {
    opacity: 1;
}
.preview.muted {
    color: var(--muted);
}
@keyframes pulse-loading {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}
.preview.is-loading {
    animation: pulse-loading 1.5s ease-in-out infinite;
    pointer-events: none;
}
.row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.row > * {
    flex: 1 1 0;
}
.chooser {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
}
.chooser > .launcher-adapter + .launcher-adapter {
    border-top-width: 0;
}
.launcher-preview-card > .remember-toggle {
    margin-top: 2px;
}
@media (hover: hover) {
    .chooser > .launcher-adapter:hover:not([disabled]) {
        position: relative;
        z-index: 1;
        border-top-width: 1px;
    }
    .launcher-catalog-results
        > .launcher-catalog-row[data-one-time-completed="true"]
        > .launcher-adapter[data-low-priority="true"]:hover {
        transform: none;
        box-shadow: none;
        background: var(--bg-strong);
        border-color: color-mix(in oklab, var(--line) 76%, var(--brand) 24%);
    }
}
.bible-position {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    padding: 8px 14px;
}
.bible-position-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.bible-position-head span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    text-transform: none;
}
.bible-position-head strong {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}
.bible-position-ruler-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
}
.bible-position-ruler {
    position: relative;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--line);
}
.bible-position-ruler-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 2px;
    background: var(--brand);
    transition: width 0.3s ease;
}
.bible-position-marker {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--brand-strong);
    border: 2px solid var(--bg-strong);
    box-shadow: 0 0 0 1px var(--brand);
}
.bible-position-book-label {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--muted);
    user-select: none;
}
.chooser button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}
.launcher-footer {
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line-subtle);
}
.launcher-qr-aside {
    display: none;
}
.launcher-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    min-width: 0;
    flex: 1 1 0;
}
.launcher-qr-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    background: #f7f5f0;
    border: 1px solid #dcd5c6;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.launcher-qr-frame::before,
.qr-card.is-pretty::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: var(--grain-paper-opacity);
    mix-blend-mode: var(--grain-paper-blend);
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.02)),
        var(--route-bible-grain-image, none);
    background-repeat: no-repeat, repeat;
    background-position:
        center,
        left top;
    background-size:
        auto,
        512px auto;
}
.launcher-qr-frame > *,
.qr-card.is-pretty > * {
    position: relative;
    z-index: 1;
}
.launcher-qr-frame-inner {
    flex: 1 1 0;
    min-height: 0;
    aspect-ratio: 1;
    border: 2px solid #2c2a28;
    padding: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.launcher-qr-frame-inner::after {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid #2c2a28;
    pointer-events: none;
}
.launcher-qr-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.launcher-qr-ref {
    margin: 0;
    padding-top: 3px;
    color: #2c2a28;
    font-family: "Geist", "Helvetica Neue", sans-serif;
    font-size: 0.5rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
}
body.route-view-launcher {
    --launcher-keyboard-inset: 0px;
    overflow: hidden;
}
body.route-view-launcher main {
    height: 100dvh;
    padding: 20px 14px;
    overflow: hidden;
}
body.route-view-launcher .panel {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px 22px 14px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
}
body.route-view-launcher .panel::after {
    opacity: 0.07;
}
body.route-view-launcher .header {
    margin-bottom: 12px;
    padding-bottom: 12px;
}
body.route-view-builder main {
    padding: 20px 14px;
}
body.route-view-builder .panel {
    padding: 20px 22px 14px;
}
body.route-view-launcher section.input-stack {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
}
body.route-view-launcher .quick-search.is-docked-footer {
    width: 100%;
    margin: 0;
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: visible;
}
body.route-view-launcher .quick-search.is-docked-footer .quick-search-field {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    order: 1;
}
body.route-view-launcher .quick-search.is-docked-footer .quick-search-input {
    position: static;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: 1px solid var(--line);
    box-shadow: none;
    background: transparent;
    z-index: auto;
    min-height: 34px;
    font-size: 16px;
}
body.route-view-launcher .quick-search.is-docked-footer .quick-search-button {
    display: none;
}
body.route-view-launcher .quick-search.is-docked-footer .quick-search-go,
body.route-view-launcher
    .quick-search.is-docked-footer
    .launcher-toolbar-actions {
    order: 2;
}
body.route-view-launcher .quick-search.is-docked-footer .quick-search-hint {
    display: none;
}
body.route-view-launcher .quick-search.is-docked-footer .quick-search-go {
    min-height: 34px;
    width: 34px;
    min-width: 34px;
    flex: 0 0 34px;
}
body.route-view-launcher
    .quick-search.is-docked-footer
    .launcher-toolbar-actions {
    flex: 0 0 auto;
}
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-service-offer.launcher-adapter,
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-search-offer,
body.route-view-launcher .quick-search.is-docked-footer .quick-search-cap-card {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    top: auto;
    bottom: 100%;
    z-index: 8;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 55px;
    padding: 8px 10px;
    margin: 0;
    border-style: solid;
    border-width: 1px 1px 0;
    border-bottom: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(var(--brand-rgb), 0.06);
    line-height: 1;
}
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-search-icon,
body.route-view-launcher .quick-search.is-docked-footer .passage-cap-icon,
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-service-offer
    .launcher-adapter-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 0;
}
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-search-icon
    svg,
body.route-view-launcher .quick-search.is-docked-footer .passage-cap-icon svg,
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-service-offer
    .launcher-adapter-icon
    img,
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-service-offer
    .launcher-adapter-icon
    svg {
    width: 14px;
    height: 14px;
}
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-search-copy,
body.route-view-launcher .quick-search.is-docked-footer .passage-cap-copy,
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-service-offer
    .launcher-adapter-label {
    min-width: 0;
    display: grid;
    gap: 2px;
    line-height: 1.1;
}
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-search-title,
body.route-view-launcher .quick-search.is-docked-footer .passage-cap-eyebrow,
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-service-offer
    .launcher-adapter-title {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
}
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-service-offer.launcher-adapter
    .launcher-adapter-subtitle,
body.route-view-launcher
    .quick-search.is-docked-footer
    .quick-search-search-label,
body.route-view-launcher .quick-search.is-docked-footer .passage-cap-title {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
}
body.route-view-launcher
    .quick-search.is-docked-footer[data-state="ready"]
    .quick-search-input {
    border-color: var(--ok);
}
body.route-view-launcher
    .quick-search.is-docked-footer[data-state="invalid"]
    .quick-search-input {
    border-color: var(--bad);
}
body.route-view-launcher
    .quick-search.is-launcher-toolbar
    .quick-search-button {
    min-width: 82px;
}
body.route-view-launcher #launcher-chooser {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding-right: 2px;
    padding-bottom: calc(20px + var(--launcher-keyboard-inset, 0px));
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: paint;
}
body.route-view-launcher .launcher-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    min-width: 0;
    order: 4;
}
body.route-view-launcher .shell-meta {
    display: none;
}
body.route-view-launcher .selah-badge {
    min-height: 28px;
    padding: 0 8px;
    font-size: 0.62rem;
}
body.preview-modal-open {
    overflow: hidden;
}
.launcher-share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid color-mix(in oklab, var(--line) 72%, var(--brand) 28%);
    background: color-mix(
        in oklab,
        var(--bg-strong) 90%,
        rgba(var(--brand-rgb), 0.09)
    );
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0 14px;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}
.launcher-share-link:focus-visible {
    background: color-mix(
        in oklab,
        var(--bg-strong) 84%,
        rgba(var(--brand-strong-rgb), 0.14)
    );
    border-color: var(--brand-strong);
    color: var(--text);
}
@media (hover: hover) {
    .launcher-share-link:hover {
        background: color-mix(
            in oklab,
            var(--bg-strong) 84%,
            rgba(var(--brand-strong-rgb), 0.14)
        );
        border-color: var(--brand-strong);
        color: var(--text);
    }
}
.launcher-share-link.is-featured-root {
    background: var(--brand);
    border-color: var(--brand-strong);
    color: var(--brand-contrast);
    box-shadow: 0 0 0 1px rgba(var(--brand-rgb), 0.16);
}
.launcher-share-link.is-featured-root:focus-visible {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
    color: var(--brand-contrast);
}
@media (hover: hover) {
    .launcher-share-link.is-featured-root:hover {
        background: var(--brand-strong);
        border-color: var(--brand-strong);
        color: var(--brand-contrast);
    }
}
.launcher-adapter {
    min-height: 38px;
    display: grid;
    grid-template-columns: var(--adapter-grid-cols, auto minmax(0, 1fr));
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
    line-height: 1;
    padding: clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px);
    border-color: color-mix(in oklab, var(--line) 76%, var(--brand) 24%);
    background: color-mix(
        in oklab,
        var(--bg-strong) 50%,
        rgba(var(--brand-rgb), 0.02)
    );
    transition:
        background-color 0.12s ease,
        border-color 0.12s ease;
}
.launcher-adapter:focus-visible {
    outline: none;
    box-shadow: none;
}
@media (hover: hover) {
    .launcher-adapter:hover:not([disabled]) {
        background: color-mix(
            in oklab,
            var(--bg-strong) 84%,
            rgba(var(--brand-strong-rgb), 0.12)
        );
        border-color: var(--brand);
    }
}
.launcher-adapter:active {
    transform: none;
}
.launcher-adapter[data-launch-state="opening"] {
    position: relative;
    z-index: 1;
    border-color: var(--brand);
    background: color-mix(
        in oklab,
        var(--bg-strong) 78%,
        rgba(var(--brand-strong-rgb), 0.16)
    );
    pointer-events: none;
}
.chooser > .launcher-adapter + .launcher-adapter[data-launch-state="opening"] {
    border-top-width: 1px;
    margin-top: -1px;
}
.launcher-adapter[data-launch-state="opening"] .launcher-adapter-title::after {
    content: " · Opening...";
    color: var(--brand-strong);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
}
.launcher-adapter[data-launch-state="opening"] .launcher-adapter-subtitle {
    color: color-mix(in oklab, var(--brand-strong) 74%, var(--text) 26%);
}
.launcher-adapter-icon {
    width: var(--adapter-icon-width, 24px);
    height: var(--adapter-icon-width, 24px);
    flex: 0 0 var(--adapter-icon-width, 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    background: var(--adapter-icon-bg, transparent);
    border-radius: var(--adapter-icon-radius, 0);
    color: var(--adapter-icon-color, inherit);
    overflow: var(--adapter-icon-overflow, visible);
}
.launcher-adapter-icon.is-wordmark {
    width: var(--adapter-icon-width, 30px);
    height: auto;
    flex-basis: var(--adapter-icon-width, 30px);
}
.launcher-adapter-icon svg {
    width: var(--adapter-icon-img-size, 100%);
    height: var(--adapter-icon-img-size, 100%);
    display: block;
}
.launcher-adapter-icon img {
    width: var(--adapter-icon-img-size, 100%);
    height: var(--adapter-icon-img-size, 100%);
    display: block;
    object-fit: cover;
    border-radius: 7px;
    transform: scale(var(--adapter-icon-img-scale, 1));
}
.launcher-adapter-icon img[data-fit="contain"] {
    object-fit: contain;
    border-radius: 0;
}
:root[data-theme="light"] .launcher-adapter-icon img[data-theme="invert"] {
    filter: invert(1) brightness(1.12);
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"])
        .launcher-adapter-icon
        img[data-theme="invert"] {
        filter: invert(1) brightness(1.12);
    }
}
.launcher-adapter-icon-more {
    color: color-mix(
        in oklab,
        var(--search-offer-accent-strong) 36%,
        var(--text) 64%
    );
}
.launcher-adapter-icon-more-chip {
    fill: color-mix(
        in oklab,
        var(--search-offer-accent) 5%,
        var(--bg-strong) 95%
    );
}
.launcher-adapter-icon-more-dot {
    fill: currentColor;
}
.launcher-adapter-label {
    min-width: 0;
    display: grid;
    gap: 3px;
    align-items: start;
    align-self: center;
    line-height: 1.1;
}
.launcher-adapter-title-row {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.launcher-adapter-title {
    color: var(--text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}
.launcher-adapter-title-hidden {
    display: none;
}
.launcher-adapter-subtitle {
    color: color-mix(in oklab, var(--muted) 88%, var(--brand) 12%);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.launcher-adapter-label[data-inline-subtitle="true"] {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
}
.launcher-adapter-label[data-inline-subtitle="true"]
    .launcher-adapter-subtitle {
    font-weight: 320;
    color: color-mix(in oklab, var(--muted) 90%, var(--brand) 10%);
}
.launcher-adapter-more {
    border-color: color-mix(
        in oklab,
        var(--search-offer-accent-strong) 9%,
        var(--line) 91%
    );
    background: linear-gradient(
        135deg,
        color-mix(
                in oklab,
                var(--search-offer-accent) 0.75%,
                var(--bg-strong) 97%
            )
            0%,
        color-mix(
                in oklab,
                var(--search-offer-accent) 0.35%,
                var(--bg-strong) 98.75%
            )
            54%,
        color-mix(
                in oklab,
                var(--search-offer-accent) 0.15%,
                var(--bg-strong) 99.25%
            )
            100%
    );
    touch-action: manipulation;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.launcher-adapter-more .launcher-adapter-title {
    color: color-mix(in oklab, var(--search-offer-title) 24%, var(--text) 76%);
}
.launcher-adapter-more .launcher-adapter-subtitle {
    color: color-mix(in oklab, var(--text) 92%, var(--search-offer-accent) 8%);
}
@media (hover: hover) {
    .launcher-adapter-more:hover:not([disabled]) {
        border-color: color-mix(
            in oklab,
            var(--search-offer-accent-strong) 18%,
            var(--line) 82%
        );
        background: linear-gradient(
            135deg,
            color-mix(
                    in oklab,
                    var(--search-offer-accent) 4.5%,
                    var(--bg-strong) 95.5%
                )
                0%,
            color-mix(
                    in oklab,
                    var(--search-offer-accent) 2.2%,
                    var(--bg-strong) 97.8%
                )
                52%,
            color-mix(
                    in oklab,
                    var(--search-offer-accent) 1%,
                    var(--bg-strong) 99%
                )
                100%
        );
    }
}
.remember-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    background: var(--bg-soft);
    border: 1px solid var(--line-subtle);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.76rem;
    cursor: pointer;
    width: 100%;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    opacity: 0.8;
}
.remember-toggle:focus-visible {
    outline: 2px solid var(--brand-strong);
    outline-offset: 2px;
}
.remember-toggle:active {
    transform: none;
}
@media (hover: hover) {
    .remember-toggle:hover {
        background: var(--bg-strong);
        color: var(--text);
        border-color: var(--line);
        opacity: 1;
    }
}
.remember-toggle[aria-pressed="true"] {
    background: var(--brand);
    border-color: var(--brand-strong);
    color: var(--brand-contrast);
    opacity: 1;
}
@media (hover: hover) {
    .remember-toggle[aria-pressed="true"]:hover {
        background: var(--brand-strong);
        border-color: var(--brand-strong);
    }
}
.launcher-status {
    position: fixed;
    bottom: 24px;
    left: 50%;
    z-index: 100;
    margin: 0;
    padding: 8px 18px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
    translate: -50% 8px;
    transition:
        opacity 0.2s ease,
        translate 0.2s ease;
}
.launcher-status.toast-visible {
    opacity: 1;
    translate: -50% 0;
}
.launcher-status.toast-exit {
    opacity: 0;
    translate: -50% 8px;
}


.status {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}
.hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}
.builder-source-details {
    border: 1px solid var(--line-subtle);
    background: var(--bg-soft);
    padding: 8px 10px;
}
.builder-translation-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            var(--text-secondary) 50%
        ),
        linear-gradient(
            135deg,
            var(--text-secondary) 50%,
            transparent 50%
        );
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px;
    background-repeat: no-repeat;
}
@media (hover: hover) {
    .builder-translation-select:hover {
        border-color: var(--brand-dim);
    }
}
.launcher-translation-select {
    width: auto;
    min-width: 86px;
    min-height: 40px;
    padding-left: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}
.builder-translation-select option {
    background: var(--bg-strong);
    color: var(--text);
}
.builder-source-details > summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    user-select: none;
    list-style: none;
}
.builder-source-details > summary::-webkit-details-marker {
    display: none;
}
.builder-source-details > summary::after {
    content: " +";
    color: var(--text-secondary);
}
.builder-source-details[open] > summary::after {
    content: " −";
}
.builder-source-details[open] > summary {
    margin-bottom: 10px;
    color: var(--text-secondary);
}
.builder-source-body {
    display: grid;
    gap: 8px;
}
.builder-source-body > label {
    font-size: 0.75rem;
}
.shell-meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}
.shell-theme-toggle {
    width: 36px;
    min-width: 36px;
    padding: 0;
    flex: 0 0 36px;
    margin-right: auto;
}
.shell-theme-toggle[data-theme="light"],
.shell-theme-toggle[data-theme="dark"] {
    border-color: color-mix(
        in oklab,
        var(--brand) 36%,
        var(--line) 64%
    );
    background: color-mix(
        in oklab,
        var(--bg-strong) 84%,
        rgba(var(--brand-rgb), 0.14)
    );
    color: var(--text);
}
.shell-theme-toggle svg {
    display: block;
    margin: 0 auto;
}
.shell-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        border-color 0.15s ease,
        color 0.15s ease,
        background-color 0.15s ease;
}
.shell-link:focus-visible {
    color: var(--text);
    border-color: var(--brand-strong);
    background: color-mix(
        in oklab,
        var(--bg-strong) 82%,
        rgba(var(--brand-strong-rgb), 0.16)
    );
}
.shell-link[aria-current="page"] {
    color: var(--text);
    border-color: var(--brand-strong);
    background: color-mix(
        in oklab,
        var(--bg-strong) 80%,
        rgba(var(--brand-strong-rgb), 0.18)
    );
}
.selah-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: var(--bg-strong);
    color: var(--text);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        color 0.15s ease,
        background-color 0.15s ease;
}
.selah-badge-icon {
    width: 6.5px;
    height: 11px;
    display: block;
    flex: 0 0 auto;
    color: currentColor;
    transform: translateY(-0.5px);
}
.selah-badge:focus-visible {
    color: var(--bg);
    border-color: var(--text);
    background: var(--text);
}
@media (hover: hover) {
    .shell-link:hover {
        color: var(--text);
        border-color: var(--brand-strong);
        background: color-mix(
            in oklab,
            var(--bg-strong) 82%,
            rgba(var(--brand-strong-rgb), 0.16)
        );
    }
    .selah-badge:hover {
        color: var(--bg);
        border-color: var(--text);
        background: var(--text);
    }
    .shell-theme-toggle:hover {
        border-color: var(--brand-strong);
        background: color-mix(
            in oklab,
            var(--bg-strong) 78%,
            rgba(var(--brand-strong-rgb), 0.18)
        );
    }
}
.qr-wrap {
    display: grid;
    gap: 10px;
}
.qr-actions {
    display: grid;
    gap: 7px;
}
.qr-actions-primary {
    min-height: 40px;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}
.qr-actions-secondary {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.qr-actions-secondary > .button {
    min-height: 36px;
    font-size: 0.78rem;
    white-space: nowrap;
    padding: 0 10px;
}
.builder-pretty-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--line);
    background: var(--bg-strong);
    cursor: pointer;
    min-height: 36px;
    padding: 0 10px;
}
.qr-actions-frame {
    justify-content: flex-start;
}
.builder-integrate-card {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}
.builder-integrate-copy {
    display: grid;
    gap: 6px;
}
.builder-integrate-copy > p {
    margin: 0;
}
.builder-integrate-inline {
    color: var(--text);
    font-weight: 650;
    text-underline-offset: 0.14em;
    text-decoration-thickness: 1px;
}
.builder-integrate-inline:focus-visible {
    outline: none;
    color: var(--brand-strong);
}
@media (hover: hover) {
    .builder-integrate-inline:hover {
        color: var(--brand-strong);
    }
}
.builder-pretty-toggle.is-enabled {
    border-color: var(--brand);
    background: rgba(var(--brand-rgb), 0.2);
    color: var(--text);
}
.builder-pretty-toggle input[type="checkbox"] {
    width: 14px;
    height: 14px;
    min-height: 14px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    accent-color: var(--brand);
    flex: 0 0 auto;
}
.builder-pretty-toggle span {
    display: inline-flex;
    align-items: center;
}
.qr-actions-hint {
    margin-top: 1px;
}
.qr-card {
    width: 100%;
    position: relative;
}
.qr-card-stage {
    width: min(240px, 100%);
    min-height: clamp(280px, 70vw, 338px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qr-card-inner {
    position: relative;
}
.qr-image {
    aspect-ratio: 1 / 1;
    display: block;
}
.qr-card-overlay,
.qr-corners {
    pointer-events: none;
}
.qr-reference {
    margin: 10px 0 0;
    text-align: center;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.62rem;
    letter-spacing: 0.01em;
    word-break: break-word;
}
.qr-card.is-plain {
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}
.qr-card.is-plain .qr-image {
    width: min(220px, 100%);
    border: 1px solid var(--line);
    background: #fff;
    margin: 0 auto;
}
.qr-card.is-plain .qr-reference {
    display: none;
}
.qr-card.is-plain .qr-card-overlay,
.qr-card.is-plain .qr-corners {
    display: none;
}
.qr-card.is-pretty {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    min-height: 0;
    border: 1px solid #dcd5c6;
    border-radius: 4px;
    padding: 20px;
    box-shadow: var(--paper-shell-shadow);
    background: #f7f5f0;
}
.qr-card.is-pretty .qr-card-inner {
    border: 2px solid #2c2a28;
    border-radius: 0;
    background: transparent;
    padding: 10px;
    box-shadow: none;
    position: relative;
}
.qr-card.is-pretty .qr-card-inner::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid #2c2a28;
    pointer-events: none;
}
.qr-card.is-pretty .qr-image {
    width: 100%;
    border-radius: 0;
    background: transparent;
    mix-blend-mode: multiply;
}
.qr-card.is-pretty .qr-card-overlay {
    display: none;
}
.qr-card.is-pretty .qr-reference {
    color: #2c2a28;
    font-family: "Geist", "Helvetica Neue", sans-serif;
    font-size: 0.8rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 18px;
    text-shadow: none;
}
.qr-card.is-pretty .qr-corners {
    display: none;
}
#builder-route-link {
    text-align: center;
    word-break: break-all;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.74rem;
    color: var(--text-secondary);
    padding: 6px;
    background: var(--bg-strong);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid var(--line-subtle);
    display: block;
    transition: color 0.15s ease;
}
#builder-route-link:hover {
    color: var(--brand-strong);
}
.embed-wrap {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}
.embed-wrap > summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    user-select: none;
    list-style: none;
}
.embed-wrap > summary::-webkit-details-marker {
    display: none;
}
.embed-wrap > summary::after {
    content: " +";
    color: var(--text-secondary);
}
.embed-wrap:not([open]) {
    border: 1px solid var(--line-subtle);
    background: var(--bg-soft);
    padding: 12px 10px;
    gap: 0;
    cursor: pointer;
}
.embed-wrap[open] > summary {
    margin-bottom: 10px;
    color: var(--text-secondary);
}
.embed-wrap[open] > summary::after {
    content: " −";
}
.embed-body {
    display: grid;
    gap: 12px;
}
.embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.embed-wrap[open] .embed-header {
    cursor: pointer;
}
.embed-preview-wrap {
    flex-shrink: 0;
}
.embed-code-wrap {
    display: grid;
    gap: 8px;
}
.badge-preview {
    display: block;
    width: 200px;
}
.badge-preview img {
    max-width: 100%;
    height: auto;
    display: block;
}
.embed-badge {
    min-height: 72px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
}
.embed-badge-logo {
    width: 16px;
    height: 28px;
    flex: 0 0 auto;
}
.embed-badge-label {
    margin: 0;
    font-weight: 700;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.embed-badge-link {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--brand);
    background: var(--brand);
    color: var(--brand-contrast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}
body.embed-mode {
    background: transparent;
}
body.embed-mode::before,
body.embed-mode::after {
    display: none;
}
body.embed-mode main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.hidden {
    display: none !important;
}


@media (min-width: 641px) {
    body.route-view-launcher .launcher-layout {
        grid-template-areas:
            "preview"
            "apps"
            "remember"
            "footer";
        grid-template-rows: auto minmax(0, 1fr) auto auto;
    }
    body.route-view-launcher .launcher-apps-panel {
        grid-area: apps;
        grid-template-rows: auto minmax(0, 1fr);
    }
    body.route-view-launcher .launcher-preview-card {
        display: contents;
    }
    body.route-view-launcher .launcher-preview {
        grid-area: preview;
    }
    body.route-view-launcher
        .launcher-preview-card
        > .remember-toggle {
        grid-area: remember;
        margin-top: 0;
    }
    body.route-view-launcher .launcher-footer {
        grid-area: footer;
    }
    .launcher-catalog-enter-hint {
        right: 38px;
    }
}
@media (min-width: 860px) {
    .two-pane.has-preview {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    }
    body.route-view-launcher .launcher-footer {
        display: flex;
        align-items: stretch;
        gap: 0;
    }
    .launcher-qr-aside {
        display: flex;
        flex: 0 0 auto;
        margin-left: 10px;
        width: 100px;
    }
}
@media (max-width: 640px) {
    :root {
        --page-scale: 1;
    }
    body::before {
        background:
            radial-gradient(
                620px 240px at 50% -8%,
                rgba(var(--grain-accent-rgb), 0.022),
                transparent 70%
            ),
            linear-gradient(
                180deg,
                rgba(var(--grain-accent-rgb), 0.01),
                var(--bg) 58%
            );
        background:
            radial-gradient(
                620px 240px at 50% -8%,
                rgba(var(--grain-accent-rgb), 0.022),
                transparent 70%
            ),
            linear-gradient(
                180deg,
                color-mix(
                    in oklab,
                    var(--bg) 100%,
                    rgba(var(--grain-accent-rgb), 0.01)
                ),
                var(--bg) 58%
            );
    }
    .panel {
        border: none;
        background: transparent;
        padding: 0 0 14px;
        box-shadow: none;
    }
    .panel::before {
        display: none;
    }
    .section-card {
        border-left: none;
        border-right: none;
        padding: 16px;
    }
    h1 {
        font-size: 1.25rem;
    }
    .header {
        align-items: stretch;
    }
    .quick-search {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
    .quick-search-actions {
        gap: 6px;
    }
    .quick-search-button {
        min-width: 88px;
    }
    .quick-search[data-open="true"] .quick-search-input {
        max-width: calc(100vw - 40px);
        flex-basis: 100%;
        order: -1;
    }
    body.route-view-builder .panel,
    body.route-view-info .panel {
        display: flex;
        flex-direction: column;
    }
    body.route-view-builder #builder-layout.section-card,
    body.route-view-builder #builder-embed-wrap.section-card {
        border: none;
        background: transparent;
        padding: 0;
    }
    body.route-view-builder .header,
    body.route-view-info .header {
        display: contents;
    }
    body.route-view-builder .header > div:first-child {
        padding-bottom: 12px;
        margin-bottom: 12px;
        border-bottom: 1px solid var(--line-subtle);
    }
    body.route-view-info .header > div:first-child {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--line-subtle);
    }
    body.route-view-builder .quick-search,
    body.route-view-info .quick-search {
        order: 90;
        margin: 16px 0 0;
        max-width: none;
        width: 100%;
    }
    body.route-view-builder .shell-meta,
    body.route-view-info .shell-meta {
        order: 99;
    }
    body.route-view-builder .quick-search .quick-search-input,
    body.route-view-info .quick-search .quick-search-input {
        position: static;
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        z-index: auto;
    }
    body.route-view-builder .quick-search .quick-search-field,
    body.route-view-info .quick-search .quick-search-field {
        display: flex;
        flex: 1 1 auto;
        width: auto;
        margin-right: 0;
        overflow: visible;
        visibility: visible;
        transition: none;
    }
    body.route-view-builder .quick-search .quick-search-button,
    body.route-view-info .quick-search .quick-search-button {
        display: none;
    }
    body.route-view-builder .quick-search .quick-search-hint,
    body.route-view-info .quick-search .quick-search-hint {
        display: none;
    }
    body.route-view-builder .quick-search .quick-search-actions,
    body.route-view-info .quick-search .quick-search-actions {
        display: none;
    }
    .quick-search.is-launcher-toolbar {
        padding: 4px;
        gap: 4px;
    }
    .quick-search.is-launcher-toolbar .quick-search-button {
        min-width: 90px;
        min-height: 36px;
    }
    .quick-search.is-launcher-toolbar .launcher-toolbar-button,
    .quick-search.is-launcher-toolbar .launcher-toolbar-select {
        min-height: 36px;
    }
    .quick-search.is-launcher-toolbar .launcher-toolbar-select {
        min-width: 78px;
        font-size: 0.82rem;
        padding-left: 10px;
    }
    .launcher-translation-select {
        min-width: 80px;
    }
    .qr-card {
        width: 100%;
    }
    .qr-card-stage {
        width: min(260px, 100%);
    }
    .qr-actions-secondary {
        grid-template-columns: 1fr;
    }
    .builder-inline-open {
        display: inline-flex;
    }
    .builder-search-button {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
        padding: 11px 12px;
    }
    .builder-search-cta {
        display: none;
    }
    .qr-actions-primary {
        display: none;
    }
    .qr-actions-secondary > .button,
    .builder-pretty-toggle {
        font-size: 0.84rem;
        min-height: 38px;
        padding: 0 10px;
    }
    body.route-view-launcher main,
    body.route-view-builder main {
        width: min(1100px, 100vw);
        padding: 10px 6px;
    }
    body.route-view-builder main {
        padding-top: max(10px, env(safe-area-inset-top));
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
    body.route-view-launcher main {
        padding-top: max(10px, env(safe-area-inset-top));
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
    body.route-view-launcher.launcher-mobile-input-active main {
        padding-bottom: 4px;
    }
    body.route-view-launcher .panel,
    body.route-view-builder .panel {
        padding: 12px 10px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    body.route-view-launcher .panel {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    body.route-view-launcher.launcher-mobile-input-active .panel {
        padding-bottom: 4px;
    }
    body.route-view-launcher .header {
        margin-bottom: 4px;
    }
    body.route-view-launcher h1 {
        font-size: clamp(1.3rem, 6.6vw, 2rem);
    }
    body.route-view-launcher section.input-stack {
        overflow: hidden;
    }
    body.route-view-launcher .launcher-layout {
        gap: 6px;
        min-height: 0;
        grid-template-rows: minmax(0, 1fr) auto auto auto;
        overflow: hidden;
    }
    body.route-view-launcher .launcher-apps-panel {
        position: relative;
        min-height: 0;
        grid-template-rows: auto minmax(0, 1fr);
    }
    body.route-view-launcher #launcher-chooser {
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-right: 2px;
        padding-bottom: 8px;
        -webkit-mask-image: none;
        mask-image: none;
    }
    body.route-view-launcher.launcher-mobile-input-active #launcher-chooser {
        padding-bottom: 4px;
    }
    body.route-view-launcher
        .launcher-apps-panel.has-overflow
        #launcher-chooser {
        padding-bottom: 14px;
        -webkit-mask-image: linear-gradient(
            180deg,
            #000 0,
            #000 calc(100% - 18px),
            transparent 100%
        );
        mask-image: linear-gradient(
            180deg,
            #000 0,
            #000 calc(100% - 18px),
            transparent 100%
        );
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
    }
    body.route-view-launcher.launcher-mobile-input-active
        .launcher-apps-panel.has-overflow
        #launcher-chooser {
        padding-bottom: 8px;
    }
    body.route-view-launcher #launcher-chooser > .launcher-adapter + .launcher-adapter {
        border-top-width: 1px;
    }
    body.route-view-launcher .launcher-footer {
        position: static;
        transform: none;
        will-change: auto;
    }
    body.route-view-launcher .launcher-section-label {
        font-size: 0.68rem;
    }
    body.route-view-launcher .launcher-preview-card {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        padding-top: 6px;
        align-items: stretch;
    }
    body.route-view-launcher
        .launcher-preview-card
        > .remember-toggle {
        grid-column: 1;
        grid-row: 1;
        margin-top: 0;
    }
    body.route-view-launcher .launcher-adapter {
        min-height: 52px;
        grid-template-columns: var(--adapter-grid-cols, 36px minmax(0, 1fr));
        align-items: center;
        align-content: center;
        gap: 7px;
        padding: 14px 14px;
    }
    body.route-view-launcher .launcher-adapter-icon {
        width: var(--adapter-icon-width, 28px);
        height: 28px;
        flex-basis: var(--adapter-icon-width, 28px);
    }
    body.route-view-launcher .launcher-adapter-title {
        font-size: 0.9rem;
    }
    body.route-view-launcher .launcher-adapter-title-row {
        gap: 5px;
    }
    body.route-view-launcher .launcher-adapter-subtitle {
        display: none;
    }
    body.route-view-launcher
        .launcher-adapter-label[data-inline-subtitle="true"] {
        display: flex;
        flex-direction: row;
        align-items: baseline;
        gap: 5px;
    }
    body.route-view-launcher
        .launcher-adapter-label[data-inline-subtitle="true"]
        .launcher-adapter-subtitle {
        display: inline;
    }
    body.route-view-launcher .launcher-preview {
        display: none;
    }
    body.route-view-launcher .launcher-preview-trigger {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        min-height: 36px;
        font-size: 0.82rem;
        grid-column: 2;
        grid-row: 1;
    }
    body.route-view-launcher .launcher-preview-dialog {
        width: 100%;
        max-height: min(72dvh, 520px);
        padding: 16px;
    }
    body.route-view-launcher .launcher-preview-modal {
        align-items: end;
        padding-bottom: env(safe-area-inset-bottom, 16px);
    }
    body.route-view-launcher .launcher-preview-dialog-text {
        font-size: 0.9rem;
    }
    body.route-view-launcher .launcher-catalog-modal {
        align-items: stretch;
        padding: 0;
    }
    body.route-view-launcher .launcher-catalog-modal .launcher-preview-scrim {
        display: none;
    }
    body.route-view-launcher .launcher-catalog-dialog {
        width: 100%;
        max-width: none;
        max-height: none;
        height: 100%;
        justify-self: stretch;
        border: none;
        box-shadow: none;
        background: var(--bg);
        gap: 10px;
        padding: calc(env(safe-area-inset-top, 16px) + 12px) 12px
            calc(env(safe-area-inset-bottom, 16px) + 12px);
    }
    body.route-view-launcher .launcher-catalog-search {
        min-height: 38px;
        font-size: 16px;
    }
    body.route-view-launcher .launcher-catalog-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    body.route-view-launcher .launcher-catalog-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
    }
    body.route-view-launcher
        .launcher-catalog-tabs::-webkit-scrollbar {
        display: none;
    }
    body.route-view-launcher .launcher-catalog-tab {
        min-height: 30px;
        padding: 0 10px;
        font-size: 0.72rem;
        flex-shrink: 0;
    }
    body.route-view-launcher .launcher-catalog-subtab-select {
        margin-left: 0;
        width: 100%;
        min-height: 30px;
        font-size: 0.72rem;
        padding: 0 6px;
        padding-right: 28px;
        background-position:
            calc(100% - 14px) calc(50% - 2px),
            calc(100% - 9px) calc(50% - 2px);
    }
    body.route-view-launcher .launcher-catalog-results {
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }
    body.route-view-launcher .launcher-catalog-row {
        grid-template-columns: minmax(0, 1fr) 40px;
    }
    body.route-view-launcher
        .launcher-catalog-results
        > .launcher-catalog-row
        > .launcher-adapter {
        min-height: 52px;
        align-content: normal;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    body.route-view-launcher .launcher-catalog-pin {
        min-height: 52px;
    }
    body.route-view-launcher .launcher-utility-target {
        min-height: 34px;
    }
    body.route-view-launcher .launcher-share-link {
        min-height: 34px;
        font-size: 0.8rem;
    }
    body.route-view-launcher .quick-search.is-launcher-toolbar {
        width: 100%;
        margin-left: 0;
        padding: 0;
        gap: 0;
        overflow: visible;
    }
    body.route-view-launcher
        .quick-search.is-launcher-toolbar
        .launcher-toolbar-actions {
        min-width: 0;
        flex: 0 0 auto;
    }
    body.route-view-launcher
        .quick-search.is-launcher-toolbar
        .quick-search-button {
        width: 38px;
        min-width: 38px;
        flex: 0 0 38px;
        min-height: 34px;
        padding: 0;
    }
    body.route-view-launcher
        .quick-search.is-launcher-toolbar
        .quick-search-label {
        display: none;
    }
    body.route-view-launcher
        .quick-search.is-launcher-toolbar
        .launcher-toolbar-button,
    body.route-view-launcher
        .quick-search.is-launcher-toolbar
        .launcher-toolbar-select {
        min-height: 34px;
    }
    body.route-view-launcher
        .quick-search.is-launcher-toolbar
        .launcher-toolbar-button {
        width: 38px;
        min-width: 38px;
        flex: 0 0 38px;
        padding: 0;
    }
    body.route-view-launcher
        .quick-search.is-launcher-toolbar
        .launcher-toolbar-select {
        min-width: 76px;
        width: 76px;
        flex: 0 0 76px;
        font-size: 0.78rem;
        font-weight: 700;
        text-align: center;
        padding-left: 6px;
        padding-right: 6px;
        background-image: none;
    }
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-service-offer.launcher-adapter,
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-search-offer,
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-cap-card {
        right: -1px;
        min-height: 54px;
        padding: 7px 9px;
        gap: 8px;
    }
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-search-icon,
    body.route-view-launcher
        .quick-search.is-docked-footer
        .passage-cap-icon,
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-service-offer
        .launcher-adapter-icon {
        width: 12px;
        height: 12px;
    }
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-search-icon
        svg,
    body.route-view-launcher
        .quick-search.is-docked-footer
        .passage-cap-icon
        svg,
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-service-offer
        .launcher-adapter-icon
        img,
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-service-offer
        .launcher-adapter-icon
        svg {
        width: 12px;
        height: 12px;
    }
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-service-offer.launcher-adapter
        .launcher-adapter-subtitle,
    body.route-view-launcher
        .quick-search.is-docked-footer
        .quick-search-search-label,
    body.route-view-launcher
        .quick-search.is-docked-footer
        .passage-cap-title {
        font-size: 0.74rem;
    }
    body.route-view-launcher .remember-toggle {
        min-height: 36px;
        font-size: 0.68rem;
        padding: 0 8px;
        line-height: 1.1;
    }
    .shell-meta .shell-link[href="/extension"] {
        display: none;
    }
    .embed-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .embed-preview-wrap {
        order: -1;
        align-self: center;
    }
    .embed-code-wrap {
        gap: 6px;
    }
    .embed-code-wrap .row {
        flex-direction: column;
    }
    .badge-preview {
        width: 200px;
        margin: 0 auto;
    }
    textarea {
        min-height: 56px;
        font-size: 0.8rem;
    }
}
