:root {
  --relation-apricot: #E9B9A8;
  --relation-apricot-deep: #B96F5E;
  --relation-blush: #F1DEE0;
  --relation-lilac: #DDDDEA;
  --relation-cream: #FBF5EA;
  --relation-ink: #293331;
}

[hidden] {
  display: none !important;
}

body.relation-page {
  min-height: 100vh;
  color: var(--relation-ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(233, 185, 168, .42), transparent 27rem),
    radial-gradient(circle at 90% 24%, rgba(221, 221, 234, .68), transparent 31rem),
    linear-gradient(155deg, #F8F1E8, #F7F4F1 48%, #EDF2F0);
}

body.relation-page::before {
  opacity: .24;
  background-size: 52px 52px;
}

.relation-page .brand-header {
  background: rgba(248, 244, 238, .86);
  border-bottom-color: rgba(164, 122, 111, .16);
}

.relation-page .zr-brand-copy small {
  font-size: 15px;
}

.relation-main {
  min-height: calc(100vh - 88px);
}

.relation-panel {
  padding: clamp(54px, 7vw, 96px) 0 clamp(72px, 10vw, 128px);
}

.relation-landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.relation-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--relation-apricot-deep);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .12em;
}

.relation-eyebrow i {
  width: 24px;
  height: 1px;
  background: currentColor;
}

.relation-landing h1 {
  max-width: 780px;
  margin: 22px 0 24px;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.relation-landing h1 em {
  color: var(--mist-deep);
  font-style: normal;
}

.relation-lead {
  max-width: 720px;
  margin-bottom: 26px;
  color: #53615F;
  font-size: 19px;
  line-height: 1.82;
}

.relation-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.relation-facts li {
  min-height: 44px;
  padding: 8px 15px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(185, 111, 94, .2);
  border-radius: 999px;
  color: #6E5650;
  background: rgba(255, 254, 251, .7);
  font-size: 16px;
  font-weight: 650;
}

.relation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.relation-button {
  min-height: 56px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(110, 158, 154, .32);
  border-radius: 999px;
  color: var(--relation-ink);
  background: rgba(255, 254, 251, .8);
  box-shadow: 0 12px 28px rgba(87, 104, 99, .08);
  font-size: 16px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.relation-button:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 111, 94, .42);
}

.relation-button-primary {
  border-color: rgba(185, 111, 94, .3);
  background: linear-gradient(135deg, #F5D5C8, #F8E9D8);
}

.relation-button-secondary {
  background: rgba(234, 241, 239, .82);
}

.relation-button:disabled {
  cursor: not-allowed;
  opacity: .46;
  transform: none;
}

.relation-privacy {
  max-width: 710px;
  margin: 24px 0 0;
  display: flex;
  gap: 10px;
  color: #5F6B68;
  font-size: 16px;
  line-height: 1.72;
}

.relation-privacy i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--mist);
  box-shadow: 0 0 0 6px rgba(110, 158, 154, .09);
}

.relation-landing-art {
  min-height: 530px;
  position: relative;
  overflow: hidden;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(151, 123, 117, .2);
  border-radius: 44px;
  background:
    radial-gradient(circle at 78% 20%, rgba(233, 185, 168, .42), transparent 15rem),
    radial-gradient(circle at 18% 82%, rgba(110, 158, 154, .2), transparent 18rem),
    rgba(255, 254, 251, .78);
  box-shadow: 0 30px 80px rgba(91, 99, 96, .12);
}

.relation-landing-art::before,
.relation-landing-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(185, 111, 94, .2);
  border-radius: 50%;
}

.relation-landing-art::before {
  width: 300px;
  height: 300px;
  right: -110px;
  top: -80px;
  box-shadow: 0 0 0 36px rgba(221, 221, 234, .12), 0 0 0 72px rgba(233, 185, 168, .06);
}

.relation-landing-art::after {
  width: 150px;
  height: 150px;
  left: -55px;
  bottom: -32px;
}

.relation-art-top,
.relation-art-bottom {
  position: relative;
  z-index: 1;
}

.relation-art-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.relation-art-symbol {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 111, 94, .24);
  border-radius: 38px;
  color: #9C5A4D;
  background: rgba(250, 232, 222, .8);
  font-family: var(--serif);
  font-size: 62px;
  box-shadow: inset 0 0 0 9px rgba(255, 255, 255, .34);
}

