.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .85rem;
  margin: 1rem 0 1.7rem;
}

.purchase-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
}

.purchase-actions .store-link {
  padding: .45rem .9rem;
  background: #71371e;
  color: #fffaf3;
  border-radius: .55rem;
  font-weight: 650;
  text-decoration: none;
}

.schedule-preview {
  margin: 2rem 0;
  padding: clamp(.75rem, 3vw, 1.25rem);
  border: 1px solid #d9c6b6;
  border-radius: .85rem;
  background: #fffaf3;
  scroll-margin-top: 1rem;
}

.schedule-preview h2 {
  margin-top: 0;
}

.preview-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8.25rem, 10rem);
  gap: 1.25rem;
  align-items: start;
}

.preview-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
  margin: .9rem 0 1.1rem;
}

.preview-controls[hidden] {
  display: none;
}

.preview-controls label {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: .2rem;
  font-size: .93rem;
  font-weight: 650;
}

.preview-controls input,
.preview-controls select {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: .35rem .55rem;
  border: 1px solid #9a7c68;
  border-radius: .35rem;
  background: #fcf6ec;
  color: #302820;
  font: inherit;
}

.schedule-preview table {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
}

.schedule-preview th,
.schedule-preview td {
  padding: .44rem .3rem .44rem 0;
  border-bottom: 1px solid #e2d4c7;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.schedule-preview th[scope="row"] {
  width: 45%;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.schedule-preview time {
  display: inline-block;
}

.schedule-preview h3 {
  margin-bottom: .28rem;
  font-size: 1.02rem;
}

.shape-steps {
  margin: .25rem 0 .75rem;
  padding-left: 1.25em;
  font-size: .94rem;
}

[data-conflict] {
  margin: .45rem 0;
  padding: .35rem .6rem;
  border-radius: .35rem;
  background: #eee7dc;
  font-size: .92rem;
}

[data-conflict][data-overlap="true"] {
  background: #ffe5d0;
  color: #632d18;
  font-weight: 650;
}

.preview-note,
.app-preview figcaption {
  color: #624b3a;
  font-size: .9rem;
}

.app-preview {
  width: min(100%, 10rem);
  margin: 0;
}

.app-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9c6b6;
  border-radius: .7rem;
}

.app-preview figcaption {
  margin-top: .4rem;
}

.purchase-actions a:focus-visible,
.schedule-preview :focus-visible {
  outline: 2px solid #71371e;
  outline-offset: 3px;
}

@media (max-width: 44rem) {
  .preview-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 23rem) {
  .schedule-preview th,
  .schedule-preview td {
    font-size: .9rem;
  }
}
