.rgsj {
  --ink: #251d18;
  --muted: #786b61;
  --cream: #f7f1e9;
  --paper: #fffdf9;
  --line: #e5d9cc;
  --gold: #b58a52;
  --gold-dark: #8e6537;
  --sage: #dfe8df;
  --rose: #f2dfdc;
  --danger: #9b4d43;
  width: min(1180px, calc(100% - 24px));
  margin: 28px auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(42, 31, 22, 0.09);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  position: relative;
}

.rgsj *,
.rgsj *::before,
.rgsj *::after {
  box-sizing: border-box;
}

.rgsj button,
.rgsj input,
.rgsj select {
  font: inherit;
}

.rgsj button,
.rgsj a {
  -webkit-tap-highlight-color: transparent;
}

.rgsj h1,
.rgsj h2,
.rgsj h3,
.rgsj p {
  margin-top: 0;
}

.rgsj_hidden {
  display: none !important;
}

.rgsj_hidden_input,
.rgsj_honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  left: -9999px !important;
}

.rgsj_brandbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 26px;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--line);
}

.rgsj_brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rgsj_brandmark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.rgsj_brand strong,
.rgsj_brand small {
  display: block;
}

.rgsj_brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.rgsj_brand small,
.rgsj_brandnote {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rgsj_progress {
  min-height: 62px;
  display: grid;
  grid-template-columns: 90px minmax(160px, 1fr) 125px;
  align-items: center;
  gap: 18px;
  padding: 0 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.rgsj_back {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
  text-align: left;
  padding: 10px 0;
}

.rgsj_back::before {
  content: "←";
  margin-right: 7px;
}

.rgsj_progress_track {
  height: 5px;
  border-radius: 999px;
  background: #efe7de;
  overflow: hidden;
}

.rgsj_progress_track i {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transition: width 280ms ease;
}

.rgsj_progress > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.rgsj_step {
  padding: clamp(30px, 5vw, 66px);
}

.rgsj_intro_grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 70px);
}

.rgsj_intro_copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 4vw, 34px);
}

.rgsj_eyebrow,
.rgsj_heading > span,
.rgsj_card_kicker,
.rgsj_section_heading span,
.rgsj_camera_header span {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rgsj_intro_copy h1 {
  max-width: 720px;
  margin: 14px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.rgsj_intro_copy > p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.68;
}

.rgsj_trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.rgsj_trust span {
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.rgsj_contact_card {
  align-self: center;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 28px;
  background: linear-gradient(155deg, #2c221c, #1f1915);
  color: white;
  box-shadow: 0 28px 70px rgba(37, 29, 24, 0.2);
}

.rgsj_contact_card h2 {
  margin: 10px 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
}

.rgsj_contact_card .rgsj_field > span {
  color: rgba(255, 255, 255, 0.86);
}

.rgsj_contact_card .rgsj_field input {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.rgsj_contact_card .rgsj_field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.rgsj_contact_card .rgsj_consent {
  color: rgba(255, 255, 255, 0.74);
}

.rgsj_contact_status {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.55;
}

.rgsj_heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.rgsj_heading h2,
.rgsj_result_hero h2,
.rgsj_section_heading h2,
.rgsj_concern_panel h2 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.rgsj_heading p,
.rgsj_result_copy p,
.rgsj_section_heading > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.rgsj fieldset {
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.rgsj legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 800;
}

.rgsj fieldset > small {
  display: block;
  margin-bottom: 13px;
  color: var(--muted);
}

.rgsj_choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rgsj_five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rgsj_choices label {
  position: relative;
}

.rgsj_choices input {
  position: absolute;
  opacity: 0;
}

.rgsj_choices span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
  text-align: center;
  cursor: pointer;
  transition: 160ms ease;
}

.rgsj_choices input:focus-visible + span {
  outline: 3px solid rgba(181, 138, 82, 0.25);
  outline-offset: 2px;
}

.rgsj_choices input:checked + span {
  border-color: var(--gold);
  background: #fbf4e8;
  box-shadow: inset 0 0 0 2px var(--gold);
}

.rgsj_two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rgsj_field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 17px;
}

.rgsj_field > span {
  font-size: 14px;
  font-weight: 800;
}

.rgsj_field input,
.rgsj_field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.rgsj_field input:focus,
.rgsj_field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 138, 82, 0.14);
}

