.matching-stage10,
.matching-result-stage10 {
  --matching-ink: #122c26;
  --matching-forest: #1f6758;
  --matching-forest-dark: #174d43;
  --matching-leaf: #a8c74a;
  --matching-surface: #f3f8f5;
  --matching-line: #d4e2dc;
  --matching-muted: #5c706a;
  background: #fbfdfb;
  color: var(--matching-ink);
}

.matching-stage10 main,
.matching-result-stage10 main {
  padding-bottom: 40px;
}

.matching-stage10 .matching-workspace {
  width: min(1320px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.72fr);
  gap: 24px;
  align-items: start;
  margin: 34px auto 0;
}

.matching-stage10 .matching-form,
.matching-stage10 .recommendation-panel {
  border: 1px solid var(--matching-line);
  box-shadow: 0 18px 48px rgba(26, 69, 58, 0.08);
}

.matching-stage10 .matching-form {
  min-width: 0;
  border-radius: 28px;
  padding: 34px;
  background: #fff;
}

.matching-stage10 .matching-form-intro {
  max-width: 760px;
  margin-bottom: 24px;
}

.matching-stage10 .matching-form-intro h1 {
  max-width: 680px;
  margin: 6px 0 12px;
  color: var(--matching-ink);
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.matching-stage10 .matching-form-intro p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--matching-muted);
  font-size: 16px;
  line-height: 1.55;
}

.matching-stage10 .matching-form-intro .matching-choice-promise {
  max-width: 680px;
  margin: 18px 0 0;
  border-left: 3px solid var(--matching-leaf);
  padding: 10px 0 10px 16px;
  color: var(--matching-forest-dark);
  background: rgba(168, 199, 74, 0.12);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.matching-stage10 .matching-progress {
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--matching-surface);
}

.matching-stage10 .matching-progress > div:first-child {
  display: flex;
  gap: 8px;
  align-items: baseline;
  white-space: nowrap;
}

.matching-stage10 .matching-progress-track {
  height: 8px;
  border-radius: 999px;
  background: #dce9e3;
}

.matching-stage10 .matching-progress-track span {
  border-radius: inherit;
  background: var(--matching-forest);
}

.matching-stage10 .matching-question-help {
  margin: 22px 0 12px;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  background: #edf5f1;
  color: #365c52;
}

