.pvr-widget {
  --pvr-accent: #1a7f37;
  max-width: 520px;
  margin: 0 auto;
  font-family: inherit;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 20px;
}
.pvr-field { margin-bottom: 12px; }
.pvr-field label { display: block; font-size: 14px; font-weight: 600; }
.pvr-field input, .pvr-field select {
  width: 100%; box-sizing: border-box; margin-top: 4px;
  padding: 9px 10px; border: 1px solid #cfcfcf; border-radius: 8px; font-size: 15px;
}
.pvr-field input:disabled, .pvr-field select:disabled {
  background: #f2f2f2; color: #999; cursor: not-allowed;
}
.pvr-btn {
  background: var(--pvr-accent); color: #fff; border: 0; border-radius: 8px;
  padding: 11px 18px; font-size: 15px; font-weight: 600; cursor: pointer; width: 100%;
}
.pvr-btn:hover { filter: brightness(0.95); }
.pvr-btn:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }
.pvr-result, .pvr-lead { margin-top: 18px; }
.pvr-result-list { list-style: none; margin: 0; padding: 0; }
.pvr-result-list li {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid #eee;
}
.pvr-result-list strong { color: var(--pvr-accent); }
.pvr-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 10px 0; }
.pvr-disclaimer { color: #888; font-size: 11px; margin-top: 14px; }
.pvr-error { color: #b3261e; }
.pvr-loading { color: #666; }
.pvr-lead-msg { margin-top: 10px; font-size: 14px; }

/* Wizard */
.pvr-progress { font-size: 13px; color: #666; font-weight: 600; margin-bottom: 12px; }
.pvr-step { display: none; min-height: 360px; flex-direction: column; }
.pvr-step.is-active { display: flex; }
.pvr-tiles {
  border: 0; padding: 0; margin: 0 0 14px;
  display: grid; grid-template-columns: repeat(var(--pvr-tile-count, auto-fill), minmax(0, 1fr)); gap: 6px;
}
.pvr-tiles legend { grid-column: 1 / -1; font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.pvr-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-sizing: border-box;
  min-width: 0;
  padding: 8px 2px; border: 1px solid #cfcfcf; border-radius: 8px;
  cursor: pointer; text-align: center;
}
.pvr-tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.pvr-tile-icon { width: 20px; height: 20px; color: #555; flex-shrink: 0; }
.pvr-tile-icon svg { width: 100%; height: 100%; }
.pvr-tile-label { font-size: 10.5px; line-height: 1.2; word-break: break-word; hyphens: auto; }

@media (max-width: 480px) {
  .pvr-widget { padding: 14px; }
  .pvr-tiles { gap: 4px; }
  .pvr-tile { padding: 6px 1px; gap: 2px; }
  .pvr-tile-icon { width: 16px; height: 16px; }
  .pvr-tile-label { font-size: 9px; }
}
.pvr-tile.is-selected {
  border-color: var(--pvr-accent);
  box-shadow: inset 0 0 0 1px var(--pvr-accent);
}
.pvr-tile.is-selected .pvr-tile-icon { color: var(--pvr-accent); }
.pvr-nav { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; }
.pvr-btn.pvr-secondary { background: #eee; color: #333; }
