.cop4-review-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .25rem;
  padding: .24rem;
  border: 1px solid #dbe6dd;
  border-radius: .96rem;
  background: #eaf2ec;
}
.cop4-review-nav[hidden], .cop4-top-button[hidden] { display: none; }
.cop4-review-nav > a {
  display: inline-flex;
  min-height: 2.44rem;
  align-items: center;
  justify-content: center;
  padding: .38rem .72rem;
  border-radius: .68rem;
  color: #165b46;
  font-size: .84rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.cop4-review-nav > a:hover { background: #dcece1; }
.cop4-review-nav > [aria-current='page'] {
  background: #fff;
  color: #173d30;
  box-shadow: 0 .13rem .3rem #15362913;
}
.cop4-review-shortcuts {
  display: inline-flex;
  margin-bottom: 1rem;
}
.cop4-top-button {
  position: fixed;
  z-index: 5;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  inset-block-end: max(.9rem, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .4rem;
  padding: .48rem .88rem;
  border: 1px solid #164a3a;
  border-radius: .98rem;
  background: #165b46;
  color: #fff;
  box-shadow: 0 .28rem .9rem #1b493828;
  font: inherit;
  font-size: .84rem;
  font-weight: 690;
  line-height: 1.2;
  cursor: pointer;
}
.cop4-top-button:hover { background: #104d39; }
.cop4-top-button:focus-visible, .cop4-review-nav > a:focus-visible {
  outline: 3px solid #165b46;
  outline-offset: 3px;
}
.cop4-top-button > span { font-size: 1.1rem; }
body:has(> .cop4-top-button) { padding-block-end: 1.25rem; }

@media (max-width: 35rem) {
  .cop4-review-header:has(.cop4-review-nav:not([hidden])) {
    flex-wrap: wrap;
    gap: .55rem;
    padding-block: .65rem;
  }
  .cop4-review-header .cop4-review-nav { flex-basis: 100%; }
  .cop4-review-nav > a { flex: 1 1 auto; }
}
