.tres-wrapper {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.tres-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 45px rgba(20, 33, 61, 0.10);
  color: #1f2d3d;
}

.tres-hero {
  text-align: center;
  padding: 10px 0 22px;
}

.tres-badge {
  display: inline-block;
  background: #ffecec;
  color: #b42318;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.tres-hero h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: #14213d;
}

.tres-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #526173;
  line-height: 1.7;
  font-size: 17px;
}

.tres-notice {
  background: #fff6e6;
  border-left: 7px solid #f2994a;
  border-radius: 14px;
  padding: 18px;
  line-height: 1.6;
  margin: 18px 0 28px;
}

.tres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.tres-box {
  background: #f8faff;
  border: 1px solid #e6ecff;
  border-radius: 16px;
  padding: 22px;
}

.tres-box h3,
.tres-form h3,
.tres-steps h3 {
  margin-top: 0;
  color: #14213d;
  font-size: 22px;
}

.tres-box ul,
.tres-steps ol {
  margin-bottom: 0;
  padding-left: 22px;
  line-height: 1.7;
}

.tres-form {
  background: #ffffff;
  border: 1px solid #edf1fa;
  border-radius: 18px;
  padding: 24px;
}

.tres-form-intro {
  color: #526173;
  margin-top: -6px;
}

.tres-question {
  border-top: 1px solid #edf1fa;
  padding: 18px 0;
}

.tres-question p {
  font-weight: 700;
  margin: 0 0 12px;
}

.tres-question label {
  display: block;
  padding: 12px;
  margin: 8px 0;
  border-radius: 11px;
  background: #f9fbff;
  border: 1px solid #eef3fb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tres-question label:hover {
  background: #eef5ff;
  transform: translateY(-1px);
}

.tres-question input {
  margin-right: 9px;
}

.tres-button {
  width: 100%;
  margin-top: 10px;
  padding: 17px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff2e63, #2f80ed);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.tres-result {
  display: none;
  margin-top: 26px;
  padding: 24px;
  border-radius: 16px;
  line-height: 1.65;
}

.tres-result h3 {
  margin-top: 0;
  font-size: 24px;
}

.tres-result-soft {
  display: block;
  background: #e8f8f0;
  border-left: 7px solid #27ae60;
}

.tres-result-mixed {
  display: block;
  background: #fff6e6;
  border-left: 7px solid #f2994a;
}

.tres-result-strong {
  display: block;
  background: #ffecec;
  border-left: 7px solid #eb5757;
}

.tres-steps {
  margin-top: 28px;
  background: #f8faff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e6ecff;
}

.tres-disclaimer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.5;
  color: #667085;
}

@media (max-width: 760px) {
  .tres-card {
    padding: 22px;
  }

  .tres-hero h2 {
    font-size: 27px;
  }

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