#install-guide { display: inline-flex; align-items: center; }
#install-guide[hidden], #install-steps [hidden] { display: none !important; }
#install-guide .install-trigger {
  min-height: 44px;
  padding: .25rem .15rem;
  border: 0;
  border-radius: .25rem;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .2em;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
#install-guide small { display: none; }
@media (pointer: coarse) {
  #install-guide small { display: block; margin-top: .15rem; font-size: .75rem; font-weight: 500; }
}
#install-steps {
  box-sizing: border-box;
  width: min(26rem, calc(100% - 2rem));
  max-height: 85vh;
  max-height: 85dvh;
  padding: clamp(1.1rem, 4vw, 1.6rem);
  border: 1px solid #cfb8be;
  border-radius: .9rem;
  background: #fffaf8;
  color: #382b30;
  font: inherit;
  line-height: 1.65;
  overscroll-behavior: contain;
  overflow-y: auto;
}
#install-steps::backdrop { background: #291c238c; }
#install-steps h2 { margin: 0 0 .7rem; color: #56273a; font-size: 1.2rem; }
#install-steps ol { margin: .7rem 0; padding-inline-start: 1.5rem; }
#install-steps li + li { margin-top: .35rem; }
#install-steps p { margin: .7rem 0; }
#install-steps a { color: #67233c; text-underline-offset: .2em; }
#install-steps .install-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
#install-steps button { min-height: 44px; padding: .45rem .85rem; border: 1px solid #996f7a; border-radius: .45rem; font: inherit; font-weight: 650; cursor: pointer; }
#install-steps .install-action { color: #fff; background: #832243; }
#install-steps .install-close { color: #67233c; background: #fff; }
#install-guide button:focus-visible, #install-steps :focus-visible { outline: 3px solid #1a645c; outline-offset: 2px; }
@media (display-mode: standalone) { #install-guide { display: none !important; } }
#notification-settings { margin: .9rem 0; padding: .85rem 1rem; border-left: 3px solid #b88b63; background: #fffaf5; color: #382b30; }
#notification-settings[hidden], #notification-settings [hidden] { display: none !important; }
#notification-settings .notify-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
#notification-settings strong { font-size: 1rem; }
#notification-settings p { margin: .3rem 0 0; line-height: 1.55; font-size: .9rem; }
#notification-settings .notify-action { min-height: 44px; padding: .3rem .65rem; font: inherit; font-size: .95rem; border: 1px solid #996f7a; border-radius: .45rem; color: #67233c; background: #fff; cursor: pointer; }
#notification-settings .notify-action:disabled { opacity: .6; }
#notification-settings .notify-action:focus-visible { outline: 3px solid #1a645c; outline-offset: 2px; }
