.review-demo {
  max-width: 38rem;
  margin-inline: auto;
  color: #202124;
}
.review-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.review-demo fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.review-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.review-platforms label, .review-score { position: relative; cursor: pointer; }
.review-platforms label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 6px;
  border: 1px solid #d7dadb;
  border-radius: 12px;
  background: #fff;
  color: #343636;
  font-size: .9375rem;
  font-weight: 650;
}
.review-platforms svg { width: 21px; height: 21px; }
.review-platforms input:checked + span { border-color: #242625; box-shadow: inset 0 0 0 1px #242625; }
.review-demo input:focus-visible + span, .review-demo button:focus-visible,
.review-demo textarea:focus-visible, .review-demo .review-field input:focus-visible {
  outline: 3px solid #3367be;
  outline-offset: 2px;
}
.review-sheet {
  --accent: #174ea6;
  --active-mark: #fbbc04;
  --mark-edge: #815812;
  --empty-mark: #767b7f;
  margin-top: 12px;
  border: 1px solid #dadce0;
  border-radius: 18px;
  background: white;
  overflow: hidden;
}
.review-sheet[data-review-provider="tripadvisor"] {
  --accent: #123d31;
  --active-mark: #00845f;
  --mark-edge: #006b4d;
  --empty-mark: #688b80;
}
.review-place {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px clamp(14px,4.5vw,24px);
  border-bottom: 1px solid #e3e7e9;
  background: #f5f8fb;
}
[data-review-provider="tripadvisor"] .review-place { background: #edf8f1; }
.review-place img { width: 52px; height: 52px; border-radius: 12px; }
.review-demo .review-place h2 { margin: 0; font-family: inherit; font-size: 1.2rem; font-weight: 650; letter-spacing: -.035em; line-height: 1.25; }
.review-place p, .review-author small { margin: 4px 0 0; color: #596066; font-size: .875rem; }
.review-sheet form, .review-preview { display: grid; gap: 20px; padding: clamp(16px,4.5vw,24px); }
.review-score-field legend, .review-field { font-size: 1rem; font-weight: 600; }
.review-scores { display: flex; margin: 6px 0 0; }
.review-score { width: min(48px,20%); }
.review-score > span { display: grid; place-items: center; min-height: 44px; border-radius: 5px; }
.review-score svg, .review-preview-symbols svg { width: 30px; height: 30px; color: var(--empty-mark); stroke-width: 1.6; }
.review-demo .is-filled svg { fill: var(--active-mark); stroke: var(--mark-edge); }
.review-bubble { display: inline-block; width: 27px; height: 27px; border-radius: 50%; border: 2px solid var(--empty-mark); }
.is-filled .review-bubble { border-color: var(--mark-edge); background: var(--active-mark); }
.review-score-note { display: block; margin-top: 5px; font-size: .875rem; color: #596066; }
.review-field { display: block; }
.review-field small { font-size: .875rem; color: #5f6368; font-weight: 400; }
.review-field textarea, .review-field input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid #a6aaad;
  border-radius: 8px;
  background: white;
  color: #202124;
  font: 400 1rem/1.45 Arial, sans-serif;
}
.review-field textarea { resize: vertical; min-height: 85px; }
.review-field :is(input,textarea)::placeholder { color: #62676b; opacity: 1; }
.review-demo .review-action, .review-demo .review-edit {
  min-height: 44px;
  justify-self: start;
  padding: 10px 20px;
  border: 0;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 650;
}
[data-review-provider="tripadvisor"] .review-action { background: #063a2c; }
.review-demo .review-edit { color: var(--accent); border: 1px solid #c3c8cb; background: white; }
.review-author, .review-preview-score, .review-preview-symbols { display: flex; align-items: center; gap: 10px; }
.review-author > span { display: grid; place-items: center; width: 38px; height: 38px; background: #ecefed; color: #48524c; border-radius: 50%; }
.review-author svg { width: 20px; height: 20px; }
.review-author small { display: block; }
.review-preview-score { font-size: .875rem; }
.review-preview-symbols { gap: 3px; }
.review-preview-symbols > span { display: flex; }
.review-preview-symbols svg, .review-preview-symbols .review-bubble { width: 19px; height: 19px; }
.review-preview [data-comment-text], .review-preview h3 { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.review-preview h3 { font-size: 1.1rem; }
.review-preview [data-comment-text] { line-height: 1.5; }
.review-preview :is(h3,p):empty { display: none; }
.review-demo .review-note { margin: 10px 3px 0; color: #5d6364; font-size: .875rem; }
