.contact-survey {
  box-sizing:border-box;
  width:min(560px, calc(100vw - 24px));
  max-height:calc(100dvh - 24px);
  overflow-y:auto;
  border:1px solid #ded2e9;
  border-radius:24px;
  padding:28px;
  color:#312642;
  background:#fffcff;
  box-shadow:0 20px 70px #31264240;
  font:400 16px/1.5 "Rubik",Arial,sans-serif;
  text-align:right;
  overscroll-behavior:contain;
}
.contact-survey::backdrop { background:#21132db3; }
.contact-survey h2 { margin:0 0 8px; padding-inline-end:30px; font-size:24px; color:#5a3e78; }
.contact-survey-intro { margin:0 0 16px; color:#65556f; }
.contact-survey-close { position:absolute; inset-inline-end:10px; top:10px; width:44px; height:44px; border:0; border-radius:50%; background:transparent; color:#5a3e78; font-size:28px; cursor:pointer; }
.contact-survey fieldset { min-width:0; margin:0 0 18px; padding:0; border:0; }
.contact-survey legend { width:100%; margin-bottom:8px; padding:0; font-weight:600; }
.contact-survey-option { display:flex; align-items:center; gap:10px; min-height:44px; box-sizing:border-box; margin:6px 0; padding:8px 12px; border:1px solid #ddd0e5; border-radius:12px; cursor:pointer; }
.contact-survey-option:has(input:checked) { background:#efe5f6; border-color:#70508c; }
.contact-survey input { width:20px; height:20px; flex:0 0 20px; accent-color:#70508c; margin:0; }
.contact-survey-submit, .contact-survey-continue { width:100%; min-height:48px; padding:10px 16px; border:0; border-radius:999px; background:#5a3e78; color:white; font:600 16px/1.5 "Rubik",Arial,sans-serif; cursor:pointer; }
.contact-survey button:disabled { opacity:.5; cursor:default; }
.contact-survey [hidden] { display:none !important; }
.contact-survey :focus-visible { outline:3px solid #b177d6; outline-offset:3px; }
.contact-survey-result { margin:16px 0 20px; }
.contact-survey-error { color:#9c2e46; }
body.contact-survey-open { overflow:hidden; }
@media(max-width:380px) {
  .contact-survey { padding:20px 16px; font-size:15px; }
  .contact-survey h2 { font-size:22px; }
  .contact-survey-option { padding:7px 9px; }
}

.contact-survey-inquiry label { display:block; margin:12px 0; font-weight:500; }
.contact-survey .contact-survey-inquiry input, .contact-survey .contact-survey-inquiry textarea { display:block; box-sizing:border-box; width:100%; height:auto; min-height:44px; margin:6px 0; padding:10px; border:1px solid #bfaacc; border-radius:10px; font:inherit; background:white; color:#312642; }
.contact-inquiry-error { color:#9c2e46; }

.contact-survey .contact-survey-inquiry input[aria-invalid="true"] { border-color:#b42338; }
