.install-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-block: .3rem 1.6rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line, #d8ddd0);
  border-radius: .9rem;
  background: var(--sheet, #fffefa);
}

.install-panel h2 {
  margin: 0 0 .2rem;
  line-height: 1.25;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.install-panel p { margin: 0; }
.install-panel > div > p { color: var(--soft-ink, #495c53); }

.install-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.install-open {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  min-block-size: 2.75rem;
  padding: .55rem .9rem;
  border: 1px solid var(--pine, #174738);
  border-radius: .5rem;
  color: var(--sheet, #fffefa);
  background: var(--pine, #174738);
  white-space: nowrap;
  font-weight: 750;
  line-height: 1.25;
}

.install-open:hover { background: var(--ink, #172e28); }

.install-device {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  inline-size: .68rem;
  block-size: 1rem;
  border: 1.5px solid currentColor;
  border-radius: .2rem;
}

.install-device::after {
  content: '';
  position: absolute;
  inline-size: .18rem;
  block-size: .09rem;
  border-radius: .12rem;
  left: 50%;
  inset-block-start: .1rem;
  translate: -50%;
  background: currentColor;
}

.install-device.is-android { border-radius: .11rem; }
.install-device.is-android::after { inset-block: auto .08rem; }

.install-dialog {
  inline-size: min(35rem, 100% - 1.5rem);
  max-block-size: calc(100% - 1.5rem);
  margin: auto;
  padding: clamp(.9rem, 4vw, 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line, #d8ddd0);
  border-radius: 1.05rem;
  background: var(--sheet, #fffefa);
  color: var(--ink, #172e28);
  box-shadow: 0 1rem 4rem #172e2855;
}

.install-dialog::backdrop { background: #1428209c; }

.install-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: .85rem;
}

.install-dialog-head h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.install-close {
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border: 1px solid var(--line, #d8ddd0);
  border-radius: .5rem;
  color: inherit;
  background: var(--paper, #faf8f1);
  font-size: 1.5rem;
}

.install-native { margin-block-end: .9rem; }

.install-steps {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding-inline-start: 1.55rem;
}

.install-steps li {
  padding-inline-start: .15rem;
  break-inside: avoid;
}

.install-steps li::marker { color: var(--pine, #174738); font-weight: 750; }
.install-steps li p { margin-block-end: .45rem; }

.install-mock {
  display: grid;
  gap: .34rem;
  width: min(100%, 22rem);
  padding: .48rem .55rem;
  border: 1px solid var(--line, #d8ddd0);
  border-radius: .7rem;
  background: var(--paper, #faf8f1);
  font-size: .88rem;
  line-height: 1.25;
}

.install-mock-address, .install-mock-selected, .install-mock-option {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .32rem .48rem;
  border: 1px solid var(--line, #d8ddd0);
  border-radius: .35rem;
  background: var(--sheet, #fffefa);
}

.install-mock-address, .install-mock-option { justify-content: space-between; }
.install-mock-selected { background: var(--fern, #dce9b6); font-weight: 700; }
.install-mock-share, .install-mock-confirm { justify-self: end; }
.install-mock-brand { margin-inline: .25rem; }
.install-mock-rule { width: 60%; height: .25rem; margin-inline: .5rem; border-radius: .25rem; background: var(--line, #d8ddd0); }
.install-mock-rule:nth-child(2) { width: 42%; }

.install-glyph { position: relative; display: inline-block; flex: 0 0 auto; }
.install-glyph-menu { width: .2rem; height: .2rem; margin: .25rem .35rem; border-radius: 50%; background: currentColor; box-shadow: 0 -.28rem currentColor, 0 .28rem currentColor; }
.install-glyph-add { width: .93rem; height: .93rem; border: 1px solid currentColor; border-radius: .18rem; }
.install-glyph-share { width: .8rem; height: .65rem; margin: .25rem .15rem 0; border: 1px solid currentColor; border-block-start: 0; border-radius: .13rem; }

.install-glyph-share::before, .install-glyph-share::after,
.install-glyph-add::before, .install-glyph-add::after { position: absolute; content: ''; background: currentColor; }
.install-glyph-add::before { width: 55%; height: 1px; inset: 50% 0 0 22.5%; }
.install-glyph-add::after { width: 1px; height: 55%; inset: 22.5% 0 0 50%; }
.install-glyph-share::before { width: 1px; height: .65rem; inset: -.3rem 0 auto 50%; }
.install-glyph-share::after { width: .36rem; height: .36rem; inset: -.3rem 0 auto 50%; translate: -50%; transform: rotate(45deg); border-top: 1px solid; border-left: 1px solid; background: transparent; }

.install-mock-toggle {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 1.75rem;
  height: .95rem;
  border-radius: .9rem;
  background: var(--pine, #174738);
}

.install-mock-toggle::after {
  content: '';
  position: absolute;
  top: .12rem;
  inset-inline-end: .12rem;
  width: .71rem;
  height: .71rem;
  border-radius: 50%;
  background: var(--sheet, #fffefa);
}

@media (max-width: 34rem) {
  .install-panel { flex-direction: column; align-items: stretch; }
  .install-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media print { .install-panel { display: none; } }
