:root {
  --mvrt-green: #5fae2d;
  --mvrt-green-dark: #3d7d19;
  --mvrt-ink: #18232d;
  --mvrt-muted: #66727d;
  --mvrt-line: #dce4d7;
  --mvrt-soft: #f5f8f2;
  --mvrt-danger: #b42318;
}

.mvrt-shell,
.mvrt-shell * { box-sizing: border-box; }
.mvrt-shell {
  max-width: 1040px;
  margin: 28px auto;
  color: var(--mvrt-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  border: 1px solid var(--mvrt-line);
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(21, 35, 18, .09);
  overflow: hidden;
}
.mvrt-header {
  padding: clamp(26px, 5vw, 50px);
  background: linear-gradient(135deg, #18232d 0%, #253730 63%, #3f7d20 100%);
  color: #fff;
}
.mvrt-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #bfe99f; }
.mvrt-header h2 { margin: 8px 0; font-size: clamp(27px, 4vw, 43px); line-height: 1.08; color: #fff; }
.mvrt-header p { margin: 0; max-width: 800px; color: #e3eadf; font-size: 16px; line-height: 1.55; }
.mvrt-form { padding: clamp(20px, 4.5vw, 46px); }
.mvrt-section { margin: 0 0 32px; padding: 0; border: 0; }
.mvrt-section legend {
  width: 100%;
  padding: 0 0 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--mvrt-green);
  font-size: 20px;
  font-weight: 800;
  color: var(--mvrt-ink);
}
.mvrt-section-note,
.mvrt-scale-help { margin: -8px 0 18px; color: var(--mvrt-muted); font-size: 13px; line-height: 1.45; }
.mvrt-grid { display: grid; gap: 18px; }
.mvrt-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mvrt-span-2 { grid-column: 1 / -1; }
.mvrt-field { display: block; margin-bottom: 18px; }
.mvrt-field > span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 750; }
.mvrt-field b,
.mvrt-rating-question b,
.mvrt-consent b { color: var(--mvrt-danger); }
.mvrt-field input[type="text"],
.mvrt-field input[type="tel"],
.mvrt-field input[type="email"],
.mvrt-field input[type="date"],
.mvrt-field select,
.mvrt-field textarea {
  width: 100%;
  border: 1px solid #bfc9ba;
  border-radius: 9px;
  background: #fff;
  color: var(--mvrt-ink);
  padding: 12px 13px;
  font: inherit;
  line-height: 1.35;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.mvrt-field textarea { resize: vertical; }
.mvrt-field input:focus,
.mvrt-field select:focus,
.mvrt-field textarea:focus {
  outline: none;
  border-color: var(--mvrt-green-dark);
  box-shadow: 0 0 0 3px rgba(95, 174, 45, .17);
}
.mvrt-field input.mvrt-invalid,
.mvrt-field select.mvrt-invalid,
.mvrt-field textarea.mvrt-invalid { border-color: var(--mvrt-danger); background: #fff8f7; }
.mvrt-count { display: block; text-align: right; margin-top: 5px; color: var(--mvrt-muted); font-size: 12px; }

.mvrt-rating-row {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(430px, 1.45fr);
  gap: 22px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #e7ece4;
}
.mvrt-rating-row:last-child { border-bottom: 0; }
.mvrt-rating-question { font-size: 14px; font-weight: 700; line-height: 1.4; }
.mvrt-rating-options { display: grid; grid-template-columns: repeat(5, minmax(58px, 1fr)); gap: 8px; }
.mvrt-rating-options:has(.mvrt-rating-na) { grid-template-columns: repeat(6, minmax(58px, 1fr)); }
.mvrt-rating-options label { position: relative; cursor: pointer; }
.mvrt-rating-options input { position: absolute; opacity: 0; pointer-events: none; }
.mvrt-rating-options span {
  display: flex;
  min-height: 62px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 5px;
  border: 1px solid #cbd4c6;
  border-radius: 9px;
  background: #fff;
  transition: .15s ease;
}
.mvrt-rating-options strong { font-size: 17px; }
.mvrt-rating-options small { color: var(--mvrt-muted); font-size: 10px; text-align: center; line-height: 1.1; }
.mvrt-rating-options input:checked + span {
  border-color: var(--mvrt-green-dark);
  box-shadow: 0 0 0 3px rgba(95, 174, 45, .16);
  background: var(--mvrt-soft);
}
.mvrt-rating-options input:focus-visible + span { outline: 3px solid rgba(61, 125, 25, .3); }
.mvrt-rating-na span { background: #fafafa; }

.mvrt-summary-grid { align-items: start; margin-top: 20px; }
.mvrt-nps { display: grid; grid-template-columns: repeat(11, minmax(30px, 1fr)); gap: 5px; }
.mvrt-nps label { position: relative; cursor: pointer; }
.mvrt-nps input { position: absolute; opacity: 0; pointer-events: none; }
.mvrt-nps span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #cbd4c6;
  border-radius: 7px;
  background: #fff;
  font-weight: 800;
  transition: .15s ease;
}
.mvrt-nps input:checked + span { border-color: var(--mvrt-green-dark); background: var(--mvrt-soft); box-shadow: 0 0 0 2px rgba(95, 174, 45, .16); }
.mvrt-nps-labels { display: flex; justify-content: space-between; margin-top: 5px; color: var(--mvrt-muted); font-size: 11px; }

.mvrt-choice-grid { display: grid; gap: 10px; }
.mvrt-choice-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mvrt-choice-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mvrt-choice-grid label { position: relative; cursor: pointer; }
.mvrt-choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.mvrt-choice-grid span {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #cbd4c6;
  border-radius: 9px;
  background: #fff;
  transition: .15s ease;
}
.mvrt-choice-grid input:checked + span { border-color: var(--mvrt-green-dark); background: var(--mvrt-soft); box-shadow: 0 0 0 3px rgba(95, 174, 45, .16); }

.mvrt-consent { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0; font-size: 14px; line-height: 1.45; }
.mvrt-consent input { margin-top: 3px; accent-color: var(--mvrt-green-dark); }
.mvrt-submit-row { display: flex; align-items: center; gap: 18px; padding-top: 8px; }
.mvrt-submit {
  border: 0;
  border-radius: 9px;
  background: var(--mvrt-green-dark);
  color: #fff;
  padding: 14px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(61, 125, 25, .23);
}
.mvrt-submit:hover { background: #326b13; }
.mvrt-submit:disabled { opacity: .62; cursor: wait; }
.mvrt-submit-note { margin: 0; color: var(--mvrt-muted); font-size: 13px; }
.mvrt-response { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 9px; font-weight: 700; line-height: 1.45; }
.mvrt-response.mvrt-show { display: block; }
.mvrt-response.mvrt-success { background: #edf8e8; border: 1px solid #a7d590; color: #285b12; }
.mvrt-response.mvrt-error { background: #fff3f1; border: 1px solid #f0b8b1; color: #7a271a; }
.mvrt-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mvrt-turnstile { margin: 8px 0 18px; min-height: 65px; }
[hidden] { display: none !important; }

.mvrt-rating-row.mvrt-invalid,
.mvrt-choice-grid.mvrt-invalid,
.mvrt-nps.mvrt-invalid,
.mvrt-consent.mvrt-invalid {
  padding: 9px;
  margin: -9px;
  border: 2px solid var(--mvrt-danger);
  border-radius: 10px;
  background: #fff8f7;
}
.mvrt-rating-row.mvrt-invalid { margin-top: 0; margin-bottom: 0; }

@media (max-width: 880px) {
  .mvrt-rating-row { grid-template-columns: 1fr; gap: 10px; }
  .mvrt-rating-options { grid-template-columns: repeat(5, minmax(50px, 1fr)); }
  .mvrt-rating-options:has(.mvrt-rating-na) { grid-template-columns: repeat(6, minmax(48px, 1fr)); }
}
@media (max-width: 680px) {
  .mvrt-grid-2 { grid-template-columns: 1fr; }
  .mvrt-span-2 { grid-column: auto; }
  .mvrt-rating-options,
  .mvrt-rating-options:has(.mvrt-rating-na) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mvrt-rating-options span { min-height: 55px; }
  .mvrt-nps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mvrt-choice-grid-3 { grid-template-columns: 1fr; }
  .mvrt-submit-row { align-items: stretch; flex-direction: column; }
  .mvrt-submit { width: 100%; }
}
@media (max-width: 420px) {
  .mvrt-rating-options,
  .mvrt-rating-options:has(.mvrt-rating-na) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mvrt-nps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
