/* Mobile navigation uses the same type for links and disclosures. */
body.isn .nav-panel .nav-drop-toggle {
  font-family: var(--font-body);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: inherit;
}

/* Keep the brand column from collapsing beside the four link groups. */
body.isn .isn-foot-top {
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(0, 1fr));
  align-items: start;
}
body.isn .isn-foot-top > * {
  min-width: 0;
}
@media (max-width: 1100px) {
  body.isn .isn-foot-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.isn .isn-foot-brand {
    grid-column: 1 / -1;
  }
}
@media (min-width: 761px) {
  body.isn:has([data-isn-floating-actions]) .isn-foot {
    padding-bottom: 100px;
  }
}

.isn-cookie-reopen {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  justify-content: center;
}
.isn-cookie-reopen[hidden] {
  display: none;
}
.isn-cookie-reopen .isn-cookie-icon {
  width: 22px;
  height: 22px;
}
.isn-foot-cookie {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  min-height: 44px;
  cursor: pointer;
}
.isn-foot-cookie:hover {
  text-decoration: underline;
}
.isn-foot-cookie:focus-visible,
.isn-floating-actions a:focus-visible {
  outline: 3px solid var(--i-blue);
  outline-offset: 4px;
}

.isn-floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
}
.isn-floating-scan {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--i-blue);
  color: var(--i-white);
  font-size: var(--t-body);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 4px 16px rgb(10 10 10 / 14%);
}
.isn-floating-scan:hover {
  background: #1b4fd8;
}
body.isn:has(.nav-panel[data-open='true']) .isn-floating-actions,
body:has(.isn-cookie-banner:not([hidden])) .isn-floating-actions,
body:has(.isn-cookie-dialog[open]) .isn-floating-actions {
  visibility: hidden;
  pointer-events: none;
}

@media (min-width: 1200px) {
  body.isn:has(.nav-links .nav-drop[open]) .isn-floating-actions {
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 760px) {
  .isn-floating-actions {
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -2px 16px rgb(10 10 10 / 8%);
  }
  .isn-floating-actions:not([data-revealed='true']) {
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .isn-floating-actions:not([data-revealed='true']) .isn-floating-scan {
    display: none;
  }
  .isn-floating-scan {
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
  }
  .isn-floating-scan svg {
    display: none;
  }
  body.isn.isn-scan-action-visible {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}
