/* Deliberately in document flow. No fixed banner, animation or navigation offset. */
[data-install-slot] [hidden], .app-install-help [hidden] { display: none !important; }
.app-install-card, .app-install-help {
    --install-ink: #123e42;
    --install-muted: #405c60;
    color: var(--install-ink);
}
.app-install-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    padding: clamp(1.1rem, 3vw, 1.8rem);
    border: 1px solid #c4dddb;
    border-radius: 24px;
    background: linear-gradient(120deg, #eff9f5, #faf5ee);
}
.app-install-brand { display: flex; align-items: center; flex-direction: column; gap: .4rem; }
.app-install-icon { width: 64px; height: 64px; object-fit: contain; border-radius: 16px; }
.app-install-wordmark { font-size: .7rem; font-weight: 850; letter-spacing: .12em; color: #16595e; }
.app-install-card h2 { font-size: clamp(1.25rem, 4vw, 1.6rem); margin: 0 0 .5rem; color: var(--install-ink); letter-spacing: -.025em; }
.app-install-card p { margin: 0; color: var(--install-muted); line-height: 1.55; }
.app-install-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; }
.app-install-primary, .app-install-later {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 48px; padding: .7rem 1.1rem; border-radius: 14px;
    font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.app-install-primary, .app-install-primary:visited { background: #125a60; color: #fff !important; border: 1px solid #125a60; }
.app-install-primary:hover { background: #0e464b; color: #fff !important; }
.app-install-later { border: 1px solid #a6c3c2; background: transparent; color: #214e53; }
.app-install-later:hover { background: #e0eeea; color: #123e42; }
.app-install-card :focus-visible, .app-install-help :focus-visible, .app-install-dismissed:focus-visible { outline: 3px solid #125a60; outline-offset: 4px; }
.app-install-dismissed { display: block; padding: .8rem 0; color: #214e53; font-size: .9rem; }
.app-install-help { max-width: 720px; margin: 1rem auto 3rem; }
.app-install-help-header { background: linear-gradient(125deg, #eff9f5, #faf5ee); border-radius: 24px; padding: clamp(1.3rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.app-install-help-header .app-install-brand { flex-direction: row; gap: .8rem; margin-bottom: 1.25rem; }
.app-install-help-header .app-install-wordmark { font-size: .95rem; }
.app-install-help h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 .9rem; }
.app-install-help p { line-height: 1.6; color: var(--install-muted); }
.app-install-help h2 { font-size: 1.45rem; margin: 0 0 1rem; color: var(--install-ink); }
.app-install-help h3 { font-size: 1.1rem; margin: 0 0 .35rem; color: var(--install-ink); }
.app-install-chooser { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0; }
.app-install-chooser label { font-weight: 700; }
.app-install-chooser select { min-height: 48px; max-width: 100%; padding: .5rem .8rem; border: 1px solid #9db6b5; border-radius: 12px; background: #fff; color: #123e42; }
.app-install-panel { border: 1px solid #c4dddb; border-radius: 24px; padding: clamp(1.2rem, 3vw, 2rem); margin-bottom: 1rem; background: #fff; }
.app-install-steps { list-style: none; padding: 0; margin: 1.25rem 0; counter-reset: install-step; }
.app-install-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; counter-increment: install-step; }
.app-install-steps li + li { border-top: 1px solid #e1eae8; }
.app-install-steps h3::before { content: counter(install-step) ". "; }
.app-install-steps p { margin: .4rem 0 0; }
.app-install-illustration { display: grid; place-items: center; align-self: start; height: 52px; border-radius: 16px; background: #edf7f4; color: #125a60; }
.app-install-illustration svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-install-help details { margin: 1rem 0; }
.app-install-help summary { min-height: 44px; padding: .65rem 0; font-weight: 700; cursor: pointer; }
.app-install-help a:not(.app-install-primary), .app-install-card .app-install-later { color: #125a60 !important; text-underline-offset: 3px; }
.app-install-note { font-size: .9rem; }
@media (max-width: 360px) {
    .app-install-card { grid-template-columns: minmax(0, 1fr); }
    .app-install-card .app-install-brand { flex-direction: row; }
    .app-install-card .app-install-icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .app-install-card *, .app-install-help * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
