.walker-pwa-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(360px, calc(100vw - 28px));
  padding: 16px 16px 14px;
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(8, 23, 40, 0.92)),
    rgba(8, 23, 40, 0.96);
  box-shadow: 0 18px 40px rgba(8, 23, 40, 0.34);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #eff8ff;
}

.walker-pwa-dock[hidden] {
  display: none;
}

.walker-pwa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.walker-pwa-head strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.walker-pwa-head span {
  display: block;
  color: rgba(239, 248, 255, 0.72);
  font-size: 0.84rem;
}

.walker-pwa-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #f8fbff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.walker-pwa-copy {
  margin: 0 0 12px;
  color: rgba(239, 248, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.5;
}

.walker-pwa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.walker-pwa-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.walker-pwa-btn:hover {
  transform: translateY(-1px);
}

.walker-pwa-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.walker-pwa-btn.is-primary {
  background: linear-gradient(135deg, #16c4ff, #0ea5e9);
  color: #062032;
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.24);
}

.walker-pwa-btn.is-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #eff8ff;
}

.walker-pwa-status {
  min-height: 1.15rem;
  margin: 10px 0 0;
  color: rgba(239, 248, 255, 0.76);
  font-size: 0.82rem;
}

.walker-pwa-dismiss {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(239, 248, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
}

.walker-pwa-dismiss input {
  width: 16px;
  height: 16px;
  accent-color: #16c4ff;
}

.walker-pwa-status.is-error {
  color: #fecaca;
}

.workplace-install-open {
  overflow: hidden;
}

.workplace-install-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 20, 31, 0.72);
  backdrop-filter: blur(10px);
}

.workplace-install-backdrop[hidden] {
  display: none;
}

.workplace-install-card {
  width: min(560px, 100%);
  max-height: min(760px, calc(100dvh - 28px));
  overflow: auto;
  padding: 24px;
  border: 1px solid #cfe3e5;
  border-radius: 26px;
  background: #f8fcfc;
  box-shadow: 0 28px 80px rgba(5, 20, 31, 0.32);
  color: #102b32;
}

.workplace-install-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d8e7e9;
}

.workplace-install-head h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.8rem, 7vw, 2.55rem);
  line-height: 1;
}

.workplace-install-head p {
  margin: 0;
  color: #5b7076;
  line-height: 1.45;
}

.workplace-install-eyebrow {
  color: #078c79;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workplace-install-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #c9dcdf;
  border-radius: 14px;
  background: #fff;
  color: #102b32;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.workplace-install-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.workplace-install-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px;
  border: 1px solid #d8e7e9;
  border-radius: 16px;
  background: #fff;
}

.workplace-install-steps li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #d8f6f1;
  color: #087768;
  font-weight: 900;
}

.workplace-install-steps strong,
.workplace-install-steps small {
  display: block;
}

.workplace-install-steps small {
  margin-top: 3px;
  color: #64777c;
  line-height: 1.4;
}

.workplace-install-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #eaf5f6;
}

.workplace-install-preview img {
  width: 64px;
  height: 64px;
  border-radius: 15px;
}

.workplace-install-preview strong,
.workplace-install-preview small {
  display: block;
}

.workplace-install-preview small {
  margin-top: 3px;
  color: #64777c;
}

.workplace-install-done {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #05665f, #0aa58f);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.workplace-install-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.workplace-install-download,
.workplace-install-more {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.workplace-install-download {
  background: linear-gradient(135deg, #05665f, #0aa58f);
  color: #fff;
}

.workplace-install-more {
  border: 1px solid #bfdadd;
  background: #fff;
  color: #075f5d;
}

.workplace-install-download[hidden],
.workplace-install-more[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .walker-pwa-dock {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: auto;
    padding: 14px 14px 13px;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .walker-pwa-head {
    align-items: flex-start;
  }

  .walker-pwa-pill {
    min-width: 66px;
  }

  .walker-pwa-btn {
    flex: 1 1 150px;
    justify-content: center;
  }

  .workplace-install-backdrop {
    align-items: end;
    padding: 0;
  }

  .workplace-install-card {
    max-height: calc(100dvh - 12px);
    padding: 20px 16px calc(18px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
  }
}