.relation-art-code {
  color: #83716C;
  font-size: 15px;
  letter-spacing: .1em;
  writing-mode: vertical-rl;
}

.relation-art-quote {
  max-width: 380px;
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.35;
}

.relation-art-bottom ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.relation-art-bottom li {
  padding-top: 10px;
  border-top: 2px solid rgba(185, 111, 94, .24);
  color: #6E7774;
  font-size: 15px;
}

.meet-art .relation-art-symbol {
  color: #655F80;
  border-color: rgba(111, 101, 148, .2);
  background: rgba(226, 222, 238, .82);
}

.meet-mini-radar {
  width: min(100%, 330px);
  margin: 20px auto 8px;
}

.quiz-shell {
  width: min(calc(100% - 40px), 840px);
  min-height: min(690px, calc(100vh - 142px));
  margin-inline: auto;
  padding: clamp(24px, 5vw, 44px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(151, 123, 117, .2);
  border-radius: 40px;
  background: rgba(255, 254, 251, .88);
  box-shadow: 0 28px 80px rgba(85, 99, 95, .11);
}

.quiz-progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.quiz-progress-head small,
.quiz-progress-head span,
.quiz-progress-head b {
  display: block;
  font-size: 15px;
}

.quiz-progress-head small {
  color: var(--relation-apricot-deep);
  font-weight: 750;
  letter-spacing: .08em;
}

.quiz-progress-head span {
  margin-top: 4px;
  color: #677371;
}

.quiz-progress-head b {
  color: var(--mist-deep);
  font-family: Arial, sans-serif;
  letter-spacing: .08em;
}

.quiz-progress {
  height: 8px;
  margin: 18px 0 clamp(28px, 5vh, 48px);
  overflow: hidden;
  border-radius: 999px;
  background: #EEE8E2;
}

.quiz-progress i {
  width: 8.333%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--relation-apricot), var(--mist));
  transition: width .25s ease;
}

.question-copy h2 {
  max-width: 680px;
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.28;
}

.question-copy p {
  margin-bottom: 22px;
  color: #687370;
  font-size: 16px;
}

.question-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.answer-choice {
  min-height: 78px;
  padding: 14px 17px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid rgba(110, 158, 154, .18);
  border-radius: 20px;
  color: #35413F;
  background: #FBFAF6;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.answer-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 111, 94, .32);
}

.answer-choice.is-selected {
  border-color: rgba(185, 111, 94, .48);
  background: linear-gradient(135deg, #F9E4DB, #F3ECE4);
  box-shadow: 0 10px 24px rgba(117, 87, 80, .08);
}

.answer-choice > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--relation-apricot-deep);
  background: rgba(233, 185, 168, .18);
  font: 700 15px Arial, sans-serif;
}

.answer-choice b {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.answer-choice i {
  color: var(--mist-deep);
  font-size: 18px;
  font-style: normal;
}

.quiz-actions {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.quiz-actions .relation-button:last-child {
  min-width: 180px;
}

.result-shell,
.sealed-shell {
  width: min(calc(100% - 40px), 1040px);
  margin-inline: auto;
}

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

.result-heading h1,
.result-heading h2,
.sealed-shell h1 {
  margin: 16px 0 16px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.12;
}

.result-heading p,
.sealed-shell > p {
  color: #5F6C69;
  font-size: 18px;
  line-height: 1.8;
}

.first-result-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr);
  gap: 18px;
  align-items: start;
}

.result-card {
  padding: 28px;
  border: 1px solid rgba(151, 123, 117, .18);
  border-radius: 30px;
  background: rgba(255, 254, 251, .84);
  box-shadow: 0 18px 48px rgba(91, 99, 96, .07);
}

.result-card + .result-card {
  margin-top: 18px;
}

.result-card > small {
  color: var(--relation-apricot-deep);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .08em;
}

.result-card h2,
.result-card h3 {
  margin: 10px 0 18px;
  font-family: var(--serif);
  font-size: 30px;
}

.result-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-keywords span {
  min-height: 46px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(185, 111, 94, .22);
  border-radius: 999px;
  color: #76544C;
  background: #F9E9DF;
  font-size: 17px;
  font-weight: 700;
}

.priority-list,
.prompt-list,
.channel-list,
.dimension-legend {
  margin: 0;
  padding: 0;
  list-style: none;
}

