/* Results V1 — exact scancomplete reference layout */
:root {
  --rv1-bg: #eef2f6;
  --rv1-surface: #ffffff;
  --rv1-navy: #0b1f3a;
  --rv1-navy-soft: #1b3a5f;
  --rv1-text: #142033;
  --rv1-muted: #5b6b7c;
  --rv1-border: #e4ebf3;
  --rv1-blue: #1f6fff;
  --rv1-gold: #d4af37;
  --rv1-gold-btn: #e2b93b;
  --rv1-high: #dc2626;
  --rv1-medium: #ea580c;
  --rv1-ok: #16a34a;
  --rv1-radius: 18px;
  --rv1-shadow: 0 10px 28px rgba(15, 35, 70, 0.07);
}

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

body.results-v1-body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--rv1-bg) !important;
  color: var(--rv1-text);
}

.rv1-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.rv1-main {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 1.35rem 1.1rem 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.rv1-main > * { margin: 0; min-width: 0; }

/* Status */
.rv1-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  background: #e7f7ee;
  border: 1px solid #c6ead4;
}

.rv1-status__ok {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #166534;
  font-weight: 700;
  font-size: 0.94rem;
}

.rv1-status__check {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #22c55e;
}

.rv1-status__time {
  color: #6b7c8d;
  font-size: 0.84rem;
  font-weight: 500;
}

.rv1-product-strip {
  display: flex;
  align-items: center;
  padding: 0.78rem 1rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--rv1-border);
  box-shadow: 0 4px 14px rgba(15, 35, 70, 0.04);
}

.rv1-product-strip__label {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--rv1-navy);
  letter-spacing: 0.01em;
}

.rv1-demo-note {
  margin: 0;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid #f3dfb0;
  color: #7a5a16;
  font-size: 0.88rem;
}

/* Admin-only "preview as free user" toggle — never visible to regular
   visitors (hidden by default, only unhidden by results-v1.js when
   DYPILON_ADMIN.isActive() is true). Styled distinctly (dashed purple) so
   it reads as an internal/dev control, not a customer-facing element. */
.rv1-admin-preview-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #f2ecfd;
  border: 1px dashed #8b5cf6;
  color: #5b21b6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.rv1-admin-preview-toggle:hover {
  background: #e9defc;
}

.rv1-admin-preview-toggle:active {
  transform: scale(0.98);
}

/* Score card */
.rv1-score-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.15rem 1.35rem;
  align-items: center;
  background: var(--rv1-surface);
  border: 1px solid var(--rv1-border);
  border-radius: 22px;
  box-shadow: var(--rv1-shadow);
  padding: 1.45rem 1.5rem;
}

.rv1-ring-wrap {
  position: relative;
  width: 148px;
  height: 148px;
}

.rv1-ring {
  width: 100%;
  height: 100%;
  display: block;
}

.rv1-ring__track {
  fill: none;
  stroke: #e7edf5;
  stroke-width: 11;
}

.rv1-ring__fill {
  fill: none;
  stroke: #d4af37;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.6s ease;
}

.rv1-ring__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.rv1-ring__center strong {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--rv1-navy);
}

.rv1-ring__center span {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #7a8898;
}

.rv1-score-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rv1-navy);
}

.rv1-score-card__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  color: var(--rv1-navy);
  font-weight: 800;
}

.rv1-score-card__sub {
  margin: 0 0 0.9rem;
  color: var(--rv1-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 28rem;
}

.rv1-risk-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #fff3e6;
  color: #d97706;
  border: 1px solid #f7d7a8;
}

.rv1-risk-chip--high,
.rv1-risk-chip--critical {
  background: #fef2f2;
  color: var(--rv1-high);
  border-color: #fecaca;
}

.rv1-risk-chip--good,
.rv1-risk-chip--low,
.rv1-risk-chip--excellent {
  background: #e8f8ef;
  color: var(--rv1-ok);
  border-color: #bbf7d0;
}

.rv1-score-card__art {
  display: grid;
  place-items: center;
  align-self: center;
  min-width: 7.5rem;
}

