/* Presentation only: inherit the approved app palette, type and buttons. */
body.browser-mode{background:#fff}
.browser-mode main:has(.visual-installation){min-height:0;padding-top:8px;padding-bottom:max(16px,env(safe-area-inset-bottom));max-width:560px;width:100%}
.visual-installation{display:grid;gap:12px;margin:0 auto;max-width:440px}
.visual-installation h1{font-size:1.35rem;line-height:1.25;letter-spacing:-.4px;margin:0;font-weight:650}
.visual-installation .ig-counter{font-size:.875rem;line-height:1.3;color:var(--muted);margin:0}
.visual-installation .ig-picture{display:block;width:100%;height:auto;max-height:min(30svh,210px);object-fit:contain;justify-self:center}
.visual-installation .ig-actions{display:flex;justify-content:space-between;gap:16px;margin-top:4px}
.visual-installation .ig-actions button{min-width:104px}
.visual-installation .ig-alternate{justify-self:center;font-size:.875rem;margin:0;min-height:44px}
.visual-installation select{width:100%;min-height:48px;font-size:1rem}
.visual-installation:has(.ig-alternate)+details{display:none}
.visual-installation.ig-alternatives-open+details{display:block;margin-top:12px}
@media(max-height:650px){.browser-mode>.top{padding-top:12px;padding-bottom:12px}.visual-installation{gap:10px}.visual-installation .ig-picture{max-height:24svh}}
.visual-installation h1:focus{outline:none}

/* Keep the hand at the existing displayed scale; reserve room below the bar. */
.visual-installation .ig-picture[src$="ios-address-hold.svg"]{max-height:none}

/* Closing panel only; the five approved installation steps remain unchanged. */
.visual-installation.ig-finale .ig-picture{max-height:min(38svh,240px)}
.visual-installation.ig-finale+details{display:none}