.priority-list {
  display: grid;
  gap: 12px;
}

.priority-list li {
  min-height: 52px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  color: #44524F;
  background: var(--pale);
  font-size: 16px;
}

.priority-list span {
  color: var(--amber);
}

.prompt-list {
  display: grid;
  gap: 10px;
}

.prompt-list li {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid rgba(110, 158, 154, .14);
  font-size: 16px;
  line-height: 1.65;
}

.prompt-list b {
  color: var(--mist-deep);
  font: 700 15px Arial, sans-serif;
}

.private-poster-card {
  position: sticky;
  top: 112px;
  padding: 18px;
  border: 1px solid rgba(151, 123, 117, .18);
  border-radius: 30px;
  background: rgba(255, 254, 251, .74);
}

#firstCanvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(76, 83, 81, .13);
}

.poster-actions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.poster-actions .relation-button {
  width: 100%;
}

.poster-note {
  margin: 0;
  color: #65716E;
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}

.result-bottom-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sealed-shell {
  max-width: 820px;
  padding: clamp(34px, 6vw, 60px);
  border: 1px solid rgba(111, 101, 148, .18);
  border-radius: 40px;
  background: rgba(255, 254, 251, .86);
  box-shadow: 0 28px 74px rgba(85, 90, 104, .11);
}

.sealed-mark {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 101, 148, .2);
  border-radius: 34px;
  color: #655F80;
  background: var(--relation-lilac);
  font-size: 48px;
}

.sealed-boundary {
  margin: 28px 0;
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  border-radius: 20px;
  color: #565C68;
  background: #F0EEF5;
  font-size: 16px;
  line-height: 1.7;
}

.sealed-boundary i {
  color: #766F91;
  font-style: normal;
}

.meet-result-grid {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.radar-card {
  padding: 26px;
  border: 1px solid rgba(111, 101, 148, .18);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(242, 239, 247, .92), rgba(255, 254, 251, .88));
  box-shadow: 0 22px 62px rgba(91, 90, 112, .09);
}

.radar-card svg {
  width: min(100%, 410px);
  margin: 0 auto;
  overflow: visible;
}

.radar-grid {
  fill: none;
  stroke: rgba(111, 101, 148, .2);
  stroke-width: 1.5;
}

.radar-axis {
  stroke: rgba(111, 101, 148, .14);
  stroke-width: 1;
}

#radarShape {
  fill: rgba(233, 185, 168, .44);
  stroke: #9C6F82;
  stroke-width: 3;
  transition: points .3s ease;
}

.radar-dot {
  fill: #6E9E9A;
}

.dimension-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dimension-legend li {
  padding: 12px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 2px 9px;
  border-radius: 16px;
  background: rgba(255, 254, 251, .72);
}

.dimension-legend i {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--mist);
}

.dimension-legend span,
.dimension-legend small {
  font-size: 15px;
}

.dimension-legend span {
  font-weight: 700;
}

.dimension-legend small {
  grid-column: 2;
  color: #69736F;
}

.meet-summary {
  display: grid;
  gap: 18px;
}

.meet-keyword {
  padding: 30px;
  border: 1px solid rgba(185, 111, 94, .2);
  border-radius: 30px;
  background: linear-gradient(135deg, #F8E6DC, #F2EDF2);
}

.meet-keyword small {
  color: #8E6258;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .08em;
}

.meet-keyword strong {
  margin-top: 7px;
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.2;
}

.channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.channel-grid .result-card {
  margin: 0;
}

.channel-list {
  display: grid;
  gap: 10px;
}

.channel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475451;
  font-size: 16px;
}

.channel-list span {
  color: var(--mist-deep);
}

.action-advice {
  padding: 26px;
  border: 1px solid rgba(110, 158, 154, .2);
  border-radius: 28px;
  background: var(--pale);
}

.action-advice small {
  color: var(--mist-deep);
  font-size: 15px;
  font-weight: 750;
}

.action-advice p {
  margin: 8px 0 0;
  color: #40504D;
  font-size: 17px;
  line-height: 1.75;
}

.relation-boundary-note {
  margin-top: 22px;
  padding: 15px 18px;
  border: 1px dashed rgba(151, 123, 117, .25);
  border-radius: 18px;
  color: #69736F;
  background: rgba(255, 254, 251, .55);
  font-size: 15px;
  line-height: 1.7;
}

