/* ---- Who can read this ----------------------------------------------- */

/* Three questions in one panel: how the guest gets the trip, whether the
   public sees it, and which prices each reader sees. Each is its own block so
   the owner can tell them apart at a glance. */
/* A link and two selects stretched across a wide desk read as one long bar.
   The blocks keep to a reading column instead. */
.itinerary-sharing__block {
  display: grid;
  gap: 0.6rem;
  max-width: 46rem;
  padding-block: 1rem;
}

.itinerary-sharing__block + .itinerary-sharing__block {
  border-top: 1px solid var(--line);
}

.itinerary-sharing__block h3 {
  margin: 0;
  font: 500 1.35rem/1.2 var(--font-heading);
}

.itinerary-sharing__block .field-hint {
  max-width: 38rem;
  margin: 0;
}

.itinerary-sharing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.itinerary-sharing__link {
  flex: 1 1 100%;
  min-width: 0;
}

.itinerary-sharing__link input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.4rem;
  background: white;
  font-size: 0.85rem;
}

.itinerary-visibility-form { display: grid; gap: 1rem; }
.itinerary-visibility-form > .primary-button { justify-self: start; }

/* The price settings, read back once they can no longer be changed. */
.itinerary-sharing__settings {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.25rem;
  margin: 0;
  font-size: 0.85rem;
}

.itinerary-sharing__settings dt { font-weight: 600; }
.itinerary-sharing__settings dd { margin: 0; color: var(--ink-soft); }