.rgsj_compact {
  margin-bottom: 16px !important;
}

.rgsj_compact label {
  margin-right: 20px;
}

.rgsj_consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  color: var(--muted);
  line-height: 1.55;
}

.rgsj_consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold-dark);
  flex: 0 0 auto;
}

.rgsj_button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.rgsj_button:hover {
  transform: translateY(-1px);
}

.rgsj_button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.rgsj_primary {
  background: var(--ink);
  color: white !important;
  box-shadow: 0 10px 28px rgba(37, 29, 24, 0.16);
}

.rgsj_contact_card .rgsj_primary {
  background: white;
  color: var(--ink) !important;
}

.rgsj_secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink) !important;
}

.rgsj_text {
  background: transparent;
  color: var(--muted) !important;
}

.rgsj_full {
  width: 100%;
}

.rgsj_actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.rgsj_photo_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
}

.rgsj_upload {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 2px dashed #cdbda9;
  border-radius: 26px;
  background: linear-gradient(150deg, #f4eadf, #fffaf4);
}

.rgsj_upload img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
}

.rgsj_face_guide {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  padding: 24px;
}

.rgsj_face_guide b {
  font-size: 20px;
}

.rgsj_face_guide small {
  color: var(--muted);
}

.rgsj_face_outline {
  width: 145px;
  height: 190px;
  display: block;
  margin-bottom: 12px;
  border: 2px solid rgba(181, 138, 82, 0.6);
  border-radius: 46% 46% 43% 43%;
  position: relative;
}

.rgsj_face_outline::before,
.rgsj_face_outline::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold-dark);
}

.rgsj_face_outline::before {
  top: -13px;
  left: -13px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.rgsj_face_outline::after {
  right: -13px;
  bottom: -13px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.rgsj_upload.rgsj_has_photo {
  border-style: solid;
  border-color: var(--line);
}

.rgsj_upload.rgsj_has_photo::after {
  content: "Selfie selected";
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(30, 24, 20, 0.76);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.rgsj_capture_actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.rgsj_photo_grid aside {
  padding: 28px;
  border-radius: 26px;
  background: var(--ink);
  color: white;
}

.rgsj_photo_grid aside h3 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.rgsj_photo_grid aside ol {
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.rgsj_photo_grid aside p {
  margin-top: 28px;
  padding: 17px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.rgsj_loading {
  min-height: 560px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 50px 20px;
  text-align: center;
}

.rgsj_loading h2 {
  margin: 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
}

.rgsj_loading p {
  color: var(--muted);
}

.rgsj_orbit {
  width: 104px;
  height: 104px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}

.rgsj_orbit::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.rgsj_orbit span {
  width: 14px;
  height: 14px;
  position: absolute;
  top: 3px;
  left: 45px;
  border-radius: 50%;
  background: var(--ink);
  transform-origin: 7px 49px;
  animation: rgsjOrbit 1.2s linear infinite;
}

@keyframes rgsjOrbit {
  to { transform: rotate(360deg); }
}

.rgsj_result_hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 38px;
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f3e8dc, #fffdf9);
}

.rgsj_result_copy small {
  color: var(--muted);
}

.rgsj_pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--sage);
  font-size: 11px;
  font-weight: 850;
}

.rgsj_photo_map {
  width: 100%;
  max-width: 420px;
  position: relative;
  justify-self: end;
  overflow: visible;
}

.rgsj_photo_map > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: contain;
  box-shadow: 0 18px 50px rgba(31, 23, 15, 0.2);
}

.rgsj_concern_pin {
  width: 32px;
  height: 32px;
  position: absolute;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--gold-dark);
  color: white;
  box-shadow: 0 5px 18px rgba(37, 29, 24, 0.36);
  cursor: pointer;
}

.rgsj_concern_pin::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
}