.rv1-score-card__logo {
  display: block;
  width: clamp(7.5rem, 16vw, 10.5rem);
  height: auto;
  max-height: 9.5rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 16px rgba(138, 167, 200, 0.28));
}

/* Scan summary */
.rv1-summary-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.rv1-summary-block__head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--rv1-navy);
}

.rv1-summary-block__link {
  color: var(--rv1-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.rv1-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.rv1-metric {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 1rem 0.95rem;
  border-radius: 16px;
  border: 1px solid transparent;
  min-height: 100%;
}

.rv1-metric__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.rv1-metric__label {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: inherit;
  opacity: 0.85;
}

.rv1-metric__value {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  color: inherit;
}

.rv1-metric__value small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.8;
}

.rv1-metric--red {
  background: #fde8e8;
  color: #b91c1c;
  border-color: #f7c9c9;
}
.rv1-metric--orange {
  background: #ffedd5;
  color: #c2410c;
  border-color: #fdba74;
}
.rv1-metric--amber {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}
.rv1-metric--green {
  background: #e8f8ef;
  color: #15803d;
  border-color: #bbf7d0;
}

/* Exposed info */
.rv1-exposed {
  background: #fff7f7;
  border: 1px solid #f3d0d0;
  border-radius: 20px;
  box-shadow: var(--rv1-shadow);
  padding: 1.25rem 1.3rem 1.15rem;
}

/* "My Options" — same card footprint as Exposed Information, neutral
   colour, intentionally left empty pending content. */
.rv1-options {
  background: #fff;
  border: 1px solid #e7ebf1;
  min-height: 260px;
}

.rv1-exposed__head {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.rv1-exposed__badge {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #ef4444;
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.rv1-exposed__head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  color: var(--rv1-navy);
}

.rv1-exposed__sub {
  margin: 0;
  color: var(--rv1-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.rv1-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.rv1-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d9e1ea;
  color: #334155;
  font-size: 0.74rem;
  font-weight: 700;
}

.rv1-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #eadfdf;
  border-radius: 14px;
  overflow: hidden;
}

.rv1-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem 0.9rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid #eef2f6;
  background: #fff;
}

.rv1-item:last-child { border-bottom: 0; }

.rv1-item__icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  color: #1b3a5f;
  background: #eef4fb;
}

.rv1-item__title {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: var(--rv1-navy);
}

.rv1-item__meta {
  margin: 0;
  color: var(--rv1-muted);
  font-size: 0.84rem;
}

