:root {
  --nvr-ink: #202326;
  --nvr-paper: #fbf7ef;
  --nvr-card: #fff;
  --nvr-rust: #b64d2d;
  --nvr-green: #3f5635;
  --nvr-line: #decfb9;
  --nvr-muted: #66706b;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body.nv-research-runtime {
  margin: 0;
  background: var(--nvr-paper);
  color: var(--nvr-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nvr-header,
.nvr-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 72px);
  background: #fff;
  border-bottom: 1px solid var(--nvr-line);
}

.nvr-header img { display: block; width: min(260px, 52vw); height: 72px; object-fit: contain; object-position: left center; }
.nvr-header a,
.nvr-footer a { color: var(--nvr-ink); font-weight: 700; text-decoration: none; }
.nvr-main { width: min(920px, calc(100% - 32px)); margin: 48px auto 72px; }

.nvr-intro {
  padding: clamp(28px, 5vw, 54px);
  background: var(--nvr-green);
  color: #fff;
  border-radius: 32px;
}

.nvr-intro span { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.nvr-intro h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: .98; margin: 18px 0; }
.nvr-intro p { font-size: 1.08rem; line-height: 1.65; max-width: 720px; }
.nvr-progress { height: 8px; margin-top: 30px; background: #ffffff35; border-radius: 9px; overflow: hidden; }
.nvr-progress i { display: block; width: 0; height: 100%; background: #f4c98b; transition: width .25s; }
#nvr-survey { margin-top: 28px; }

.nvr-section,
.nvr-consent {
  margin: 22px 0;
  padding: clamp(24px, 5vw, 46px);
  background: var(--nvr-card);
  border: 1px solid var(--nvr-line);
  border-radius: 26px;
  box-shadow: 0 14px 45px #593f2510;
}

.nvr-section.nvr-step-inactive,
.nvr-consent.nvr-step-inactive { display: none; }

.nvr-section legend { float: left; width: 100%; margin: 0 0 28px; font-size: clamp(1.55rem, 4vw, 2.4rem); font-weight: 800; }
.nvr-section legend + * { clear: both; }
.nvr-section legend small { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: 14px; border-radius: 50%; background: #f2dfc5; color: var(--nvr-rust); font-size: .82rem; }
.nvr-field { margin: 26px 0; }
.nvr-label { display: block; margin-bottom: 9px; font-weight: 760; font-size: 1rem; }
.nvr-label em { color: var(--nvr-rust); font-style: normal; }
.nvr-help,
.nvr-section-description,
.nvr-field small { color: var(--nvr-muted); line-height: 1.5; }

.nvr-field input[type=text],
.nvr-field input[type=email],
.nvr-field input[type=tel],
.nvr-field input[type=url],
.nvr-field input[type=date],
.nvr-field input[type=search],
.nvr-field input[type=number],
.nvr-field textarea,
.nvr-field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #b9b0a3;
  border-radius: 13px;
  background: #fff;
  color: var(--nvr-ink);
  font: inherit;
}

.nvr-country-combobox { position: relative; }
.nvr-country-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.nvr-country-listbox {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: min(360px, 45vh);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #9f9587;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px #31271d24;
}
.nvr-country-listbox[hidden] { display: none; }
.nvr-country-option {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--nvr-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.nvr-country-option small { color: var(--nvr-muted); font-weight: 800; letter-spacing: .08em; }
.nvr-country-option:hover,
.nvr-country-option.is-active { background: #f4eadc; outline: 2px solid transparent; }
.nvr-country-empty { margin: 0; padding: 14px; color: var(--nvr-muted); }
.nvr-country-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; }
.nvr-country-chips:empty { display: none; }
.nvr-country-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px 7px 12px; border: 1px solid #c9b79f; border-radius: 999px; background: #f7efe2; font-weight: 700; }
.nvr-country-chip button { display: grid; width: 26px; height: 26px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #ded0bd; color: var(--nvr-ink); font: inherit; cursor: pointer; }
.nvr-field textarea { resize: vertical; }
.nvr-field input:focus,
.nvr-field textarea:focus,
.nvr-field select:focus { outline: 3px solid #b64d2d24; border-color: var(--nvr-rust); }
.nvr-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.nvr-choice { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border: 1px solid var(--nvr-line); border-radius: 13px; background: #fff; }
.nvr-choice input { margin-top: 3px; accent-color: var(--nvr-rust); }
.nvr-error { display: block; color: #a72f25; margin-top: 7px; font-size: .9rem; }
.nvr-conditional-note { display: block; margin-top: 10px; padding: 11px 13px; border-left: 4px solid #c98246; border-radius: 8px; background: #fff4df; color: #603b22; font-size: .92rem; line-height: 1.45; }
.nvr-field.has-error input,
.nvr-field.has-error select,
.nvr-field.has-error textarea { border-color: #a72f25; }
.nvr-field.has-error { padding: 12px; margin-inline: -12px; border-radius: 14px; background: #fff1ed; }
.nvr-consent h2 { margin-top: 0; }
.nvr-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; }
.nvr-actions p { color: var(--nvr-muted); }
.nvr-step-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.nvr-actions button { border: 1px solid var(--nvr-rust); border-radius: 999px; padding: 15px 28px; background: var(--nvr-rust); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.nvr-actions button.nvr-button-secondary { background: transparent; color: var(--nvr-rust); }
.nvr-actions button[disabled] { opacity: .5; cursor: wait; }
#nvr-status { padding: 16px 0; font-weight: 700; }
.nvr-success { padding: 40px; background: #fff; border: 1px solid var(--nvr-line); border-radius: 24px; }
.nvr-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.nvr-footer { border-top: 1px solid var(--nvr-line); border-bottom: 0; color: var(--nvr-muted); }

@media (max-width: 640px) {
  .nvr-header img { width: min(220px, 64vw); height: 62px; }
  .nvr-main { margin-top: 24px; }
  .nvr-intro,
  .nvr-section,
  .nvr-consent { border-radius: 20px; }
  .nvr-actions,
  .nvr-footer { align-items: stretch; flex-direction: column; }
  .nvr-step-actions { display: grid; grid-template-columns: 1fr; }
  .nvr-actions button { width: 100%; }
  .nvr-choices { grid-template-columns: 1fr; }
}