.relation-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(151, 123, 117, .15);
  background: rgba(239, 235, 232, .72);
}

.relation-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.relation-footer strong,
.relation-footer p,
.relation-footer a {
  font-size: 15px;
}

.relation-footer p {
  margin: 0;
  color: #69726F;
}

.relation-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.relation-footer a {
  min-height: 42px;
  padding: 7px 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(110, 158, 154, .2);
  border-radius: 999px;
  background: rgba(255, 254, 251, .66);
}

.relation-toast {
  position: fixed;
  z-index: 400;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  max-width: calc(100% - 28px);
  padding: 12px 18px;
  color: #FFF;
  text-align: center;
  border-radius: 999px;
  background: rgba(67, 81, 78, .94);
  box-shadow: 0 16px 42px rgba(48, 58, 56, .24);
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .2s ease;
}

.relation-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 899px) {
  .relation-landing-grid,
  .first-result-grid,
  .meet-result-grid {
    grid-template-columns: 1fr;
  }

  .relation-landing-art {
    min-height: 450px;
  }

  .private-poster-card {
    position: static;
  }

  .meet-result-grid .radar-card {
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .relation-page .zr-brand-copy small {
    font-size: 15px;
  }

  .relation-panel {
    padding: 42px 0 72px;
  }

  .relation-panel[data-relation-panel="quiz"] {
    padding: 10px 0;
  }

  .relation-landing h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .relation-lead {
    font-size: 17px;
  }

  .relation-actions,
  .result-bottom-actions {
    display: grid;
  }

  .relation-actions .relation-button,
  .result-bottom-actions .relation-button {
    width: 100%;
  }

  .relation-landing-art {
    min-height: 420px;
    padding: 24px;
    border-radius: 32px;
  }

  .relation-art-symbol {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    font-size: 50px;
  }

  .relation-art-bottom ol {
    grid-template-columns: 1fr 1fr;
  }

  .quiz-shell,
  .result-shell,
  .sealed-shell {
    width: min(calc(100% - 24px), 1040px);
  }

  .quiz-shell {
    min-height: calc(100dvh - 100px);
    padding: 22px 18px;
    border-radius: 28px;
  }

  .quiz-progress {
    margin: 14px 0 24px;
  }

  .question-copy h2 {
    font-size: clamp(28px, 8.2vw, 36px);
  }

  .question-choices {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .answer-choice {
    min-height: 62px;
    padding: 10px 13px;
    border-radius: 17px;
  }

  .quiz-actions {
    padding-top: 18px;
  }

  .quiz-actions .relation-button {
    min-width: 0;
    padding-inline: 16px;
  }

  .quiz-actions .relation-button:last-child {
    flex: 1 1 auto;
  }

  .result-heading h1,
  .result-heading h2,
  .sealed-shell h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .result-card,
  .radar-card,
  .meet-keyword,
  .action-advice {
    padding: 22px;
    border-radius: 24px;
  }

  .channel-grid,
  .dimension-legend {
    grid-template-columns: 1fr;
  }

  .sealed-shell {
    padding: 28px 22px;
    border-radius: 30px;
  }

  .relation-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 410px) {
  .relation-page .zr-brand-copy small {
    display: none;
  }

  .relation-page .zr-brand-copy strong {
    font-size: 17px;
  }

  .quiz-progress-head {
    gap: 8px;
  }

  .quiz-progress-head span {
    max-width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .relation-button,
  .answer-choice,
  .quiz-progress i,
  #radarShape,
  .relation-toast {
    transition: none !important;
  }
}

/* First: warm, optional information flow rather than a cold profile form. */
.first-info-art .first-art-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 38px 0;
}

.first-art-lines i {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(196, 125, 104, .2), rgba(110, 158, 154, .13));
}

.first-art-lines i:nth-child(2) { width: 83%; }
.first-art-lines i:nth-child(3) { width: 68%; }
.first-art-lines i:nth-child(4) { width: 91%; }

.first-form-panel {
  padding-top: 44px;
}

.first-form-shell {
  width: min(calc(100% - 40px), 1040px);
  margin-inline: auto;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(151, 123, 117, .2);
  border-radius: 40px;
  background: rgba(255, 254, 251, .88);
  box-shadow: 0 28px 80px rgba(85, 99, 95, .11);
}

.first-step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.first-step-head small,
.first-step-head b {
  font-size: 15px;
}

.first-step-head small {
  color: var(--relation-apricot-deep);
  font-weight: 750;
  letter-spacing: .06em;
}

.first-step-head h1 {
  margin: 7px 0 6px;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.2;
}

.first-step-head p {
  margin: 0;
  color: #65706D;
  font-size: 16px;
}

.first-step-head b {
  color: var(--mist-deep);
  font-family: Arial, sans-serif;
  letter-spacing: .08em;
  min-width: 62px;
  text-align: right;
  white-space: nowrap;
}

.first-progress {
  height: 8px;
  margin: 22px 0 30px;
  overflow: hidden;
  border-radius: 999px;
  background: #EEE8E2;
}

.first-progress i {
  width: 25%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--relation-apricot), var(--mist));
  transition: width .25s ease;
}