.rv1-new {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.rv1-sev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.8rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.rv1-sev--high { background: #fee2e2; color: #dc2626; }
.rv1-sev--medium { background: #ffedd5; color: #ea580c; }
.rv1-sev--low { background: #e8f8ef; color: #16a34a; }

/* Locked bar */
.rv1-locked {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 0.95rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #e8f0fb;
  border: 1px solid #d3e0f3;
}

.rv1-locked__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #0b1f3a;
  flex: 0 0 auto;
}

.rv1-locked__copy {
  flex: 1 1 14rem;
  min-width: 0;
}

.rv1-locked__copy p {
  margin: 0;
  color: var(--rv1-navy-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}

.rv1-locked__copy p + p {
  margin-top: 0.15rem;
  color: var(--rv1-muted);
  font-size: 0.82rem;
}

/* Technical report — collapsed by default, mirrors the homepage's
   "Show technical details" disclosure pattern (▸ arrow, native <details>). */
.rv1-technical {
  background: #fff;
  border: 1px solid var(--rv1-border);
  border-radius: 18px;
  box-shadow: var(--rv1-shadow);
  padding: 0.2rem 1.2rem;
}

.rv1-technical__drawer { margin: 0; }

.rv1-technical__toggle {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--rv1-navy);
}

.rv1-technical__toggle::-webkit-details-marker { display: none; }

.rv1-technical__toggle::before {
  content: "▸";
  display: inline-block;
  color: var(--rv1-blue);
  font-size: 0.8rem;
  transition: transform 0.15s ease;
}

.rv1-technical__drawer[open] > .rv1-technical__toggle::before {
  transform: rotate(90deg);
}

.rv1-technical__body {
  padding: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.rv1-technical__module {
  padding-top: 1rem;
  border-top: 1px dashed var(--rv1-border);
}

.rv1-technical__module:first-child {
  padding-top: 0;
  border-top: 0;
}

.rv1-technical__module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.rv1-technical__module-head h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--rv1-navy);
}

.rv1-technical__severity {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--rv1-muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.rv1-technical__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.rv1-technical__metric {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  background: #f5f8fb;
  border: 1px solid var(--rv1-border);
  font-size: 0.78rem;
}

.rv1-technical__metric-label { color: var(--rv1-muted); }
.rv1-technical__metric-value { color: var(--rv1-navy); font-size: 0.9rem; }

.rv1-technical__engines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rv1-technical__engine {
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: #f9fafc;
  border: 1px solid var(--rv1-border);
}

.rv1-technical__engine-name {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rv1-navy-soft);
}

.rv1-technical__engine-status {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--rv1-muted);
  text-transform: uppercase;
}

.rv1-technical__engine-message {
  margin: 0.3rem 0 0;
  color: var(--rv1-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Live Scan Feed — small minimalist monospace box (replaces the raw
   per-engine dump above; kept for reference only where still used). */
.rv1-feed {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
  background: var(--rv1-navy);
  color: #d7e6ff;
  border-radius: 12px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 260px;
  overflow-y: auto;
}

/* Master Report — unlocked-only concrete next steps + removal email */
.rv1-master { background: #fff; }

.rv1-exposed__badge--master { background: var(--rv1-navy); }

.rv1-master__block { margin-top: 1.15rem; }
.rv1-master__block:first-of-type { margin-top: 0.3rem; }

.rv1-master__block h3 {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  color: var(--rv1-navy);
}

.rv1-master__hint {
  margin: 0 0 0.65rem;
  color: var(--rv1-muted);
  font-size: 0.82rem;
}

.rv1-master__guidance-list,
.rv1-master__phone-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rv1-master__phone-list {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.rv1-master__guidance-item {
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: #f5f8fb;
  border: 1px solid var(--rv1-border);
}

.rv1-master__guidance-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  color: var(--rv1-navy);
  font-size: 0.9rem;
}

.rv1-master__sev {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eef2f6;
  color: var(--rv1-muted);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rv1-master__summary {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--rv1-muted);
}

.rv1-master__rec {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--rv1-navy-soft);
  font-weight: 600;
}

.rv1-master__phone-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  background: #fff5f5;
  border: 1px solid #f3d6d6;
  font-size: 0.84rem;
}

.rv1-master__phone-number {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 700;
  color: var(--rv1-navy);
}

.rv1-master__phone-badge {
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rv1-master__phone-meta {
  color: var(--rv1-muted);
  font-size: 0.78rem;
}

.rv1-master__emails {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rv1-master__action-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--rv1-border);
}

.rv1-master__action-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rv1-navy);
}

.rv1-master__action-meta {
  margin: 0.2rem 0 0;
  font-size: 0.74rem;
  color: var(--rv1-muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.rv1-btn--navy {
  background: var(--rv1-navy);
  color: #fff;
  border: 1px solid var(--rv1-navy);
}

.rv1-btn--navy:hover {
  background: var(--rv1-navy-soft);
  border-color: var(--rv1-navy-soft);
}

.rv1-master__modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .rv1-master__modules {
    grid-template-columns: 1fr;
  }
}

.rv1-master__module {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--rv1-border);
  min-height: 140px;
}

.rv1-master__module-title {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  color: var(--rv1-navy);
}

.rv1-master__module-body {
  margin: 0;
  padding: 0.7rem 0.8rem;
  background: #fff;
  border: 1px solid var(--rv1-border);
  border-radius: 10px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.76rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 180px;
  overflow-y: auto;
  color: var(--rv1-text);
}

