/* Signed-in Here round review. The existing ticket receipt owns its own styling. */
#here-review {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--st-paper);
  color: var(--st-text);
  font-family: var(--st-font);
}

#here-review .brand-here-back {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--st-tap-target);
  margin-block: 0 var(--st-space-3);
  color: var(--st-action);
  text-underline-offset: .2em;
}

#here-review .booking-receipt + .brand-here-back {
  margin-block: var(--st-space-3) 0;
}

.brand-here-review-layout {
  display: grid;
  align-items: start;
  gap: clamp(var(--st-space-5), 4vw, var(--st-space-8));
  min-width: 0;
}

.brand-here-review-layout:has(.brand-here-review-photo) {
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
}

.brand-here-review-summary {
  width: min(100%, 41rem);
  min-width: 0;
}

#here-review .brand-here-review-photo {
  height: auto;
  aspect-ratio: 4 / 3;
  margin-block: 0 var(--st-space-2);
  border: clamp(5px, .8vw, 11px) solid var(--st-deep-teal);
  box-shadow: 5px 6px var(--st-paper-mint);
}

#here-review .brand-here-review-photo img {
  object-position: center 49%;
}

#here-review .brand-here-review-summary h2 {
  margin: 0 0 var(--st-space-3);
  font: var(--st-section-weight) var(--st-section-size) / var(--st-section-leading) var(--st-font);
  letter-spacing: -.04em;
  text-wrap: pretty;
}

#here-review .here-review-venue {
  margin: 0 0 var(--st-space-2);
  color: var(--st-text-muted);
  font-size: .9375rem;
  font-weight: 620;
  overflow-wrap: anywhere;
}

.brand-here-review-description {
  max-width: 49ch;
  line-height: 1.5;
}

.brand-here-review-label {
  font-weight: 500;
}

.brand-here-review-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(5.25rem, .65fr);
  grid-template-areas: "start finish stub" "cost cost stub";
  margin: var(--st-space-4) 0 0;
  border: 1px solid var(--st-rule);
  background: var(--st-stock);
  font-variant-numeric: tabular-nums;
}

.brand-here-review-ticket > div {
  min-width: 0;
  padding: var(--st-space-3);
}

.brand-here-review-ticket > :first-child { grid-area: start; }
.brand-here-review-ticket > :nth-child(2) { grid-area: finish; }

.brand-here-review-ticket .brand-here-review-cost {
  grid-area: cost;
  padding-block-start: 0;
}

.brand-here-review-ticket dt {
  color: var(--st-text-muted);
  font-size: .8125rem;
  font-weight: 600;
}

.brand-here-review-ticket dd {
  margin: .2rem 0 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.brand-here-review-ticket .brand-here-review-stub {
  position: relative;
  display: grid;
  align-content: center;
  grid-area: stub;
  border-inline-start: 1px dashed var(--st-control-boundary);
  background: var(--st-ticket-aqua) url("/homepage-media/ticket-stock.webp") repeat;
  background-blend-mode: multiply;
  color: var(--st-text-on-aqua-stub);
}

.brand-here-review-stub::before,
.brand-here-review-stub::after {
  position: absolute;
  z-index: 1;
  inset-inline-start: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--st-paper);
  content: "";
  pointer-events: none;
}

.brand-here-review-stub::before { inset-block-start: -5px; }
.brand-here-review-stub::after { inset-block-end: -5px; }
.brand-here-review-stub dt { color: inherit; }
.brand-here-review-stub dd { font-size: clamp(1.1rem, 2vw, 1.45rem); }

.brand-here-price-note {
  margin-block-start: var(--st-space-2);
  color: var(--st-text-muted);
  font-size: .875rem;
}

#here-review .here-review-availability {
  margin-block: var(--st-space-4);
  padding: var(--st-space-2) var(--st-space-3);
  border-radius: 4px;
  background: var(--st-success-surface);
  color: var(--st-success-text);
  font-size: .9375rem;
  font-weight: 580;
}

#here-review .here-review-availability[data-full="true"] {
  background: var(--st-attention-surface);
  color: var(--st-attention-text);
}

.brand-here-review-logistics .here-facts {
  margin-block: var(--st-space-3);
  padding-block: var(--st-space-2);
  border-color: var(--st-rule);
}

.brand-here-review-logistics .field-help {
  margin-block: var(--st-space-2);
  color: var(--st-text-muted);
}

#here-review .brand-here-review-live .button {
  min-block-size: var(--st-tap-target);
  border-radius: var(--st-action-radius);
  font-weight: var(--st-action-weight);
}

#here-review .brand-here-review-live .button.primary:not(:disabled) {
  border-color: var(--st-action);
  background: var(--st-action);
  color: var(--st-text-on-action);
}

#here-review .brand-here-review-live .button.primary:hover:not(:disabled) {
  background: var(--st-action-hover);
}

#here-review :is(button, a):focus-visible {
  outline: var(--st-focus-width) solid var(--st-focus);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .brand-here-review-layout:has(.brand-here-review-photo) {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--st-space-5);
  }

  #here-review .brand-here-review-photo {
    aspect-ratio: 1.9;
    margin-inline: 0 5px;
  }
}

@media (max-width: 380px) {
  .brand-here-review-ticket {
    grid-template-columns: minmax(0, 1fr) minmax(4.6rem, .55fr);
    grid-template-areas: "start stub" "finish stub" "cost stub";
  }
}