.matching-stage10 .choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.matching-stage10 .choice-group legend {
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 4px;
  color: var(--matching-ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.matching-stage10 .choice-card {
  position: relative;
  min-width: 0;
  min-height: 90px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-content: center;
  column-gap: 11px;
  row-gap: 4px;
  border: 1px solid var(--matching-line);
  border-radius: 18px;
  padding: 15px;
  background: #fff;
  color: var(--matching-ink);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.matching-stage10 .choice-card:hover {
  border-color: #8db7aa;
  box-shadow: 0 8px 20px rgba(31, 103, 88, 0.08);
}

.matching-stage10 .choice-card.is-selected {
  border-color: var(--matching-forest);
  background: #edf6f2;
  box-shadow: inset 0 0 0 1px var(--matching-forest);
}

.matching-stage10 .choice-card input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--matching-forest);
}

.matching-stage10 .choice-card span,
.matching-stage10 .choice-card small {
  min-width: 0;
  grid-column: 2;
}

.matching-stage10 .choice-card span {
  font-size: 15px;
  font-weight: 780;
  line-height: 1.3;
}

.matching-stage10 .choice-card small {
  color: var(--matching-muted);
  font-size: 12px;
  line-height: 1.4;
}

.matching-stage10 .choice-card-warning {
  border-color: #e8c6b9;
  background: #fff9f6;
}

.matching-stage10 .matching-step-controls,
.matching-stage10 .matching-submit {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr minmax(120px, auto);
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.matching-stage10 .matching-step-controls > span {
  color: var(--matching-muted);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.matching-stage10 .matching-step-controls [data-matching-next] {
  grid-column: 3;
}

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

.matching-stage10 .matching-submit .button {
  width: 100%;
}

.matching-stage10 .matching-storage-note {
  margin: 12px 0 0;
  color: var(--matching-muted);
  text-align: center;
}

.matching-stage10 .recommendation-panel {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  background: var(--matching-surface);
}

.matching-stage10 .recommendation-panel-head h2 {
  margin: 5px 0 8px;
  font-size: 25px;
  line-height: 1.15;
}

.matching-stage10 .recommendation-panel-head > p:last-of-type {
  color: var(--matching-muted);
  line-height: 1.5;
}

.matching-stage10 .selection-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.matching-stage10 .selection-summary span {
  border: 1px solid #c5d9d1;
  border-radius: 999px;
  padding: 6px 9px;
  background: #fff;
  color: #345f54;
  font-size: 11px;
  font-weight: 750;
}

.matching-stage10 .matching-route-preview {
  margin: 16px 0 12px;
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
}

.matching-stage10 .matching-route-preview strong,
.matching-stage10 .matching-route-preview span {
  display: block;
}

.matching-stage10 .matching-route-preview span {
  margin-top: 3px;
  color: var(--matching-muted);
  font-size: 12px;
  line-height: 1.4;
}

.matching-stage10 .recommendation-list {
  display: grid;
  gap: 10px;
}

.matching-result-stage10 .result-hero {
  width: min(1320px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 22px;
  margin: 30px auto 0;
  border: 1px solid var(--matching-line);
  border-radius: 28px;
  padding: 34px;
  background: var(--matching-surface);
}

.matching-result-stage10 .result-hero h1 {
  max-width: 760px;
  color: var(--matching-ink);
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.matching-result-stage10 .matching-decision {
  border: 1px solid #c7dcd4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(26, 69, 58, 0.07);
}

.matching-result-stage10 .result-section {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 28px;
}

.matching-result-stage10 .result-method-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(220px, 0.8fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--matching-line);
  border-radius: 20px;
  background: var(--matching-line);
}

.matching-result-stage10 .result-method-summary[hidden] {
  display: none;
}

.matching-result-stage10 .result-method-summary > div,
.matching-result-stage10 .result-method-summary > p {
  min-width: 0;
  margin: 0;
  padding: 16px;
  background: #fff;
}

.matching-result-stage10 .result-method-summary span,
.matching-result-stage10 .result-method-summary strong {
  display: block;
}

.matching-result-stage10 .result-method-summary span {
  margin-bottom: 5px;
  color: var(--matching-muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.matching-result-stage10 .result-method-summary strong {
  font-size: 14px;
  line-height: 1.45;
}

.matching-result-stage10 .result-method-summary > p {
  color: #345f54;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.matching-result-stage10 .result-section > .match-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.matching-result-stage10 .result-alternative {
  border: 1px solid var(--matching-line);
  border-radius: 20px;
  background: var(--matching-surface);
}

.matching-stage10 :focus-visible,
.matching-result-stage10 :focus-visible {
  outline: 3px solid #b3d15e;
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .matching-stage10 .matching-workspace {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .matching-result-stage10 .result-section > .match-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matching-result-stage10 .result-method-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matching-result-stage10 .result-method-summary > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .matching-stage10 .matching-workspace,
  .matching-result-stage10 .result-hero {
    grid-template-columns: 1fr;
  }

  .matching-stage10 .recommendation-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .matching-stage10 .matching-workspace,
  .matching-result-stage10 .result-hero,
  .matching-result-stage10 .result-section {
    width: min(100% - 24px, 1320px);
  }

  .matching-stage10 .matching-workspace {
    margin-top: 16px;
  }

  .matching-stage10 .matching-form,
  .matching-result-stage10 .result-hero {
    border-radius: 22px;
    padding: 20px 16px;
  }

  .matching-stage10 .matching-form-intro h1,
  .matching-result-stage10 .result-hero h1 {
    font-size: 32px;
  }

  .matching-stage10 .matching-progress {
    grid-template-columns: 1fr auto;
  }

  .matching-stage10 .matching-progress-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .matching-stage10 .choice-group {
    grid-template-columns: 1fr;
  }

  .matching-stage10 .choice-card {
    min-height: 78px;
  }

  .matching-stage10 .matching-step-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .matching-stage10 .matching-step-controls > span {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .matching-stage10 .matching-step-controls [data-matching-back] {
    grid-column: 1;
    grid-row: 2;
  }

  .matching-stage10 .matching-step-controls [data-matching-next] {
    grid-column: 2;
    grid-row: 2;
  }

  .matching-stage10 .matching-submit,
  .matching-result-stage10 .result-method-summary,
  .matching-result-stage10 .result-section > .match-list {
    grid-template-columns: 1fr;
  }

  .matching-result-stage10 .result-method-summary > p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .matching-stage10 .choice-card,
  .matching-stage10 .matching-progress-track span {
    transition: none;
  }
}
