#review-examples {
  --rx-ink: #211923;
  --rx-light: #fff8fa;
  --rx-soft: #ded0e1;
  --rx-yellow: #ffcf37;
  --rx-line: #68526e;
  margin-block: clamp(26px, 4.5vw, 64px);
  color: var(--rx-light);
  scroll-margin-block: 15px 86px;
}
#review-examples :is(a,button,summary):focus-visible {
  outline: 3px solid var(--rx-yellow);
  outline-offset: 3px;
}
#review-examples button { font: inherit; cursor: pointer; }
#review-examples .rx-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px 32px; margin-bottom: clamp(16px, 2.4vw, 30px);
}
#review-examples .rx-heading h2 {
  margin: 0; max-width: 22ch; font-size: clamp(30px, 4vw, 58px);
  line-height: 1.02; letter-spacing: -.048em; font-weight: 800; text-wrap: balance;
}
#review-examples .rx-heading p {
  margin: 9px 0 0; max-width: 59ch; color: var(--rx-soft); line-height: 1.5;
}
#review-examples .rx-published, #review-examples .rx-service {
  display: inline-flex; align-items: center; min-height: 44px;
  max-width: 100%; font-weight: 720; color: #ffdc70;
  text-decoration: underline; text-underline-offset: .22em; line-height: 1.35;
}
#review-examples .rx-published { flex: none; font-size: 15px; }
#review-examples .rx-view { display: grid; gap: 16px; }
#review-examples .rx-panel {
  display: grid; grid-template-columns: minmax(280px,1fr) minmax(0,.95fr); align-items: center;
  min-width: 0; isolation: isolate; overflow: clip; border: 1px solid var(--rx-line);
  border-radius: clamp(16px,2vw,25px); background: #312538;
}
#review-examples .rx-panel[hidden] { display: none; }
#review-examples .rx-phone-wrap {
  min-width: 0; height: 100%; display: grid; place-items: center; container-type: inline-size;
  padding: clamp(16px,2vw,28px) clamp(12px,2.4vw,30px);
  background: radial-gradient(ellipse at 9% 24%,#836381 0,transparent 50%),
    radial-gradient(ellipse at 94% 78%,#704366 0,transparent 60%), #342839;
}
#review-examples .rx-phone {
  width: min(100%,348px); min-width: 0; min-height: min(191cqw,665px); margin: 0 auto;
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  box-sizing: border-box; border: 6px solid #141217; border-radius: 42px;
  outline: 1px solid #d8cfdb;
  box-shadow: 0 0 0 3px #554e58, 8px 18px 30px #1c12245c;
  background: linear-gradient(150deg,#faf8fb,#eee7f1 72%); color: var(--rx-ink);
  font-size: 16px; line-height: 1.38; letter-spacing: -.015em;
}
#review-examples .rx-island {
  width: 76px; height: 19px; flex: none; position: relative; margin: 10px auto 5px;
  background: #141319; border-radius: 12px;
}
#review-examples .rx-island::after {
  content: ""; position: absolute; width: 7px; height: 7px; top: 6px; right: 10px;
  border-radius: 50%; background: #20242e;
}
#review-examples .rx-chat-head {
  display: flex; align-items: center; justify-content: center; position: relative; gap: 9px; padding: 7px 12px 11px;
  border-bottom: 1px solid #dacede; line-height: 1.18;
}
#review-examples .rx-avatar { width: 37px; height: 37px; border-radius: 50%; background:#251b2c; display:grid; place-items:center; }
#review-examples .rx-avatar img { width: auto; height: 25px; display:block; }
#review-examples .rx-back {
  position: absolute; left: 19px; width: 10px; height: 10px; transform: rotate(45deg);
  border-left: 2px solid #6c4772; border-bottom: 2px solid #6c4772;
}
#review-examples .rx-chat-head strong { display:block; font-size: 18px; font-weight: 790; letter-spacing: -.035em; }
#review-examples .rx-chat-head small { display:block; margin-top: 3px; font-size: 12px; color: #625568; }
#review-examples .rx-thread { flex: 1; display: grid; align-content: center; gap: 10px; padding: 14px 13px 10px; }
#review-examples .rx-bubble {
  width: fit-content; max-width: 88%; padding: 9px 12px; border-radius: 17px;
  overflow-wrap: break-word; box-shadow: 0 1px 2px rgba(47,35,51,.10);
}
#review-examples .rx-master {
  justify-self: start; border-bottom-left-radius: 4px; background: #fff;
}
#review-examples .rx-client {
  justify-self: end; border-bottom-right-radius: 4px;
  max-width: 91%; background: #ffe99e; color: #332817;
}
#review-examples .rx-speaker {
  display: block; margin: 0 0 3px; color: #5b3d66;
  font-size: 12px; font-weight: 790; line-height: 1.3;
}
#review-examples .rx-client .rx-speaker { color: #60481d; }
#review-examples .rx-bubble p { margin: 0; }
#review-examples .rx-chat-photo { margin: 4px 0 8px; touch-action: pan-y pinch-zoom; }
#review-examples .rx-chat-photo picture { display: block; }
#review-examples .rx-chat-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 1.48; object-fit: cover; object-position:50% 57%;
  border-radius: 10px; user-select:none; -webkit-user-drag:none;
}
#review-examples .rx-chat-caption {
  display: block; flex: none; margin: auto 12px 0; padding: 5px 0;
  font-size: 12px; line-height: 1.4; color: #625568; text-align: center;
}
#review-examples .rx-home-indicator { width: 90px; height: 4px; flex:none; border-radius: 4px; background: #332e36; margin: 10px auto 8px; }
#review-examples .rx-copy { min-width: 0; padding: clamp(24px,3.7vw,60px); }
#review-examples .rx-kind { display: block; margin: 0 0 9px; color: #f5ce60; font-size: 15px; font-weight: 710; }
#review-examples .rx-title { margin: 0; color: var(--rx-light); max-width: 17ch; font-size: clamp(32px,3.8vw,56px); line-height: 1.04; letter-spacing: -.047em; text-wrap: balance;}
#review-examples .rx-note { margin: 16px 0 0; max-width: 38ch; font-size: clamp(16px,1.5vw,20px); line-height: 1.5; color: var(--rx-soft); }
#review-examples .rx-check {
  margin-top: 12px; max-width: 44ch; padding: 0; border: 0;
}
#review-examples .rx-check summary, #rx-feedback summary {
  width: fit-content; max-width: 100%; min-height: 44px; padding-block: 10px;
  color: #f3e8f2; font-weight: 720; cursor: pointer; line-height: 1.45;
}
#review-examples .rx-check summary::marker, #rx-feedback summary::marker { color: #eecc73; }
#review-examples .rx-check[open] summary, #rx-feedback details[open] summary { color: #ffdf7d; }
#review-examples .rx-check p {
  margin: 0; padding: 0 0 2px; color: var(--rx-soft); font-size: 15px; line-height: 1.5;
}
#review-examples .rx-address {
  margin: 13px 0 15px; padding-top: 12px; border-top: 1px solid #624e67;
  max-width: 36ch; font-size: 13px; color: #cbb8cf; line-height: 1.4;
}
#review-examples .rx-address span {
  display: block; margin-top: 3px; color: #f0e4f1; font-size: 16px; font-weight: 660;
}
#review-examples .rx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
#review-examples .rx-prepare, #rx-draft #rx-copy-text, #rx-feedback .rx-max {
  display: inline-flex; align-items: center; justify-content: center; max-width: 100%;
  min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px;
  background: #ffcf37; color: #261e18; font: inherit; font-weight: 760; line-height: 1.3;
  text-decoration: none; text-align: center; cursor: pointer;
}
#review-examples .rx-service { font-size: clamp(15px,1.25vw,17px); color: #e4d5e5; text-decoration-color: #a98eae; }
#review-examples .rx-controls, #review-examples .rx-rail { display: none; }
#review-examples.rx-ready .rx-controls {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  margin: 13px 0 10px; font-size: 15px; font-weight: 710; font-variant-numeric: tabular-nums;
}
#review-examples .rx-step-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
#review-examples .rx-topic-label {
  display: flex; align-items: center; gap: 10px; min-width: 0;
}
#review-examples .rx-topic-select {
  box-sizing: border-box; max-width: 100%; min-width: 0; min-height: 44px;
  padding: 6px 10px; border: 1px solid #846a89; border-radius: 9px;
  background: #352639; color: #fff8fc; color-scheme: dark; font: inherit;
}
#review-examples .rx-topic-select:focus-visible { outline: 3px solid var(--rx-yellow); outline-offset: 3px; }
#review-examples #rx-position { margin-inline-start: auto; }
#review-examples .rx-step-buttons button {
  padding: 6px 18px; min-height: 44px; min-width: 70px; line-height: 1.2; font-weight: 730;
  background: #352639; color: #fff8fc; border: 1px solid #846a89; border-radius: 9px;
}
#review-examples #rx-next { background: var(--rx-yellow); color: #281d17; border-color: var(--rx-yellow); }
#review-examples.rx-ready .rx-rail {
  display: flex; column-gap: 8px; max-width: 100%; overflow-x: auto; margin-top: 9px; padding: 5px 4px 10px;
  scroll-padding-inline: 4px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #806784 #312434;
}
#review-examples .rx-thumb {
  flex: 0 0 clamp(90px, 8.5vw, 124px); min-width: 0; display: flex; flex-direction: column;
  gap: 6px; align-items: stretch; padding: 4px; min-height: 44px; text-align: left; line-height: 1.22;
  background: #302334; color: #e9dfee; border: 1px solid #65526a; border-radius: 8px;
}
#review-examples .rx-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1.9/1; object-fit: cover; border-radius: 5px; }
#review-examples .rx-thumb span { padding: 0 2px 3px; font-size: 12px; font-weight: 700; overflow-wrap: break-word; }
#review-examples .rx-thumb[aria-selected="true"] { outline: 2px solid var(--rx-yellow); outline-offset: -2px; color: #ffe28b; background: #443145; }
#review-examples .rx-thumb[aria-selected="true"]:focus-visible { outline: 3px solid #ffecab; outline-offset: 2px; }
#review-examples + #reviews-guide { margin-top: clamp(36px,6vw,84px); }
#reviews-guide .tr-head .tr-link { margin-inline-end: 1.5rem; }
#rx-draft, #rx-feedback {
  box-sizing: border-box; min-width: 0; margin-block: clamp(24px,4vw,50px);
  color: #fff8fa; scroll-margin-top: var(--rt-header-offset,80px); overflow-wrap: break-word;
}
#rx-draft {
  padding: clamp(18px,3vw,42px); border: 1px solid #6c5472; border-radius: clamp(15px,2vw,25px);
  background: #2d2332;
}
#rx-feedback {
  padding: clamp(14px,2.1vw,26px) 0 0; border-top: 1px solid #645068;
}
:is(#rx-draft,#rx-feedback) h2 {
  margin: 0; color: #fff8fa; font-size: clamp(27px,3.3vw,47px); line-height: 1.07;
  letter-spacing: -.04em; text-wrap: balance;
}
#rx-feedback h2 { font-size: clamp(24px,2.4vw,33px); }
:is(#rx-draft,#rx-feedback) p {
  margin: 8px 0 0; max-width: 65ch; color: #e0d2e1; font-size: 16px; line-height: 1.5;
}
#rx-draft .rx-form-grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start;
  gap: clamp(18px,3vw,40px); margin-top: clamp(17px,2.5vw,30px);
}
#rx-draft :is(.rx-fields,.rx-summary) { min-width: 0; }
#rx-draft label {
  display: block; margin: 13px 0 5px; color: #f8ecf7; font-size: 15px; line-height: 1.4; font-weight: 730;
}
#rx-draft label:first-child { margin-top: 0; }
#rx-draft :is(input,textarea,select) {
  display: block; width: 100%; box-sizing: border-box; min-width: 0; max-width: 100%; min-height: 46px;
  padding: 9px 12px; background: #231b28; border: 1px solid #836c89; border-radius: 9px;
  color: #fff8fa; color-scheme: dark; font: inherit; font-size: 16px; font-weight: 480; line-height: 1.45;
}
#rx-draft label > :is(input,textarea,select) { margin-top: 5px; }
#rx-draft textarea { min-height: 5.7em; resize: vertical; }
#rx-draft :is(input,textarea)::placeholder { color: #beafc3; }
#rx-draft .rx-summary {
  padding: clamp(13px,2vw,22px); background: #3b2e41; border: 1px solid #65506b; border-radius: 13px;
}
#rx-draft #rx-result {
  min-height: 8.4em; border-color: #755e7b; background: #332738;
  color: #f6eaf5; line-height: 1.52;
}
@supports (field-sizing: content) {
  #rx-draft #rx-result { field-sizing: content; max-height: 26rem; }
}
#rx-draft #rx-copy-text, #rx-draft .rx-max { margin-top: 12px; vertical-align: middle; }
#rx-draft #rx-copy-text { margin-right: 12px; }
#rx-draft #rx-copy-text:disabled { background: #625568; color: #eee4f0; cursor: default; }
#rx-draft .rx-max {
  display: inline-flex; min-height: 44px; max-width: 100%; align-items: center;
  color: #ffdf7f; text-underline-offset: .2em; font-weight: 700; line-height: 1.3;
}
#rx-draft #rx-status { font-size: 14px; color: #f2dfb5; }
#rx-draft #rx-status:empty { margin: 0; }
#rx-feedback details {
  margin-top: 8px; padding: 0; border: 0;
}
#rx-feedback ul { margin: 2px 0 12px; padding-left: 1.15em; max-width: 62ch; color: #e0d2e1; line-height: 1.5; }
#rx-feedback li + li { margin-top: 5px; }
#rx-feedback .rx-max { margin-top: 8px; }
:is(#rx-draft,#rx-feedback) :is(button,a,summary,input,textarea,select):focus-visible {
  outline: 3px solid #ffdd75; outline-offset: 3px;
}
:is(#rx-draft,#rx-feedback)[hidden], :is(#rx-draft,#rx-feedback,#review-examples) [hidden] {
  display: none !important;
}
@media (hover:hover) {
  #review-examples :is(.rx-published,.rx-service):hover { color: #fff0af; }
  #review-examples .rx-thumb:hover, #review-examples #rx-prev:hover { border-color: #d3b8db; }
  #review-examples #rx-next:hover { background: #ffe075; }
  #review-examples .rx-prepare:hover, #rx-draft #rx-copy-text:hover, #rx-feedback .rx-max:hover { background: #ffdf75; }
  #rx-draft .rx-max:hover, #review-examples .rx-check summary:hover, #rx-feedback summary:hover { color: #fff0bb; }
}
@media (max-width:760px) {
  #review-examples .rx-head { display: block; margin-bottom: 10px; }
  #review-examples .rx-heading p { font-size: 15px; line-height: 1.4; margin-top: 6px; }
  #review-examples .rx-published { font-size: 14px; }
  #review-examples .rx-panel {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "title" "chat" "note" "check" "address" "actions";
  }
  #review-examples .rx-copy { display: contents; }
  #review-examples .rx-kind { display: none; }
  #review-examples .rx-title { grid-area: title; max-width: none; padding: 12px 14px; font-size: clamp(23px,5.8vw,30px); line-height: 1.1; }
  #review-examples .rx-phone-wrap { grid-area: chat; padding: 14px 12px; }
  #review-examples .rx-phone { width: min(100%,324px); min-height: min(185cqw,599px); font-size:15px; line-height:1.34; }
  #review-examples .rx-thread { gap:7px; padding:10px 10px 8px; }
  #review-examples .rx-bubble { padding:8px 10px; }
  #review-examples .rx-note { grid-area: note; max-width: none; margin: 9px 14px 0; font-size: 14px; line-height: 1.4; }
  #review-examples .rx-check { grid-area: check; max-width: none; margin: 2px 14px 0; }
  #review-examples .rx-address { grid-area: address; max-width: none; margin: 4px 14px 0; padding-top: 7px; }
  #review-examples .rx-address span { font-size: 15px; margin-top: 1px; }
  #review-examples .rx-actions { grid-area: actions; margin: 9px 14px 12px; gap: 3px 12px; }
  #review-examples .rx-service { font-size: 15px; }
  #rx-draft, #rx-feedback { scroll-margin-top: 70px; }
  #rx-draft { padding: 16px 13px; }
  #rx-draft .rx-form-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  #rx-draft .rx-summary { padding: 12px; }
  #rx-draft #rx-copy-text, #rx-draft .rx-max { margin-top: 7px; }
  #rx-draft #rx-copy-text { margin-right: 7px; }
  #review-examples.rx-ready .rx-controls { margin-top: 8px; margin-bottom: 5px; }
  #review-examples.rx-ready .rx-controls { flex-wrap: wrap; gap: 6px 10px; }
  #review-examples .rx-topic-label { width: 100%; justify-content: space-between; }
  #review-examples .rx-topic-select { flex: 1; }
  #review-examples #rx-position { margin-inline-start: 0; }
  #review-examples .rx-step-buttons button { padding-inline: 14px; }
  #review-examples .rx-thumb { flex-basis: 88px; }
}
@media (prefers-reduced-motion:reduce) {
  #review-examples .rx-rail { scroll-behavior: auto; }
}
