.pvrx-wrap {
  --pvrx-ink: #101417;
  --pvrx-charcoal: #151a1f;
  --pvrx-navy: #071827;
  --pvrx-panel: #ffffff;
  --pvrx-soft: #f5f7f4;
  --pvrx-line: #dde3dd;
  --pvrx-muted: #64716a;
  --pvrx-olive: #303426;
  --pvrx-green: #2f8f5b;
  --pvrx-yellow: #d6b33b;
  --pvrx-orange: #cf7a2c;
  --pvrx-red: #b93a35;
  --pvrx-purple: #67256f;
  box-sizing: border-box;
  color: var(--pvrx-ink);
  font-family: inherit;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 16px;
}

/* Version 1.2: response review, with no risk meter or readiness colours. */
.pvrx-wrap [hidden] { display: none !important; }
.pvrx-wrap fieldset.pvrx-question { min-width: 0; margin: 0; border: 0; border-top: 1px solid #edf1ed; }
.pvrx-wrap legend.pvrx-q-title { float: none; width: 100%; padding-top: 16px; }
.pvrx-wrap .pvrx-evidence { margin-top: 12px; }
.pvrx-wrap .pvrx-evidence summary { cursor: pointer; padding: 8px 0; }
.pvrx-wrap .pvrx-evidence label { margin-top: 8px; }
.pvrx-wrap .pvrx-follow-up { max-height: 22rem; overflow-y: auto; padding-left: 20px; font-size: 13px; }
.pvrx-wrap .pvrx-follow-up li { margin-bottom: 12px; }
.pvrx-wrap .pvrx-report:not([hidden]) { display: block; overflow-wrap: anywhere; }
.pvrx-wrap .pvrx-report h1 { font-size: 28px; }
.pvrx-wrap .pvrx-report h2 { font-size: 20px; margin: 24px 0 12px; }
.pvrx-wrap .pvrx-report dt { font-weight: 700; margin-top: 16px; }
.pvrx-wrap .pvrx-report dd { margin: 6px 0 16px; }
.pvrx-wrap .pvrx-btn:disabled { cursor: default; opacity: 0.65; }
.pvrx-wrap :focus-visible { outline: 3px solid #075985; outline-offset: 3px; }
@media (max-width: 900px) {
  .pvrx-wrap .pvrx-meter-card { display: block; position: static; grid-row: 1; }
  .pvrx-wrap .pvrx-main { grid-row: 2; }
}

.pvrx-wrap *,
.pvrx-wrap *::before,
.pvrx-wrap *::after {
  box-sizing: border-box;
}

.pvrx-wrap img,
.pvrx-wrap select,
.pvrx-wrap button,
.pvrx-wrap input {
  max-width: 100%;
}

.pvrx-hero {
  align-items: stretch;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(135deg, #07090b 0%, #101820 44%, #24281d 100%);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  margin-bottom: 16px;
  overflow: hidden;
  padding: 30px;
}

.pvrx-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.pvrx-logo-white {
  margin-bottom: 24px;
  max-width: 180px;
  width: 34vw;
}

.pvrx-logo-dark {
  flex: 0 0 auto;
  max-width: 120px;
  width: 28vw;
}

.pvrx-eyebrow {
  color: #cfd9c7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.pvrx-hero h2 {
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 12px;
  max-width: 820px;
}

.pvrx-lead {
  color: #eef2ea;
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 800px;
}

.pvrx-hero-panel {
  align-self: end;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: 18px;
}

.pvrx-hero-panel span,
.pvrx-hero-panel strong {
  display: block;
}

.pvrx-hero-panel span {
  color: #cfd9c7;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pvrx-hero-panel strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.pvrx-hero-panel p {
  color: #dfe5dc;
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 0 0;
}

.pvrx-disclaimer {
  align-items: center;
  background: #f6f8f3;
  border: 1px solid var(--pvrx-line);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
}

.pvrx-disclaimer p {
  color: #3e4a43;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.pvrx-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.pvrx-main {
  min-width: 0;
}

.pvrx-card,
.pvrx-meter-card,
.pvrx-report {
  background: var(--pvrx-panel);
  border: 1px solid var(--pvrx-line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(16, 20, 23, .07);
}

.pvrx-card {
  margin-bottom: 18px;
  padding: 22px;
}

.pvrx-card h3 {
  color: #151a1f;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.pvrx-card p {
  color: var(--pvrx-muted);
  line-height: 1.5;
  margin: 0 0 15px;
}

.pvrx-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.pvrx-grid label,
.pvrx-field-label {
  color: #27302a;
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.pvrx-grid select,
.pvrx-select-inline {
  background: #fff;
  border: 1px solid #cfd8d0;
  border-radius: 8px;
  color: #151a1f;
  display: block;
  font: inherit;
  margin-top: 7px;
  min-height: 44px;
  padding: 9px 11px;
  width: 100%;
}

.pvrx-question {
  border-top: 1px solid #edf1ed;
  padding: 16px 0;
}

.pvrx-question:first-of-type {
  border-top: 0;
}

.pvrx-q-title {
  color: #1f2822;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
}

.pvrx-q-help {
  color: var(--pvrx-muted);
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.pvrx-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pvrx-option {
  align-items: center;
  background: #f8faf7;
  border: 1px solid #dfe6df;
  border-radius: 8px;
  color: #243029;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  min-height: 44px;
  padding: 9px 10px;
}

.pvrx-option input {
  flex: 0 0 auto;
}

.pvrx-option:has(input:checked) {
  background: #eef5eb;
  border-color: #7f956d;
}

.pvrx-hidden {
  display: none !important;
}

.pvrx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.pvrx-btn,
.pvrx-link-button {
  cursor: pointer;
  font: inherit;
}

.pvrx-btn {
  background: #fff;
  border: 1px solid #cfd8d0;
  border-radius: 8px;
  color: #141b18;
  font-weight: 800;
  min-height: 46px;
  padding: 11px 16px;
}

.pvrx-btn:hover,
.pvrx-btn:focus-visible {
  border-color: #7f956d;
  box-shadow: 0 10px 20px rgba(16,20,23,.08);
  outline: none;
}

.pvrx-btn-primary {
  background: #171d1f;
  border-color: #171d1f;
  color: #fff;
}

.pvrx-meter-card {
  padding: 18px;
  position: sticky;
  top: 24px;
}

.pvrx-meter-logo {
  display: block;
  height: auto;
  margin-bottom: 16px;
  max-width: 118px;
}

.pvrx-meter-title {
  color: var(--pvrx-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.pvrx-band-label {
  color: #151a1f;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.pvrx-meter {
  background: linear-gradient(90deg, #2f8f5b 0%, #69a85b 20%, #d6b33b 40%, #cf7a2c 58%, #b93a35 76%, #67256f 100%);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
  height: 16px;
  position: relative;
}

.pvrx-marker {
  background: #101417;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.9);
  height: 30px;
  left: 40%;
  position: absolute;
  top: -7px;
  transition: left .2s ease;
  width: 6px;
}

.pvrx-meter-legend {
  color: var(--pvrx-muted);
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  margin-top: 7px;
}

.pvrx-meter-copy {
  color: var(--pvrx-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 14px 0;
}

.pvrx-top-drivers {
  border-top: 1px solid #edf1ed;
  padding-top: 12px;
}

.pvrx-driver {
  background: #f3f6f1;
  border: 1px solid #dfe6df;
  border-radius: 8px;
  color: #27302a;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin: 5px 5px 0 0;
  padding: 6px 8px;
}

.pvrx-platform-teaser {
  background: #f6f8f3;
  border: 1px solid #e2e8df;
  border-radius: 8px;
  margin-top: 14px;
  padding: 12px;
}

.pvrx-platform-teaser strong {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.pvrx-platform-teaser p {
  color: var(--pvrx-muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.pvrx-mobile-meter {
  display: none;
}

.pvrx-report {
  display: none;
  margin: 20px 0;
  padding: 24px;
}

.pvrx-report.is-visible {
  display: block;
}

.pvrx-report-head {
  align-items: center;
  border-bottom: 1px solid #edf1ed;
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
}

.pvrx-report-logo {
  flex: 0 0 auto;
  max-width: 120px;
}

.pvrx-report h3 {
  color: #151a1f;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.pvrx-report h4 {
  color: #151a1f;
  font-size: 17px;
  margin: 20px 0 8px;
}

.pvrx-report p,
.pvrx-report li {
  line-height: 1.55;
}

.pvrx-report-meta {
  color: var(--pvrx-muted);
  font-size: 13px;
  margin: 0;
}

.pvrx-report-band {
  border: 1px solid #d8ded8;
  border-left: 6px solid var(--pvrx-yellow);
  border-radius: 8px;
  display: inline-block;
  font-weight: 900;
  margin: 0 0 8px;
  padding: 9px 12px;
}

.pvrx-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pvrx-footnote {
  border-top: 1px solid #edf1ed;
  color: var(--pvrx-muted);
  font-size: 12px;
  margin-top: 20px;
  padding-top: 14px;
}

.pvrx-link-button {
  background: transparent;
  border: 0;
  color: #2f4f36;
  font-size: 12px;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .pvrx-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .pvrx-hero h2 {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .pvrx-wrap {
    padding: 18px 12px;
  }

  .pvrx-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .pvrx-hero-panel {
    align-self: stretch;
  }

  .pvrx-layout {
    grid-template-columns: 1fr;
  }

  .pvrx-meter-card {
    display: none;
  }

  .pvrx-mobile-meter {
    align-items: center;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--pvrx-line);
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(16,20,23,.08);
    display: grid;
    gap: 2px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 14px;
    max-height: 118px;
    overflow: auto;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .pvrx-mobile-meter-kicker {
    color: var(--pvrx-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .pvrx-mobile-meter strong {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .pvrx-mobile-drivers {
    border-top: 1px solid #edf1ed;
    grid-column: 1 / -1;
    padding-top: 6px;
  }
}

@media (max-width: 768px) {
  .pvrx-disclaimer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pvrx-logo-dark {
    max-width: 100px;
  }

  .pvrx-card {
    padding: 18px;
  }

  .pvrx-options {
    grid-template-columns: 1fr 1fr;
  }

  .pvrx-actions,
  .pvrx-report-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pvrx-btn {
    width: 100%;
  }

  .pvrx-report-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .pvrx-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .pvrx-hero {
    padding: 18px;
  }

  .pvrx-logo-white {
    max-width: 142px;
    width: 46vw;
  }

  .pvrx-hero h2 {
    font-size: 29px;
  }

  .pvrx-lead {
    font-size: 15px;
  }

  .pvrx-grid,
  .pvrx-options {
    grid-template-columns: 1fr;
  }

  .pvrx-card,
  .pvrx-report {
    padding: 16px;
  }

  .pvrx-mobile-meter {
    max-height: 112px;
  }
}

@media print {
  .pvrx-hero,
  .pvrx-disclaimer,
  .pvrx-mobile-meter,
  .pvrx-meter-card,
  .pvrx-actions {
    display: none !important;
  }

  .pvrx-layout {
    display: block;
  }

  .pvrx-report {
    border: 0;
    box-shadow: none;
    display: block;
  }
}
