.vdm-pwa-install {
  --vdm-pwa-bg: #1769e0;
  --vdm-pwa-color: #ffffff;
  --vdm-pwa-radius: 14px;
  --vdm-pwa-width: auto;
  max-width: 100%;
  width: var(--vdm-pwa-width);
  box-sizing: border-box;
  display: inline-flex;
  vertical-align: middle;
  font-family: inherit;
}
.vdm-pwa-install[hidden], .vdm-pwa-modal[hidden], .vdm-pwa-modal [hidden] { display: none !important; }
.vdm-pwa-install__button {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 0;
  border-radius: var(--vdm-pwa-radius);
  background: var(--vdm-pwa-bg);
  color: var(--vdm-pwa-color);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 5px 14px rgba(17, 24, 39, .16);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.vdm-pwa-install__button:hover:not(:disabled) { filter: brightness(.97); transform: translateY(-1px); box-shadow: 0 8px 17px rgba(17,24,39,.19); color: var(--vdm-pwa-color); }
.vdm-pwa-install__button:focus-visible { outline: 3px solid #f6aa2b; outline-offset: 3px; }
.vdm-pwa-install__button:disabled { opacity: .64; cursor: default; box-shadow: none; }
.vdm-pwa-install__icon { display: block; flex: 0 0 auto; }
body.vdm-pwa-modal-open { overflow: hidden !important; }
.vdm-pwa-modal { position: fixed; inset: 0; z-index: 2147480000; display: flex; justify-content: center; align-items: center; padding: 20px 12px; box-sizing: border-box; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.vdm-pwa-modal *, .vdm-pwa-modal *::before, .vdm-pwa-modal *::after { box-sizing: border-box; }
.vdm-pwa-modal__overlay { position: absolute; inset: 0; background: rgba(13,23,39,.63); }
.vdm-pwa-modal__dialog { position: relative; z-index: 1; width: min(100%, 430px); max-height: min(740px, calc(100dvh - 30px)); overflow: auto; overscroll-behavior: contain; background: #ffffff; color: #182331; border-radius: 22px; padding: 28px 24px 23px; box-shadow: 0 20px 72px rgba(0,0,0,.26); line-height: 1.48; }
.vdm-pwa-modal__dialog:focus { outline: 0; }
.vdm-pwa-modal__close { position: absolute; top: 11px; right: 12px; background: #f1f4f8; color: #2b3544; border: 0; border-radius: 50%; width: 35px; height: 35px; font-size: 25px; line-height: 1; cursor: pointer; display: grid; place-content: center; padding: 0 0 3px; }
.vdm-pwa-modal__close:hover { background: #e4e9f1; }
.vdm-pwa-modal__emblem { width: 61px; height: 61px; border-radius: 18px; background: #eaf2ff; display: grid; place-items: center; color: #1769e0; margin-bottom: 15px; }
.vdm-pwa-modal__dialog h2 { color: #152335; font-family: inherit; margin: 0 0 9px; padding: 0; line-height: 1.22; font-size: 23px; font-weight: 800; }
.vdm-pwa-modal__intro { margin: 0 0 18px; color: #5a6471; font-size: 14px; }
.vdm-pwa-modal__steps { display: grid; gap: 10px; }
.vdm-pwa-modal__step { border: 1px solid #e9eef5; border-radius: 13px; padding: 12px 13px; display: flex; gap: 11px; align-items: flex-start; background: #f9fbfd; }
.vdm-pwa-modal__num { display: flex; flex: 0 0 27px; height: 27px; width: 27px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: #dceafa; color: #1459b2; }
.vdm-pwa-modal__step-content { font-size: 14px; line-height: 1.47; color: #24334a; }
.vdm-pwa-modal__step-content strong { font-weight: 750; }
.vdm-pwa-modal__step-content svg { display: inline-block; vertical-align: -5px; margin: 0 2px; }
.vdm-pwa-modal__hint { background: #fff8e9; border: 1px solid #f7e7ba; color: #76520e; border-radius: 11px; padding: 11px 12px; margin: 14px 0 0; font-size: 13px; }
.vdm-pwa-modal__actions { display: flex; justify-content: stretch; gap: 10px; margin-top: 22px; }
.vdm-pwa-modal__copy, .vdm-pwa-modal__ok { flex: 1 1 0; min-height: 43px; border-radius: 11px; border: 1px solid #d6e0ed; padding: 9px 14px; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1.3; }
.vdm-pwa-modal__copy { color: #1d4779; background: #f5f9ff; }
.vdm-pwa-modal__ok { color: #ffffff; background: #1769e0; border-color: #1769e0; }
.vdm-pwa-modal__copy:hover { background: #e8f1ff; }
.vdm-pwa-modal__ok:hover { background: #135ac1; }
.vdm-pwa-modal :is(button, a):focus-visible { outline: 3px solid #ffa800; outline-offset: 2px; }
@media(max-width: 480px) {
  .vdm-pwa-modal { padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .vdm-pwa-modal__dialog { border-radius: 18px; padding: 23px 17px 18px; max-height: calc(100dvh - 24px); }
  .vdm-pwa-modal__dialog h2 { font-size: 21px; }
}
@media(prefers-reduced-motion: reduce) { .vdm-pwa-install__button { transition: none; } }
