.sensory-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.sensory-choices a {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 12px 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f4eae3;
  font: 500 16px/1.6 var(--head);
  text-align: center;
}

.sensory-choices a:nth-child(2) {
  background: #ebece4;
}

.sensory-choices a:nth-child(3) {
  background: #f0e9df;
}

.sensory-choices a:hover,
.page-action:hover {
  border-color: var(--accent);
}

.line-box .line-action-large {
  padding: 17px 34px;
  font-size: 16px;
}

#work {
  scroll-margin-top: 150px;
}

.page-action {
  display: grid;
  place-content: center;
  width: 88px;
  height: 80px;
  padding: 5px;
  border: 1px solid #d5bba8;
  border-radius: 10px;
  background-color: #f4eae3;
  color: var(--ink);
  font: 500 12px/1.5 var(--body);
  text-align: center;
}

.page-action-garden {
  background-color: #ebece4;
}

.page-action[hidden] {
  display: none;
}

@media screen {
  .page-with-actions {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
    scroll-padding-bottom: 112px;
  }

  .page-action-dock {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 8;
    display: grid;
    filter: drop-shadow(0 3px 8px #2b282414);
  }
}

@media screen and (min-width: 1360px) {
  .page-with-actions {
    padding-bottom: 0;
  }

  .page-action-dock {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .page-action {
    width: 108px;
    height: 108px;
    font-size: 14px;
  }

}

@media (max-width: 1000px) {
  #work {
    scroll-margin-top: 185px;
  }

}

@media (max-width: 760px) {
  .sensory-choices {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 0 24px;
  }

  .sensory-choices a {
    min-height: 48px;
  }

  .line-box .line-action-large {
    max-width: 100%;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
  }
}

@media print {
  .page-action-dock {
    display: none;
  }
}
