/* ---------- phone app: install bar, steps window, footer link (assets/js/install.js) ---------- */
.ms-install-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--primary-soft); border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14.5px; }
.ms-install-bar img { border-radius: 9px; flex: none; }
.ms-ib-text { flex: 1; line-height: 1.35; }
.ms-ib-go { font: inherit; font-weight: 700; background: var(--primary); color: var(--primary-ink); border: 0; border-radius: 999px; padding: 8px 16px; min-height: 40px; cursor: pointer; flex: none; }
.ms-ib-x { font: inherit; font-size: 22px; line-height: 1; background: none; border: 0; color: var(--ink-2); width: 40px; height: 40px; border-radius: 999px; cursor: pointer; flex: none; }
.ms-ib-x:hover, .ms-ib-x:focus-visible { background: var(--surface); }
.ms-install-help { position: fixed; inset: 0; z-index: 80; background: rgba(10, 16, 15, .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ms-inst-box { background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 420px; width: 100%; max-height: calc(100dvh - 32px); overflow: auto; padding: 22px 20px; text-align: left; }
.ms-inst-box img { border-radius: 14px; display: block; }
.ms-inst-box h2 { font-family: var(--font-display); font-size: 21px; margin: 12px 0 6px; }
.ms-inst-box > p { margin: 0 0 12px; color: var(--ink-2); line-height: 1.5; }
.ms-inst-sec { background: var(--surface-2); border-radius: 12px; padding: 10px 14px; margin: 0 0 10px; }
.ms-inst-sec h3 { font-size: 15.5px; margin: 2px 0 6px; }
.ms-inst-sec ol { margin: 0; padding-left: 20px; line-height: 1.5; }
.ms-inst-sec li + li { margin-top: 4px; }
.ms-inst-box .ms-inst-after { font-size: 14px; margin-top: 4px; }
.ms-inst-ok { font: inherit; font-weight: 700; background: var(--primary); color: var(--primary-ink); border: 0; border-radius: 999px; padding: 12px 22px; min-height: 44px; width: 100%; cursor: pointer; }
.ms-install-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 12px; font-size: 14.5px; max-width: calc(100vw - 32px); }
footer.site .app-foot-links #app-install { font-weight: 700; }
/* website home: the "get the app" box in the first screen */
.app-promo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--surface); border: 2px solid var(--primary); border-radius: 14px; padding: 14px 18px; }
.app-promo img { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.app-promo-text { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.app-promo-text b { font-size: 16.5px; color: var(--ink); }
.app-promo .btn { flex: none; }
[data-install][hidden], [data-install-box][hidden] { display: none !important; }
.ms-inst-chrome { display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; background: var(--cta, #E8A33D); color: var(--cta-ink, #1a1a1a); border-radius: 999px; padding: 12px 22px; min-height: 48px; margin: 6px 0 14px; text-align: center; }
.ms-inst-why { font-size: 14.5px; margin: 8px 0 4px; }
.ms-inst-have { background: var(--good-soft, #DFF2E6); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.ms-inst-later { font: inherit; background: none; border: 0; color: var(--ink-2, #4F5D63); text-decoration: underline; margin-top: 10px; width: 100%; min-height: 40px; cursor: pointer; }
