.survey-demo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin-top: 20px;
}
.survey-demo[hidden], .survey-demo [hidden] { display: none; }
.survey-card {
  min-width: 0;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  background: #fff;
}
.survey-cabinet { border-top-color: var(--blue); background: #f2f6f9; }
.survey-card h3 { margin-bottom: 16px; }
.survey-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.survey-card legend, .survey-comment { font-weight: 700; line-height: 1.35; }
.survey-card legend { width: 100%; padding: 0; font-size: 18px; }
.survey-ratings {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.survey-ratings label { position: relative; margin: 0; cursor: pointer; }
.survey-ratings input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.survey-ratings span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid #7189a1;
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
}
.survey-ratings input:checked + span { color: #fff; background: var(--ink); border-color: var(--ink); }
.survey-ratings label:hover span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.survey-ratings input:focus-visible + span,
.survey-demo :is(textarea, button, h3):focus-visible { outline: 3px solid #225591; outline-offset: 2px; }
.survey-card .survey-scale {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 5px 0 16px; font-size: 14px;
}
.survey-comment { display: block; }
.survey-card textarea {
  display: block; width: 100%; margin: 6px 0 14px;
  padding: 8px 10px; resize: vertical;
  border: 1px solid #7189a1; border-radius: 4px;
  color: var(--ink); background: #fff; font: inherit;
}
.survey-submit, .survey-again {
  min-height: 44px; padding: 8px 16px; border: 0;
  color: #fff; background: var(--ink); font: inherit; font-weight: 700; cursor: pointer;
}
.survey-submit:hover { background: #193753; }
.survey-again { margin-top: 8px; padding-inline: 0; background: transparent; color: var(--blue); text-decoration: underline; }
.survey-record > div { border-top: 1px solid #c6d3df; padding: 10px 0; }
.survey-record dt { font-size: 14px; }
.survey-record dd { overflow-wrap: anywhere; white-space: pre-wrap; }
.survey-record strong { font-size: 26px; }
.survey-cabinet h3 { scroll-margin-top: 78px; }
.survey-video { max-width: 600px; margin-top: 20px; }
.survey-video .video-cover {
  width: fit-content; max-width: 100%; aspect-ratio: auto;
  background: var(--ink); color: #fff; text-decoration: none; border: none;
}
.survey-video .video-cover:hover { background: #193753; }
.survey-video .video-label {
  position: static; min-height: 48px; padding: 10px 18px;
  background: transparent; line-height: 1.35;
}
.survey-video .video-play {
  display: grid; place-items: center; flex: 0 0 26px; height: 26px;
  border: 1px solid currentColor; border-radius: 50%; font: 13px/1 sans-serif;
}
.survey-delivery {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  margin-top: 20px;
}
.survey-booking { background: #fff; border: 1px solid #becdd9; border-radius: 8px; overflow: hidden; }
.survey-booking figcaption { padding: 14px 20px; background: var(--ink); color: white; }
.survey-booking figcaption span { display: block; font-size: 15px; }
.survey-booking figcaption strong { display: block; font-size: 23px; line-height: 1.3; }
.survey-booking dl { padding-inline: 20px; }
.survey-booking dl > div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline;
  gap: 10px; padding: 10px 0;
}
.survey-booking dl > div + div { border-top: 1px solid var(--rule); }
.survey-booking dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.survey-destinations h3 { border-inline-start: 3px solid var(--gold); padding-inline-start: 9px; }
.survey-destinations p { margin-top: 5px; }
.survey-destinations p + h3 { margin-top: 16px; }
.survey-destinations .attachment-text-link { margin-top: 4px; }
.survey-page .footer { margin-top: 0; }
@media (max-width: 767px) {
  .survey-demo { grid-template-columns: 1fr; gap: 12px; }
  .survey-delivery { grid-template-columns: 1fr; }
}
@media (max-width: 359px) and (max-height: 700px) {
  .survey-page .smart-intro h1 { font-size: 26px; text-wrap: initial; }
  .survey-page .smart-intro p { font-size: 16px; }
}
@media (forced-colors: active) {
  .survey-ratings input:checked + span { outline: 3px solid Highlight; outline-offset: -5px; }
}
