/* Floating Home control — shared by visitor-facing pages.
   Included with a relative href (../assets/...) so it works on both
   chse1971.com and esutcliffe.github.io/CHSE1971/. */
.chse-home-btn {
  position: fixed;
  right: 14px;
  bottom: 14px;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  padding: 8px 12px;
  background: #1f3a5f;
  color: #fff;
  text-decoration: none;
  font: 13px/1.2 Arial, Helvetica, sans-serif;
  border: 1px solid #162a45;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  opacity: 0.92;
  -webkit-tap-highlight-color: transparent;
}
.chse-home-btn::before {
  content: "\2302";
  margin-right: 0.4em;
  font-size: 1.05em;
  line-height: 1;
}
.chse-home-btn:hover,
.chse-home-btn:focus {
  opacity: 1;
  color: #fff;
  text-decoration: none;
  outline: 2px solid #1f3a5f;
  outline-offset: 2px;
}
.chse-home-btn:focus:not(:focus-visible) {
  outline: none;
}
@media (max-width: 520px) {
  .chse-home-btn {
    padding: 7px 10px;
    font-size: 12px;
    right: 12px;
    bottom: 12px;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }
}
