/*
 * 문의(07) — 시안 #p7 (H5). shell.css + product.css 위에 얹는다.
 * ★필수 표시(*)의 #DB2777은 shell.css의 --required다(새 색이 아니다).
 */
.ct-layout {
  display: flex;
  align-items: flex-start;
  gap: 44px;
  padding-bottom: 60px;
}
.ct-main {
  flex: 1.4;
  min-width: 0;
}
.ct-side {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 갈래 — 선택하면 채운 인디고(시안 07) */
.ct-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}
.ct-kinds .chip {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}
.ct-kinds .chip:has(input:checked) {
  border-color: var(--primary);
  box-shadow: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.ct-fields {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
  border: 0;
}
.ct-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.ct-row > .field {
  flex: 1 1 240px;
}
.field__error {
  font-size: 12.5px;
  color: #B91C1C;
}
.input[aria-invalid="true"] {
  border-color: #B91C1C;
  box-shadow: 0 0 0 0.5px #B91C1C;
}
.ct-support-note {
  padding: 16px 20px;
  border-top: 2px solid var(--primary);
  border-radius: 4px;
  background: #F7F7FF;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-strong);
}
.ct-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}
.ct-consent {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}
.ct-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary);
}
.ct-notice {
  font-size: 13px;
  color: var(--text);
}
.ct-notice summary {
  display: inline;
  color: var(--primary);
  cursor: pointer;
}
.ct-notice__body {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 4px;
  background: var(--surface);
  line-height: 1.8;
}
.ct-notice__body dl {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 4px 12px;
  margin: 0;
}
.ct-notice__body dt {
  font-weight: 700;
  color: var(--text-strong);
}
.ct-notice__body dd {
  margin: 0;
}
.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ct-alert {
  padding: 14px 18px;
  border-top: 2px solid #B45309;
  border-radius: 4px;
  background: #FFFBEB;
  font-size: 14px;
  line-height: 1.7;
  color: #92400E;
}

/* 접수 완료 — 같은 자리에서 폼을 바꿔 보인다 */
.ct-done {
  padding: 34px 36px;
  border-top: 2px solid var(--primary);
  border-radius: var(--r-card);
  background: #F7F7FF;
}
.ct-done h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.ct-done p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-strong);
}
.ct-done__no {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--on-tint);
  font-size: 14px;
  font-weight: 700;
}
.ct-done__links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ct-side__links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .ct-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .ct-side {
    width: auto;
  }
}
@media (max-width: 560px) {
  .ct-done {
    padding: 26px 22px;
  }
  .ct-submit .btn {
    width: 100%;
  }
}