.form-section-note {
  margin-bottom: 22px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-radius: 20px;
  color: #56625F;
  background: linear-gradient(135deg, #F9ECE4, #EEF3F1);
}

.form-section-note > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #A45F51;
  background: rgba(255, 254, 251, .72);
  font: 700 15px Arial, sans-serif;
}

.form-section-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

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

.soft-field {
  min-width: 0;
  padding: 16px;
  display: grid;
  gap: 9px;
  border: 1px solid rgba(110, 158, 154, .16);
  border-radius: 20px;
  background: #FBFAF6;
}

.soft-field > span {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  color: #3E4B48;
  font-size: 16px;
  font-weight: 700;
}

.soft-field > span i {
  color: #8A7470;
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
}

.soft-field select,
.soft-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 13px;
  color: #35423F;
  border: 1px solid rgba(110, 158, 154, .2);
  border-radius: 14px;
  background: rgba(255, 254, 251, .9);
  font-size: 16px;
}

.soft-field input::placeholder {
  color: #8A918F;
}

.soft-field legend {
  width: 100%;
  padding: 0;
  color: #3E4B48;
  font-size: 16px;
  font-weight: 700;
}

.soft-field legend i {
  margin-left: 8px;
  color: #8A7470;
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
}

.birth-field {
  margin: 0;
}

.birth-selects {
  display: grid;
  grid-template-columns: 1.18fr .86fr .86fr;
  gap: 7px;
}

.birth-selects select {
  min-width: 0;
  padding-inline: 9px;
}

.conditional-field-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px dashed rgba(185, 111, 94, .28);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(249, 229, 219, .72), rgba(255, 254, 251, .8));
}

.conditional-field-group[hidden] {
  display: none;
}

.known-value-row {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 8px;
}

.known-value-row input[hidden] {
  display: none;
}

.known-value-row:has(input[hidden]) {
  grid-template-columns: 1fr;
}

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

.background-card {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(110, 158, 154, .18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 254, 251, .92), rgba(239, 244, 242, .72));
}

.background-card:nth-child(2) {
  border-color: rgba(185, 111, 94, .18);
  background: linear-gradient(145deg, rgba(255, 254, 251, .92), rgba(249, 234, 227, .66));
}

.background-card > legend {
  padding: 0 8px;
  color: #334541;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.background-fields {
  display: grid;
  gap: 12px;
}

.background-topic-list {
  display: grid;
  gap: 15px;
}

.background-topic-card {
  padding: 20px;
  border: 1px solid rgba(110, 158, 154, .18);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 254, 251, .94), rgba(239, 244, 242, .7));
}

.background-topic-card:nth-child(even) {
  border-color: rgba(185, 111, 94, .17);
  background: linear-gradient(145deg, rgba(255, 254, 251, .94), rgba(249, 234, 227, .6));
}

.background-topic-card.is-members {
  border-color: rgba(185, 111, 94, .32);
  box-shadow: 0 14px 34px rgba(115, 85, 78, .07);
}

.background-topic-card.is-environment {
  border-color: rgba(110, 158, 154, .34);
}

.background-topic-card.is-finance {
  border-color: rgba(183, 144, 78, .3);
  background:
    radial-gradient(circle at 92% 8%, rgba(215, 169, 75, .13), transparent 34%),
    linear-gradient(145deg, rgba(255, 254, 251, .96), rgba(248, 241, 226, .72));
}

.background-topic-card > header {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.background-topic-card > header > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #9A6156;
  border-radius: 50%;
  background: #F8E5DC;
  font: 700 15px Arial, sans-serif;
}

