.order-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  align-items: stretch;
  gap: .55rem;
  margin-block-start: 1rem;
}
.order-actions .primary { margin: 0 }
.secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: .7rem 1rem;
  border: 1px solid var(--cobalt);
  border-radius: 7px;
  color: var(--cobalt);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.secondary-action:hover { background: #e8ecff }
.checkout-contact { margin: 1rem 0 0; font-size: .9375rem }
.text-action { color: var(--cobalt); font-weight: 700; text-underline-offset: .18em }
.mast .header-order, .mast .header-chat {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.mast .header-order { color: var(--cobalt) }
#nickname, #demo, #reaction { scroll-margin-block-start: 1rem }
@media (max-width: 740px) {
  .mast .container {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    gap: 0 .75rem;
    padding-block-start: .5rem;
  }
  .mast .toplinks { display: contents }
  .mast .wordmark { grid-column: 1 / 3; grid-row: 1; justify-self: start }
  .mast .langs { grid-column: 2 / 4; grid-row: 1; justify-self: end }
  .mast .langs a { min-inline-size: 34px; min-block-size: 40px }
  .mast .header-order { grid-column: 1; grid-row: 2; justify-self: start }
  .mast .header-chat { grid-column: 3; grid-row: 2; justify-self: end }
  .mast .toplinks > a[href="community.html"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    grid-column: 2;
    grid-row: 2;
    color: var(--muted);
  }
  .mast .toplinks > .header-order { white-space: normal; line-height: 1.2 }
  .mast .header-order, .mast .header-chat { font-size: .875rem; padding-block: .5rem }
  .checkout-contact { margin-block: .5rem 1.25rem }
}
