.toast-close {
  position: relative;
  z-index: 2;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: -8px -8px -8px 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: white;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}

.toast-close:active {
  background: rgba(255, 255, 255, .14);
}

.install-toast[hidden] {
  display: none !important;
}

#install-button[hidden] {
  display: none !important;
}

.bottom-nav[hidden] {
  display: none !important;
}

.restore-dialog { width:min(92vw,430px); padding:0; border:0; border-radius:24px; box-shadow:0 24px 72px rgba(10,42,32,.28); color:#12372a; }
.restore-dialog::backdrop { background:rgba(12,35,28,.62); backdrop-filter:blur(4px); }
.restore-dialog form { display:grid; gap:15px; padding:28px; }
.restore-dialog h2 { margin:0; font-size:28px; }
.restore-dialog p { margin:0; color:#53685f; }
.form-field { display:grid; gap:7px; }
.form-field label { font-weight:800; font-size:14px; }
.form-field input { box-sizing:border-box; width:100%; min-height:50px; border:1px solid #cbd8d1; border-radius:13px; padding:12px 14px; color:#12372a; font:inherit; background:#fff; }
.form-field input:focus { outline:3px solid rgba(255,151,20,.25); border-color:#e88612; }
.password-field { position:relative; }
.password-field input { padding-right:66px; }
.password-visibility { position:absolute; right:9px; bottom:8px; min-height:34px; border:0; border-radius:9px; padding:0 10px; background:#edf4ef; color:#0e5c45; font-weight:800; }
.restore-dialog .form-foot { text-align:center; }
.restore-dialog form > div:last-child { display:grid; grid-template-columns:1fr 1.3fr; gap:10px; margin-top:5px; }
.restore-dialog .primary-action,.restore-dialog .secondary-action { min-height:52px; margin:0; }
.verify-back { display:block; width:max-content; margin:18px auto 0; }
