/* ── Launcher page (cross-app entry point) ───────────────────────────────── */

.launcher-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0 32px;
}

/* Hero strip — same gradient as the in-app landing modal */
.launcher-hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #1565C0 60%, #0277BD 100%);
    color: white;
    padding: 36px 0 32px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.launcher-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.launcher-hero-title {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}
.launcher-hero-sub {
    font-size: 0.85rem;
    opacity: 0.78;
    margin-top: 2px;
}
.launcher-hero-blurb {
    font-size: 0.92rem;
    opacity: 0.9;
    line-height: 1.55;
    margin: 0;
    max-width: 760px;
}

/* Card grid */
.launcher-grid-wrap {
    padding: 0 24px;
}
.launcher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

/* Card */
.launcher-card {
    background: white;
    border: 1.5px solid #e8e8e8;
    border-top: 4px solid #1565C0;
    border-radius: 12px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
    min-height: 280px;
}
.launcher-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
    border-color: #ccc;
    transform: translateY(-2px);
}
.launcher-card-internal:hover {
    transform: none;            /* Internal card is non-actionable */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.launcher-card-here {
    background: #f3f7fb;
    border-style: dashed;
}

.launcher-card-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.launcher-card-icon {
    font-size: 1.7rem;
    line-height: 1;
}
.launcher-card-head h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}
.launcher-card-subtitle {
    font-size: 0.72rem;
    color: #888;
    font-style: italic;
    margin-top: 2px;
}

.launcher-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}
.launcher-bullets {
    list-style: disc inside;
    padding: 0;
    margin: 0;
    color: #555;
    font-size: 0.78rem;
    line-height: 1.5;
}
.launcher-bullets li {
    margin-bottom: 2px;
}

/* Status pills */
.launcher-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.launcher-pill-live {
    background: #E8F5E9;
    color: #2E7D32;
}
.launcher-pill-dot {
    width: 7px;
    height: 7px;
    background: #2E7D32;
    border-radius: 50%;
    animation: launcher-pulse 1.6s infinite;
}
.launcher-pill-here {
    background: #E3F2FD;
    color: #1565C0;
}
.launcher-pill-internal {
    background: #FFF3E0;
    color: #BF360C;
}
.launcher-pill-secured {
    background: #EFEBE9;
    color: #5D4037;
}

@keyframes launcher-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

/* Footer (per-card CTA strip) */
.launcher-card-foot {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid #f1f1f1;
}
.launcher-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #1565C0;
    color: white !important;     /* override Dash anchor default */
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 8px;
    transition: filter 0.15s, transform 0.1s;
    align-self: stretch;
    text-align: center;
}
.launcher-cta:hover  { filter: brightness(1.1); }
.launcher-cta:active { transform: translateY(1px); }
.launcher-cta-arrow  { font-size: 0.9em; opacity: 0.85; }

.launcher-cta-here {
    background: #f3f7fb;
    color: #1565C0 !important;
    border: 1px solid #1565C0;
}

.launcher-href-stamp {
    font-size: 0.66rem;
    color: #888;
    font-family: 'SFMono-Regular', Consolas, monospace;
    text-align: center;
}

.launcher-snippet-label {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 2px;
}
.launcher-snippet {
    display: block;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.72rem;
    background: #2b2b3a;
    color: #eaeaea;
    padding: 8px 10px;
    border-radius: 6px;
    word-break: break-all;
}

/* Bottom stats strip */
.launcher-footer {
    margin-top: 28px;
    padding: 0 24px;
}
.launcher-footer-inner {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.launcher-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.78rem;
    color: #555;
}
.launcher-stat-val {
    font-weight: 700;
    color: #1a1a2e;
}
.launcher-mono {
    font-family: 'SFMono-Regular', Consolas, monospace;
    background: #f1f3f6;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.78rem;
}
.launcher-footer-meta {
    font-size: 0.74rem;
    color: #777;
}
.launcher-footer-link {
    color: #1565C0;
    text-decoration: none;
}
.launcher-footer-link:hover { text-decoration: underline; }