/* Corporate Infrastructure & Signal Security — B2B enterprise block */
.rv1-corp {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rv1-corp__panel {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #f4f7fa;
  border: 1px solid var(--rv1-border);
}

.rv1-corp__eyebrow {
  display: inline-block;
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.rv1-corp__title {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--rv1-navy);
  letter-spacing: 0.01em;
}

.rv1-corp__codename {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  color: var(--rv1-navy-soft);
  font-weight: 600;
}

.rv1-corp__table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--rv1-border);
  background: #fff;
}

.rv1-corp__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.rv1-corp__table th,
.rv1-corp__table td {
  padding: 0.55rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid #e8eef4;
  vertical-align: top;
}

.rv1-corp__table th {
  background: #eef3f8;
  color: var(--rv1-navy);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rv1-corp__table tr:last-child td {
  border-bottom: 0;
}

.rv1-corp__mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 600;
  color: var(--rv1-navy);
}

.rv1-corp__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 260px;
  overflow-y: auto;
}

.rv1-corp__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.45rem 0.65rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--rv1-border);
}

.rv1-corp__item-kind {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  padding-top: 0.15rem;
}

.rv1-corp__item-main {
  min-width: 0;
}

.rv1-corp__item-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rv1-navy);
  word-break: break-word;
}

.rv1-corp__item-detail {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  color: var(--rv1-muted);
  line-height: 1.4;
}

.rv1-corp__risk {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.rv1-corp__risk--high {
  background: #fee2e2;
  color: #b91c1c;
}

.rv1-corp__risk--moderate {
  background: #fef3c7;
  color: #b45309;
}

.rv1-corp__empty {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed var(--rv1-border);
  color: var(--rv1-muted);
  font-size: 0.8rem;
}

/* Premium strip — white card + navy crown block */
.rv1-premium {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 1.15rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--rv1-border);
  border-radius: 18px;
  box-shadow: var(--rv1-shadow);
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  overflow: hidden;
}

.rv1-premium__crown {
  display: grid;
  place-items: center;
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 14px;
  background: #0b1f3a;
}

.rv1-premium__copy h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--rv1-navy);
  font-weight: 800;
}

.rv1-premium__copy p {
  margin: 0;
  color: var(--rv1-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 34rem;
}

.rv1-premium__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  min-width: 12.5rem;
}

.rv1-premium__guarantee {
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  color: #7a8898;
  font-weight: 600;
}

/* Advisor */
.rv1-advisor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.95rem 1.1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--rv1-border);
  border-radius: 18px;
  box-shadow: var(--rv1-shadow);
  padding: 1.05rem 1.15rem;
}

.rv1-advisor__avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  background: #dbe7f5;
}

.rv1-advisor h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--rv1-navy);
}

.rv1-advisor p {
  margin: 0;
  color: var(--rv1-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Buttons */
.rv1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.rv1-btn--navy {
  background: #0b1f3a;
  color: #fff;
}

.rv1-btn--gold {
  background: linear-gradient(180deg, #efc65a, #d4a82e);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 16px rgba(212, 168, 46, 0.28);
}

.rv1-btn--outline {
  background: #fff;
  color: var(--rv1-navy);
  border-color: #d5dee8;
}

[hidden] { display: none !important; }

.rv1-footer {
  margin-top: auto;
  padding: 1.15rem;
  text-align: center;
  color: var(--rv1-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--rv1-border);
  background: #fff;
}

.rv1-footer a { color: var(--rv1-navy-soft); }

@media (max-width: 900px) {
  .rv1-score-card,
  .rv1-metrics,
  .rv1-premium,
  .rv1-advisor {
    grid-template-columns: 1fr;
  }

  .rv1-score-card__art { justify-self: start; }
  .rv1-score-card__logo {
    width: clamp(7rem, 42vw, 9.25rem);
    max-height: 7.5rem;
  }
  .rv1-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv1-premium__cta,
  .rv1-advisor .rv1-btn { justify-self: stretch; width: 100%; }
}

@media (max-width: 560px) {
  .rv1-metrics { grid-template-columns: 1fr; }
  .rv1-locked { flex-direction: column; align-items: stretch; }
  .rv1-locked .rv1-btn { width: 100%; }
}