.background-topic-card > header h2 {
  margin: 0 0 4px;
  color: #344541;
  font-family: var(--serif);
  font-size: 25px;
}

.background-topic-card > header p {
  margin: 0;
  color: #68736F;
  font-size: 15px;
  line-height: 1.65;
}

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

.paired-background-fields.is-four-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.finance-person-card {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(183, 144, 78, .18);
  border-radius: 22px;
  background: rgba(255, 254, 251, .72);
}

.finance-person-card > legend {
  padding: 0 7px;
  color: #795F35;
  font-size: 16px;
  font-weight: 750;
}

.finance-person-card > div {
  display: grid;
  gap: 10px;
}

.finance-privacy-note {
  margin: 14px 4px 0;
  color: #6D685D;
  font-size: 15px;
  line-height: 1.65;
}

.finance-privacy-note i {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--gold);
}

.future-plan-grid {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-error-summary {
  margin: -10px 0 24px;
  padding: 14px 16px;
  color: #7C3F37;
  border: 1px solid rgba(176, 76, 60, .3);
  border-radius: 16px;
  background: #FFF0EB;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.soft-field.is-invalid,
.conditional-field-group.is-invalid,
.condition-row.is-invalid {
  border-color: rgba(176, 76, 60, .66);
  box-shadow: 0 0 0 3px rgba(176, 76, 60, .08);
}

.condition-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.condition-fieldset legend {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}

.condition-table {
  display: grid;
  gap: 10px;
}

.condition-row {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(151, 123, 117, .16);
  border-radius: 20px;
  background: #FBFAF7;
}

.condition-row > strong {
  font-size: 16px;
}

.condition-row > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.condition-row label {
  min-width: 0;
  cursor: pointer;
}

.condition-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.condition-row label span {
  min-height: 44px;
  padding: 7px 8px;
  display: grid;
  place-items: center;
  color: #65706D;
  text-align: center;
  border: 1px solid rgba(110, 158, 154, .16);
  border-radius: 13px;
  background: rgba(255, 254, 251, .75);
  font-size: 15px;
  line-height: 1.35;
}

.condition-row input:focus-visible + span {
  outline: 3px solid rgba(215, 169, 75, .62);
  outline-offset: 2px;
}

.condition-row input:checked + span {
  color: #765047;
  border-color: rgba(185, 111, 94, .34);
  background: #F7E2D8;
  box-shadow: 0 8px 20px rgba(108, 83, 77, .07);
}

.priority-counter {
  margin: 14px 0 0;
  color: var(--mist-deep);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.first-form-actions {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.first-form-actions .relation-button:last-child {
  min-width: 250px;
}

.first-form-boundary {
  margin: 18px 0 0;
  padding-top: 16px;
  color: #68736F;
  border-top: 1px dashed rgba(151, 123, 117, .2);
  font-size: 15px;
  line-height: 1.7;
}

.first-form-boundary i {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--mist);
}

.first-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.first-metric-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(185, 111, 94, .18);
  border-radius: 30px;
  background: linear-gradient(145deg, #F9E5DB, #FFF9F1);
  box-shadow: 0 18px 48px rgba(91, 99, 96, .07);
}

.first-metric-card.is-completeness {
  border-color: rgba(110, 158, 154, .2);
  background: linear-gradient(145deg, #E9F0EE, #FBFAF5);
}

.first-metric-card > small {
  color: #8F5B51;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .06em;
}

.first-metric-card strong {
  margin: 10px 0 4px;
  display: block;
  font-family: Arial, sans-serif;
}

.first-metric-card strong b {
  font-size: clamp(58px, 7vw, 82px);
  line-height: 1;
}

.first-metric-card strong i {
  margin-left: 6px;
  color: #756D69;
  font-size: 20px;
  font-style: normal;
}

.first-metric-card p {
  margin: 8px 0 0;
  color: #63706D;
  font-size: 15px;
}

.first-analysis-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
}

.detailed-analysis-card > h2 {
  font-size: 34px;
}

.detailed-analysis {
  display: grid;
  gap: 20px;
}

.detailed-analysis section {
  padding-top: 18px;
  border-top: 1px solid rgba(110, 158, 154, .14);
}

.detailed-analysis section:first-child {
  padding-top: 0;
  border-top: 0;
}

.detailed-analysis h3 {
  margin: 0 0 7px;
  color: #8E5F55;
  font-family: var(--sans);
  font-size: 17px;
}

.detailed-analysis p {
  margin: 0;
  color: #4D5A57;
  font-size: 16px;
  line-height: 1.88;
}

@media (min-width: 900px) {
  .relation-page[data-experience="first"] .result-shell {
    width: min(calc(100% - 56px), 1280px);
  }

  .relation-page[data-experience="first"] .result-heading {
    max-width: 900px;
  }

  .relation-page[data-experience="first"] .first-analysis-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
    gap: 24px;
  }

  .relation-page[data-experience="first"] .detailed-analysis-card {
    padding: 36px 38px;
  }

  .relation-page[data-experience="first"] .detailed-analysis-card > h2 {
    max-width: 22em;
    font-size: 38px;
    line-height: 1.28;
  }

  .relation-page[data-experience="first"] .detailed-analysis {
    max-width: 760px;
    gap: 24px;
  }

  .relation-page[data-experience="first"] .detailed-analysis h3 {
    margin-bottom: 9px;
    font-size: 19px;
  }

  .relation-page[data-experience="first"] .detailed-analysis p {
    font-size: 18px;
    line-height: 1.9;
  }
}

.first-observation-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 14px;
  margin-top: 18px;
}

.first-observation-grid .result-card {
  margin: 0;
}

.fun-reference-card {
  margin-top: 18px;
  border-color: rgba(140, 120, 152, .2);
  background:
    radial-gradient(circle at 88% 10%, rgba(176, 157, 193, .18), transparent 32%),
    linear-gradient(145deg, #FBF3EE, #F3F1F7);
}

.fun-reference-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.fun-reference-head > p {
  max-width: 390px;
  margin: 0;
  color: #626C6A;
  font-size: 16px;
  line-height: 1.7;
}

.fun-reference-card h2 {
  margin: 0;
  font-size: 30px;
}

.fun-profile-grid {
  margin: 18px 0 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fun-profile-grid > div {
  padding: 15px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(140, 120, 152, .14);
  border-radius: 18px;
  background: rgba(255, 254, 251, .7);
}

.fun-profile-grid span {
  color: #8D6C73;
  font-size: 15px;
  font-weight: 700;
}

.fun-profile-grid strong {
  color: #35413F;
  font-size: 17px;
  line-height: 1.6;
}

.fun-match-grid {
  display: grid;
  gap: 14px;
}

.fun-match-block {
  padding: 22px;
  border: 1px solid rgba(140, 120, 152, .16);
  border-radius: 24px;
  background: rgba(255, 254, 251, .78);
}

.fun-match-block.is-star {
  background: linear-gradient(135deg, rgba(255, 250, 245, .92), rgba(244, 239, 248, .88));
}

.fun-match-block.is-zodiac {
  background: linear-gradient(135deg, rgba(248, 241, 233, .92), rgba(235, 243, 240, .9));
}

.fun-match-title {
  display: flex;
  align-items: center;
  gap: 13px;
}

.fun-match-title > i {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #8A5C69;
  background: rgba(232, 213, 221, .72);
  font-size: 19px;
  font-style: normal;
}

.fun-match-block.is-zodiac .fun-match-title > i {
  color: #547D78;
  background: rgba(211, 231, 226, .72);
}

.fun-match-title small,
.fun-one-line small {
  color: #8D6C73;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .06em;
}

.fun-match-title h3 {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.35;
}

.fun-match-content {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.fun-match-content p {
  margin: 0;
  color: #4E5A57;
  font-size: 17px;
  line-height: 1.85;
}

.fun-match-content p + p {
  padding-top: 12px;
  border-top: 1px solid rgba(140, 120, 152, .13);
}

.fun-match-content.is-locked {
  min-height: 74px;
  align-content: center;
  border-radius: 16px;
  background: rgba(255, 254, 251, .48);
}

.fun-match-content.is-locked p {
  padding: 12px 14px;
  color: #717A78;
}

.fun-one-line {
  margin-top: 14px;
  padding: 20px 22px;
  border: 1px solid rgba(196, 125, 104, .16);
  border-radius: 22px;
  background: rgba(247, 232, 225, .62);
}

.fun-one-line p {
  margin: 7px 0 0;
  color: #384744;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.75;
}

.fun-fixed-disclaimer {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  color: #596663;
  background: rgba(234, 241, 239, .78);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.65;
}

.fun-reference-card > p:not(.fun-fixed-disclaimer) {
  margin: 0;
  color: #616B69;
  font-size: 16px;
  line-height: 1.75;
}

/* Meet: answer once, see the state, and advance automatically. */
.answer-choice:disabled {
  cursor: default;
  opacity: .5;
}

.answer-choice.is-selected:disabled {
  opacity: 1;
  transform: translateY(-1px) scale(.995);
}

.question-choices.is-locking .answer-choice.is-selected {
  border-color: rgba(110, 158, 154, .56);
  background: linear-gradient(135deg, #F8E1D7, #E8F0EE);
  box-shadow: 0 0 0 4px rgba(110, 158, 154, .09);
}

.auto-advance-actions {
  align-items: center;
}

.auto-advance-actions p {
  margin: 0;
  color: #68736F;
  font-size: 15px;
}

.auto-advance-actions p i {
  color: var(--mist-deep);
  font-style: normal;
}

.meet-core-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, .84fr);
  gap: 18px;
  align-items: start;
}

.meet-analysis-column {
  display: grid;
  gap: 18px;
}

.meet-analysis-column .result-card {
  margin: 0;
}

.compact-meet-keyword {
  padding: 24px 28px;
}

.compact-meet-keyword strong {
  font-size: clamp(38px, 5vw, 54px);
}

.compact-meet-keyword p {
  margin: 6px 0 0;
  color: #6B676B;
  font-size: 15px;
}

.seven-day-card ol {
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.seven-day-card li {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(110, 158, 154, .14);
  color: #43524F;
  font-size: 16px;
  line-height: 1.7;
}

.seven-day-card li b {
  color: var(--mist-deep);
  font: 700 15px Arial, sans-serif;
}

.answer-observations {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(111, 101, 148, .15);
}

.answer-observations h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 24px;
}

.answer-observations > div {
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(0, 1.1fr);
  gap: 12px;
  border-top: 1px solid rgba(111, 101, 148, .11);
}

.answer-observations small,
.answer-observations li {
  font-size: 15px;
}

.answer-observations small {
  color: #756B79;
  font-weight: 700;
}

.answer-observations ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.answer-observations li {
  padding: 4px 9px;
  border-radius: 999px;
  color: #5A6361;
  background: rgba(255, 254, 251, .8);
}

@media (max-width: 899px) {
  .first-analysis-grid,
  .meet-core-grid {
    grid-template-columns: 1fr;
  }

  .first-analysis-grid .private-poster-card,
  .meet-core-grid .radar-card {
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 680px) {
  .first-form-panel {
    padding: 12px 0 54px;
  }

  .first-form-shell {
    width: min(calc(100% - 24px), 1040px);
    padding: 22px 18px;
    border-radius: 28px;
  }

  .first-step-head {
    gap: 12px;
  }

  .first-step-head h1 {
    font-size: 34px;
  }

  .soft-form-grid,
  .background-columns,
  .future-plan-grid,
  .first-metric-grid,
  .first-observation-grid {
    grid-template-columns: 1fr;
  }

  .paired-background-fields,
  .paired-background-fields.is-four-fields,
  .finance-person-grid {
    grid-template-columns: 1fr;
  }

  .background-topic-card {
    padding: 16px 12px;
    border-radius: 24px;
  }

  .conditional-field-group {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .condition-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .condition-row > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .condition-row label span {
    padding-inline: 5px;
  }

  .fun-reference-head {
    display: block;
  }

  .fun-reference-head > p {
    margin-top: 10px;
  }

  .fun-reference-card h2 {
    margin-top: 5px;
    font-size: 28px;
  }

  .fun-profile-grid {
    grid-template-columns: 1fr;
  }

  .fun-match-block {
    padding: 18px;
  }

  .fun-match-title {
    align-items: flex-start;
  }

  .fun-match-title h3 {
    font-size: 21px;
  }

  .first-form-actions {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
  }

  .first-form-actions .relation-button:last-child {
    min-width: 0;
    padding-inline: 14px;
  }

  .first-metric-card {
    min-height: 180px;
  }

  .detailed-analysis-card > h2 {
    font-size: 30px;
  }

  .auto-advance-actions {
    gap: 12px;
  }

  .auto-advance-actions p {
    max-width: 190px;
    text-align: right;
  }

  .answer-observations > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