.rgsj_concern_pin span {
  font-size: 12px;
  font-weight: 900;
}

.rgsj_concern_pin em {
  min-width: max-content;
  position: absolute;
  left: 39px;
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(37, 29, 24, 0.92);
  color: white;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.rgsj_concern_pin:hover em,
.rgsj_concern_pin:focus em,
.rgsj_concern_pin.rgsj_pin_open em {
  opacity: 1;
}

.rgsj_severity_high {
  background: #9b4d43;
}

.rgsj_severity_medium {
  background: #a9793e;
}

.rgsj_severity_gentle {
  background: #697c68;
}

.rgsj_concern_panel,
.rgsj_section {
  padding-top: 42px;
}

.rgsj_section_heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.rgsj_section_heading h2,
.rgsj_concern_panel h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 44px);
}

.rgsj_section_heading > p {
  max-width: 380px;
  margin: 0;
  font-size: 14px;
}

.rgsj_concern_legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rgsj_concern_item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
}

.rgsj_concern_item > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 850;
}

.rgsj_concern_item strong {
  display: block;
  margin-bottom: 4px;
}

.rgsj_concern_item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.rgsj_scores {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.rgsj_score {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.rgsj_score strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
}

.rgsj_score span {
  color: var(--muted);
  font-size: 12px;
}

.rgsj_score > div {
  height: 6px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee5dc;
}

.rgsj_score i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.rgsj_warning {
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid #e4ce9d;
  border-radius: 16px;
  background: #fff8e8;
  color: #715928;
}

.rgsj_warning p {
  margin: 6px 0 0;
}

.rgsj_products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rgsj_product {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.rgsj_product img,
.rgsj_product_placeholder {
  width: 138px;
  height: 164px;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(145deg, #eee2d5, #fffdf9);
}

.rgsj_product_placeholder {
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.rgsj_product_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.rgsj_product h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.rgsj_product p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.rgsj_product small {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.rgsj_product_action {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 13px;
}

.rgsj_setup_note {
  color: var(--danger);
  font-size: 12px;
}

.rgsj_cart {
  margin-top: 20px;
}

.rgsj_blocked {
  margin: 10px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--danger);
  border-radius: 0 14px 14px 0;
  background: #fff5f3;
}

.rgsj_blocked p {
  margin: 4px 0 0;
  color: var(--muted);
}

.rgsj_routines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rgsj_routine {
  min-height: 190px;
  padding: 20px;
  border-radius: 19px;
  background: var(--ink);
  color: white;
}

.rgsj_routine h3 {
  margin: 0 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.rgsj_routine ol {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.rgsj_routine li {
  margin-bottom: 8px;
}

.rgsj_progress_results {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.rgsj_progress_results > div {
  display: grid;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}

.rgsj_progress_results strong {
  font-size: 24px;
}

.rgsj_progress_results .positive {
  color: #34754a;
}

.rgsj_progress_results .negative {
  color: var(--danger);
}

.rgsj_progress_results span,
.rgsj_progress_results small {
  color: var(--muted);
}

.rgsj_disclaimer {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.rgsj_result_actions {
  justify-content: flex-start;
}

.rgsj_camera_open {
  overflow: hidden;
}

.rgsj_camera_modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 14, 11, 0.82);
  backdrop-filter: blur(8px);
}

.rgsj_camera_card {
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 20px;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
}

.rgsj_camera_header,
.rgsj_camera_actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rgsj_camera_header h2 {
  margin: 5px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.rgsj_camera_header > button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  cursor: pointer;
}

.rgsj_camera_view {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #16120f;
}

.rgsj_camera_view video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.rgsj_camera_guide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.rgsj_camera_guide span {
  width: 48%;
  height: 65%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 46% 46% 43% 43%;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.13);
}

.rgsj_camera_actions {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .rgsj_intro_grid,
  .rgsj_photo_grid,
  .rgsj_result_hero {
    grid-template-columns: 1fr;
  }

  .rgsj_intro_grid {
    min-height: 0;
  }

  .rgsj_contact_card {
    width: min(620px, 100%);
    justify-self: center;
  }

  .rgsj_result_hero {
    align-items: start;
  }

  .rgsj_photo_map {
    max-width: 370px;
    justify-self: start;
  }

  .rgsj_scores {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rgsj_routines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rgsj_progress_results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .rgsj {
    width: 100%;
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .rgsj_brandbar {
    min-height: 68px;
    padding: 11px 16px;
  }

  .rgsj_brandnote {
    display: none;
  }

  .rgsj_brandmark {
    width: 39px;
    height: 39px;
  }

  .rgsj_brand strong {
    font-size: 21px;
  }

  .rgsj_progress {
    grid-template-columns: 72px 1fr 84px;
    gap: 10px;
    padding: 0 15px;
  }

  .rgsj_step {
    padding: 30px 16px;
  }

  .rgsj_intro_copy {
    padding: 12px 2px 18px;
  }

  .rgsj_intro_copy h1 {
    font-size: clamp(46px, 14vw, 68px);
  }

  .rgsj_trust {
    grid-template-columns: 1fr;
  }

  .rgsj_contact_card {
    padding: 26px 20px;
    border-radius: 23px;
  }

  .rgsj_choices,
  .rgsj_five,
  .rgsj_two,
  .rgsj_concern_legend,
  .rgsj_products {
    grid-template-columns: 1fr 1fr;
  }

  .rgsj_two {
    gap: 0 12px;
  }

  .rgsj_upload {
    min-height: 430px;
  }

  .rgsj_result_hero {
    padding: 22px;
  }

  .rgsj_section_heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .rgsj_scores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rgsj_products {
    grid-template-columns: 1fr;
  }

  .rgsj_product {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .rgsj_product img,
  .rgsj_product_placeholder {
    width: 105px;
    height: 130px;
  }

  .rgsj_routines,
  .rgsj_progress_results {
    grid-template-columns: 1fr 1fr;
  }

  .rgsj_actions {
    flex-wrap: wrap;
  }

  .rgsj_actions .rgsj_button {
    flex: 1 1 180px;
  }

  .rgsj_camera_modal {
    padding: 8px;
  }

  .rgsj_camera_card {
    max-height: calc(100vh - 16px);
    padding: 14px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .rgsj_choices,
  .rgsj_five,
  .rgsj_two,
  .rgsj_concern_legend,
  .rgsj_routines,
  .rgsj_progress_results {
    grid-template-columns: 1fr;
  }

  .rgsj_capture_actions {
    grid-template-columns: 1fr;
  }

  .rgsj_product {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 14px;
  }

  .rgsj_product img,
  .rgsj_product_placeholder {
    width: 88px;
    height: 112px;
  }

  .rgsj_product h3 {
    font-size: 20px;
  }

  .rgsj_concern_pin em {
    display: none;
  }
}


.rgsj_concern_summary {
  margin: 0 0 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(168, 129, 77, 0.08);
}

.rgsj_concern_summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rgsj_concern_summary p {
  margin: 0;
  color: var(--muted);
}

.rgsj_concern_item small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}


/* 1.2.0 refresh */
.rgsj_intro_pills, .rgsj_quiz_glance {display:flex; flex-wrap:wrap; gap:10px; margin-top:18px;}
.rgsj_intro_pills span, .rgsj_quiz_glance span {display:inline-flex; align-items:center; min-height:34px; padding:8px 14px; border-radius:999px; background:rgba(181,138,82,0.12); color:var(--gold-dark); font-size:12px; font-weight:800; letter-spacing:0.04em;}
.rgsj_contact_card {background: linear-gradient(155deg, #2c221c, #1c1511);}
.rgsj_contact_card h2 {color:#fff !important; font-size:clamp(28px,3.5vw,42px); margin-bottom:14px;}
.rgsj_card_intro {margin:0 0 18px; color:rgba(255,255,255,0.76); line-height:1.6;}
.rgsj_intro_copy h1 {font-size: clamp(44px, 6vw, 78px); line-height: 0.99;}
.rgsj_heading {max-width:860px;}
.rgsj_heading h2, .rgsj_result_hero h2, .rgsj_section_heading h2, .rgsj_concern_panel h2 {font-size: clamp(32px, 4.3vw, 50px);}
.rgsj_step[data-step="2"] fieldset {padding:24px; border-radius:24px; box-shadow:0 8px 24px rgba(31,23,15,0.04);}
.rgsj_step[data-step="2"] legend {font-size:14px; letter-spacing:0.01em;}
.rgsj_step[data-step="2"] .rgsj_two .rgsj_field, .rgsj_step[data-step="2"] .rgsj_two .rgsj_compact {padding:18px; border:1px solid var(--line); border-radius:20px; background:#fff; margin-bottom:0 !important;}
.rgsj_step[data-step="2"] .rgsj_two {margin-top:6px;}
.rgsj_step[data-step="2"] .rgsj_field > span {margin-bottom:2px;}
.rgsj_step[data-step="2"] .rgsj_compact label {display:inline-flex; align-items:center; gap:6px; padding:8px 0;}
.rgsj_result_microcopy {margin-top:2px; color:var(--gold-dark); font-size:13px; font-weight:700; letter-spacing:0.03em;}
.rgsj_photo_map {background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(249,243,236,0.88)); padding:12px; border-radius:28px; box-shadow:0 18px 50px rgba(31,23,15,0.12);}
.rgsj_photo_map > img {box-shadow:none; position:relative; z-index:1;}
.rgsj_face_mesh {position:absolute; inset:12px; width:calc(100% - 24px); height:calc(100% - 24px); z-index:2; pointer-events:none;}
.rgsj_mesh_outline {fill:none; stroke:rgba(255,255,255,0.28); stroke-width:1.2;}
.rgsj_mesh_line {fill:none; stroke:rgba(255,255,255,0.24); stroke-width:0.9;}
.rgsj_mesh_node {fill:rgba(255,255,255,0.55);}
.rgsj_mesh_focus_line {stroke:rgba(255,255,255,0.55); stroke-width:0.8; stroke-dasharray:2.5 2.5;}
.rgsj_mesh_focus {fill:#c9a063;}
.rgsj_mesh_focus_high {fill:#c16d60;}
.rgsj_mesh_focus_medium {fill:#c79a55;}
.rgsj_mesh_focus_gentle {fill:#7c9278;}
.rgsj_mesh_focus_ring {fill:none; stroke:rgba(255,255,255,0.5); stroke-width:0.8;}
.rgsj_concern_pin {width:18px; height:18px; border:0; background:transparent; box-shadow:none;}
.rgsj_concern_pin::before {inset:-6px; border:1px solid rgba(255,255,255,0.7); opacity:0.8;}
.rgsj_dot_core {width:10px; height:10px; border-radius:50%; background:currentColor; display:block; box-shadow:0 0 0 4px rgba(255,255,255,0.24);}
.rgsj_concern_pin span:not(.rgsj_dot_core) {display:none;}
.rgsj_concern_pin em {left:24px; padding:6px 8px; border-radius:999px; background:rgba(37,29,24,0.9);}
.rgsj_concern_item {grid-template-columns:auto 1fr; align-items:start; gap:14px;}
.rgsj_concern_swatch {width:14px; height:14px; border-radius:50%; margin-top:6px; display:block; background:#c79a55; box-shadow:0 0 0 6px rgba(201,160,99,0.12);}
.rgsj_concern_item .rgsj_concern_swatch.rgsj_severity_high {background:#c16d60; box-shadow:0 0 0 6px rgba(193,109,96,0.12);}
.rgsj_concern_item .rgsj_concern_swatch.rgsj_severity_medium {background:#c79a55; box-shadow:0 0 0 6px rgba(199,154,85,0.12);}
.rgsj_concern_item .rgsj_concern_swatch.rgsj_severity_gentle {background:#7c9278; box-shadow:0 0 0 6px rgba(124,146,120,0.12);}
@media (max-width: 900px){.rgsj_intro_pills, .rgsj_quiz_glance {gap:8px;} .rgsj_photo_map{max-width:100%;}}
