.chna-survey-popup {
  width: min(640px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-top: 6px solid transparent;
  border-radius: 16px;
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--green), var(--blue)) border-box;
  color: #1f3a5f;
  box-shadow: 0 28px 90px rgb(4 19 39 / 35%);
}
.chna-survey-popup:not([open]) { display: none; }
.chna-survey-popup::backdrop { background: rgb(4 19 39 / 70%); }
html.chna-survey-popup-open { overflow: hidden; }
.chna-survey-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  border-bottom: 1px solid #e0e9f0;
}
.chna-survey-popup-header img { width: 222px; max-width: calc(100% - 64px); height: auto; }
.chna-survey-popup-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dce7ef;
  border-radius: 50%;
  background: #f2f6fa;
  color: #1f3a5f;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}
.chna-survey-popup-close:hover { background: #e3edf5; }
.chna-survey-popup-body {
  padding: 30px 36px 32px;
  background: linear-gradient(135deg, #fff 55%, rgba(122, 193, 66, .08));
}
.chna-survey-popup-kicker {
  margin: 0 0 14px;
  color: #2469a9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.5;
  text-transform: uppercase;
}
.chna-survey-popup h2 {
  margin: 0;
  color: #1f3a5f;
  font-size: clamp(30px, 4.5vw, 42px);
  letter-spacing: -.025em;
  line-height: 1.12;
}
/* The heading receives initial dialog focus; reserve visible focus rings for controls. */
#chnaSurveyTitle:focus,
#chnaSurveyTitle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.chna-survey-popup h2 span { color: var(--green); }
.chna-survey-popup-description {
  margin: 18px 0;
  color: #43576c;
  font-size: 18px;
  line-height: 1.6;
}
.chna-survey-popup-time {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  color: #1f3a5f;
  font-size: 16px;
  font-weight: 700;
}
.chna-survey-popup-time i { color: var(--green); }
.chna-survey-popup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.chna-survey-popup-start,
.chna-survey-popup-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}
.chna-survey-popup-start { background: var(--green); color: #fff; }
.chna-survey-popup-start:hover { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
.chna-survey-popup-start i { font-size: 14px; }
.chna-survey-popup-dismiss { border-color: #ccd9e3; background: #fff; color: #1f3a5f; }
.chna-survey-popup-dismiss:hover { background: #edf3f8; }
.chna-survey-popup :is(a, button):focus-visible { outline: 3px solid #2974be; outline-offset: 3px; }
.chna-survey-popup-footer { padding: 18px 36px; border-top: 1px solid #e0e9f0; background: #f4f8fb; }
.chna-survey-popup-footer a { color: #2469a9; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.chna-survey-popup-footer a:hover { color: #1f3a5f; }
.chna-survey-popup-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
  .chna-survey-popup-header { padding: 18px 20px; }
  .chna-survey-popup-body { padding: 24px; }
  .chna-survey-popup-kicker { font-size: 12px; }
  .chna-survey-popup-description { font-size: 16px; }
  .chna-survey-popup-time { align-items: baseline; font-size: 15px; }
  .chna-survey-popup-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .chna-survey-popup-footer { padding: 16px 24px; }
}
