.rv-report {
  --rv-ink: #30263e;
  --rv-muted: #827c87;
  --rv-green: #247f71;
  --rv-border: #e8e2dd;
  --rv-bg: #f8f6f2;
  width: min(100% - 48px, 1010px);
  margin: 0 auto;
  padding: 52px 0 36px;
  color: var(--rv-ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.rv-report [hidden] { display: none !important; }
.rv-report button { font: inherit; cursor: pointer; }
.rv-report button:focus-visible, .rv-report input:focus-visible, .rv-report textarea:focus-visible {
  outline: 3px solid #75b7a8;
  outline-offset: 3px;
}

.rv-hero {
  display: grid;
  grid-template-columns: 1fr 250px;
  min-height: 293px;
  overflow: hidden;
  border: 1px solid #e6ece6;
  border-radius: 20px;
  background: linear-gradient(115deg, #eaf4ee, #f5f7f1 72%, #e7f0e9);
}
.rv-hero-main { padding: 39px 44px 36px; }
.rv-eyebrow, .rv-kicker { color: var(--rv-green); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.rv-eyebrow { display: flex; align-items: center; gap: 8px; letter-spacing: .04em; }
.rv-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #48a18c; }
.rv-hero h1 { margin: 15px 0 12px; font-size: clamp(33px, 4vw, 46px); line-height: 1.18; letter-spacing: -.06em; font-weight: 800; }
.rv-hero h1 em { color: var(--rv-green); font-style: normal; }
.rv-hero-main > p { max-width: 480px; margin: 0; color: #716d76; font-size: 13px; line-height: 1.9; }
.rv-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.rv-hero-meta span { padding: 6px 10px; border: 1px solid #d7e4da; border-radius: 99px; color: #677d71; font-size: 11px; }
.rv-hero-side { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; border-left: 1px solid #dbe7dc; text-align: center; }
.rv-hero-side > span { color: #79988a; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.rv-hero-symbol { display: grid; place-items: center; width: 98px; height: 98px; margin: 19px 0; border: 1px solid #bcd9c8; border-radius: 50%; color: #68a58e; font-family: Georgia, serif; font-size: 69px; line-height: 1; }
.rv-hero-side p { margin: 0; color: #819487; font-size: 11px; line-height: 1.8; }

.rv-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rv-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 1px solid var(--rv-border); border-radius: 9px; background: #fff; color: #625a68; font-size: 12px !important; font-weight: 650 !important; transition: border-color .15s, transform .15s; }
.rv-action:hover { border-color: #91c2b2; transform: translateY(-1px); }
.rv-action-primary { border-color: var(--rv-green); background: var(--rv-green); color: #fff; }
.rv-action-primary:hover { border-color: #1d6c60; background: #1d6c60; }

.rv-section { margin-top: 69px; }
.rv-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.rv-section-head h2 { margin: 9px 0 6px; color: var(--rv-ink); font-size: 25px; letter-spacing: -.04em; line-height: 1.35; }
.rv-section-head p { margin: 0; color: var(--rv-muted); font-size: 13px; line-height: 1.7; }
.rv-section-index { flex-shrink: 0; color: #b8afb9; font-size: 10px; letter-spacing: .08em; }

.rv-top-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
.rv-top-card { position: relative; display: flex; min-width: 0; min-height: 219px; flex-direction: column; align-items: stretch; padding: 16px 15px; border: 1px solid var(--rv-border); border-radius: 13px; background: #fff; text-align: left; color: var(--rv-ink); transition: transform .18s, box-shadow .18s, border-color .18s; }
.rv-top-card:hover { transform: translateY(-3px); border-color: #c8dcd2; box-shadow: 0 10px 28px #3630240a; }
.rv-card-number { display: flex; justify-content: space-between; color: #aaa2a9; font-family: Georgia, serif; font-size: 12px; }
.rv-top-tag { color: #aaa2a9; font-family: Inter, sans-serif; font-size: 9px; font-weight: 700; }
.rv-card-mark { display: grid; place-items: center; width: 40px; height: 40px; margin: 18px 0 15px; border-radius: 12px; background: color-mix(in srgb, var(--rv-accent) 12%, white); color: var(--rv-accent); font-weight: 700; font-size: 18px; }
.rv-card-name { font-size: 15px; font-weight: 750; line-height: 1.4; }
.rv-card-group { margin-top: 3px; color: var(--rv-muted); font-size: 11px; }
.rv-card-score { margin-top: auto; padding-top: 13px; color: var(--rv-ink); font-family: Georgia, serif; font-size: 23px; font-weight: 700; line-height: 1; }
.rv-card-score span { margin-left: 2px; color: #aaa2a9; font-size: 12px; font-weight: 400; }
.rv-card-meter, .rv-track, .rv-rank-meter { display: block; overflow: hidden; background: #f0eeeb; }
.rv-card-meter { height: 4px; margin-top: 10px; border-radius: 9px; }
.rv-card-meter i, .rv-track span, .rv-rank-meter i { display: block; height: 100%; border-radius: inherit; background: var(--rv-accent); }

.rv-overview { padding: 25px 27px 20px; border: 1px solid var(--rv-border); border-radius: 15px; background: #fff; }
.rv-overview-intro { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid #f1eeeb; }
.rv-overview-icon { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 12px; color: var(--rv-green); background: #e9f4ed; font-size: 27px; }
.rv-overview-intro h3 { margin: 0 0 5px; font-size: 15px; }
.rv-overview-intro p { margin: 0; color: var(--rv-muted); font-size: 12px; line-height: 1.6; }
.rv-distribution { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 35px; padding: 25px 0 21px; }
.rv-distribution-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.rv-distribution-label > span { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.rv-distribution-label i, .rv-rank-category i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--rv-accent); }
.rv-distribution-label strong { font-family: Georgia, serif; font-size: 18px; }
.rv-distribution-label small { color: #aaa2a9; font-size: 11px; font-weight: 400; }
.rv-track { height: 6px; border-radius: 8px; }
.rv-note { margin: 0; padding-top: 17px; border-top: 1px solid #f1eeeb; color: #98919a; font-size: 11px; line-height: 1.7; }

.rv-domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rv-domain { min-width: 0; padding: 18px; border: 1px solid var(--rv-border); border-radius: 13px; background: #fff; }
.rv-domain-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid #f2efed; }
.rv-domain-symbol { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: color-mix(in srgb, var(--rv-accent) 12%, white); color: var(--rv-accent); font-weight: 700; }
.rv-domain-heading > div { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.rv-domain-heading strong { font-size: 14px; }
.rv-domain-heading small { color: #aaa2a9; font-size: 9px; letter-spacing: .05em; }
.rv-domain-average { color: var(--rv-accent); font-family: Georgia, serif; font-size: 17px; font-weight: 700; }
.rv-domain-items { padding-top: 8px; }
.rv-domain-items button { display: flex; width: 100%; justify-content: space-between; gap: 8px; padding: 7px 0; border: 0; background: none; color: #5a5360; font-size: 12px; text-align: left; }
.rv-domain-items button:hover span { color: var(--rv-green); text-decoration: underline; }
.rv-domain-items b { color: #908892; font-family: Georgia, serif; font-size: 12px; font-weight: 400; }

.rv-ranking { overflow: hidden; border: 1px solid var(--rv-border); border-radius: 14px; background: #fff; }
.rv-ranking-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px; }
.rv-filter-list { display: flex; flex-wrap: wrap; gap: 5px; }
.rv-filter { padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: #8e8690; font-size: 12px !important; }
.rv-filter:hover { background: #f5f5f1; }
.rv-filter.is-active { background: #e7f2eb; color: #267d6b; font-weight: 700; }
.rv-search { display: flex; align-items: center; flex: 0 1 190px; gap: 7px; min-width: 135px; padding: 7px 10px; border: 1px solid #ede9e6; border-radius: 8px; color: #a7a0a7; }
.rv-search span { font-size: 19px; line-height: 1; }
.rv-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--rv-ink); font: inherit; font-size: 12px; }
.rv-search input::placeholder { color: #b3abb1; }
.rv-list-heading { display: grid; grid-template-columns: 58px 1fr 110px 198px; padding: 11px 20px; background: #faf9f7; color: #a29aa3; font-size: 10px; }
.rv-list-heading span:last-child { text-align: right; }
.rv-rank-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) 110px 115px 64px 19px; align-items: center; gap: 0; width: 100%; min-height: 65px; padding: 12px 20px; border: 0; border-top: 1px solid #f3f0ed; background: #fff; text-align: left; color: var(--rv-ink); }
.rv-rank-row:hover { background: #fafcf9; }
.rv-rank-position { color: #aca3ac; font-family: Georgia, serif; font-size: 14px; }
.rv-rank-name { display: flex; min-width: 0; flex-direction: column; gap: 4px; padding-right: 12px; }
.rv-rank-name strong { font-size: 13px; }
.rv-rank-name small { overflow: hidden; color: #aaa2a9; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rv-rank-category { display: flex; align-items: center; gap: 7px; color: #8e8790; font-size: 11px; }
.rv-rank-meter { height: 5px; border-radius: 8px; }
.rv-rank-score { text-align: right; font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.rv-rank-score small { color: #aaa2a9; font-size: 10px; font-weight: 400; }
.rv-rank-arrow { color: #bbb4bb; text-align: right; font-size: 12px; }
.rv-empty { padding: 40px 20px; color: #99909a; font-size: 13px; text-align: center; }
.rv-list-foot { display: flex; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px solid #f3f0ed; color: #aaa2a9; font-size: 11px; }

.rv-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding: 26px 30px; border: 1px solid #dcebe1; border-radius: 14px; background: #edf6ef; }
.rv-bottom strong { font-size: 16px; }
.rv-bottom p { margin: 6px 0 0; color: #89948b; font-size: 12px; }
.rv-bottom button { display: flex; justify-content: space-between; gap: 24px; padding: 12px 15px; border: 0; border-radius: 8px; background: var(--rv-green); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rv-disclaimer { margin: 28px 0 0; color: #aaa2a9; font-size: 11px; line-height: 1.8; text-align: center; }

.rv-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; background: #29233380; }
.rv-dialog { width: min(100%, 610px); max-height: min(800px, 90vh); overflow: auto; padding: 28px; border: 1px solid #ebe5e0; border-radius: 16px; background: #fff; box-shadow: 0 20px 70px #1b142233; }
.rv-dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.rv-dialog-heading h2 { margin: 8px 0 0; font-size: 23px; letter-spacing: -.03em; }
.rv-close { width: 36px; height: 36px; border: 1px solid #eee9e6; border-radius: 50%; background: #fff; color: #8b828d; font-size: 23px !important; line-height: 1; }
.rv-dialog-description { color: #8b848e; font-size: 12px; line-height: 1.8; }
.rv-scenarios { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.rv-scenario { padding: 8px 11px; border: 1px solid #ece7e3; border-radius: 8px; background: #fff; color: #716a75; font-size: 12px !important; }
.rv-scenario.is-active { border-color: #b5dacc; background: #eaf5ee; color: #267d6b; font-weight: 700; }
.rv-field { display: block; margin-top: 16px; color: #514a57; font-size: 12px; font-weight: 700; }
.rv-field > span { display: flex; justify-content: space-between; margin-bottom: 8px; }
.rv-field small { color: #aaa2a9; font-weight: 400; }
.rv-field textarea { display: block; width: 100%; resize: vertical; padding: 12px; box-sizing: border-box; border: 1px solid #eae5e1; border-radius: 8px; background: #faf9f7; color: #625a68; font: inherit; font-size: 12px; line-height: 1.7; }
.rv-field textarea::placeholder { color: #b2aab1; }
.rv-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 16px; }
.rv-copy-status { color: var(--rv-green); font-size: 12px; line-height: 1.5; }

@media (max-width: 760px) {
  .rv-report { width: min(100% - 32px, 1010px); padding-top: 28px; }
  .rv-hero { grid-template-columns: 1fr; min-height: 0; }
  .rv-hero-main { padding: 28px 25px; }
  .rv-hero h1 { font-size: 35px; }
  .rv-hero-side { display: none; }
  .rv-toolbar { gap: 6px; }
  .rv-action { flex: 1 1 auto; padding: 0 12px; }
  .rv-section { margin-top: 52px; }
  .rv-section-head h2 { font-size: 22px; }
  .rv-section-index { display: none; }
  .rv-top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .rv-top-card { min-height: 190px; }
  .rv-domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-ranking-controls { flex-direction: column; align-items: stretch; }
  .rv-search { flex: auto; }
  .rv-list-heading { grid-template-columns: 36px 1fr 65px 62px; padding: 11px 13px; }
  .rv-rank-row { grid-template-columns: 36px minmax(0, 1fr) 65px 48px 14px; padding: 10px 13px; }
  .rv-rank-meter { display: none; }
  .rv-rank-name small { font-size: 10px; }
  .rv-rank-category { font-size: 10px; }
  .rv-bottom { align-items: stretch; flex-direction: column; padding: 22px; }
}

@media (max-width: 430px) {
  .rv-distribution { grid-template-columns: 1fr; gap: 16px; }
  .rv-overview { padding: 20px; }
  .rv-domain { padding: 13px; }
  .rv-domain-heading { gap: 7px; }
  .rv-domain-symbol { width: 32px; height: 32px; }
  .rv-domain-heading strong { font-size: 12px; }
  .rv-domain-average { font-size: 14px; }
  .rv-domain-items button { font-size: 11px; }
  .rv-dialog { padding: 21px; }
  .rv-list-foot span:last-child { display: none; }
}

@media print {
  .rv-report { width: 100%; padding: 0; }
  .rv-toolbar, .rv-bottom, .rv-modal, .rv-ranking-controls { display: none !important; }
  .rv-section { margin-top: 30px; }
  .rv-top-card, .rv-domain, .rv-overview, .rv-rank-row { break-inside: avoid; }
  .rv-rank-row[hidden] { display: grid !important; }
}
/* Report header and cards follow the reference site's compact layout. */
.rv-report { --rv-green: #3da1a5; --rv-ink: #281b32; }
.rv-hero { display: flex; min-height: 0; align-items: center; justify-content: space-between; gap: 24px; padding: 29px 32px; background: linear-gradient(110deg, #e5eeee, #f9f1e6); border-color: #ebe5e1; }
.rv-hero-main { padding: 0; }
.rv-hero h1 { margin: 10px 0 8px; font-size: clamp(27px, 3vw, 36px); letter-spacing: -.035em; }
.rv-hero-main > p { font-size: 12px; }
.rv-toolbar { justify-content: flex-end; max-width: 510px; margin: 0; }
.rv-action { min-height: 38px; border-radius: 99px; border-color: #34243d; background: transparent; color: #281b32; }
.rv-action-primary { background: #3da1a5; border-color: #3da1a5; color: white; }
.rv-section { margin-top: 44px; }
.rv-top-card { min-height: 215px; border-radius: 15px; background: var(--surface); }
.rv-top-card:first-child { border-color: #e9c966; background: #fcf2d9; }
.rv-card-mark { display: none; }
.rv-card-name { margin-top: 17px; font-size: 17px; }
.rv-card-group { position: absolute; top: 17px; right: 15px; padding: 3px 8px; border-radius: 20px; background: var(--rv-accent); color: white; }
.rv-card-desc { margin-top: 8px; color: #817789; font-size: 11px; line-height: 1.7; }
.rv-card-score { padding-top: 12px; font-size: 18px; }
.rv-card-meter { margin-top: 7px; }
.rv-overview, .rv-domain, .rv-ranking { background: var(--surface); }
.rv-rank-row { background: var(--surface); }
.rv-list-heading { background: var(--surface-alt); }
:root[data-theme="dark"] .rv-report { --rv-ink: #f4eef6; --rv-border: #3c3540; }
:root[data-theme="dark"] .rv-hero { background: linear-gradient(110deg, #253d3a, #302b2b); border-color: #3c4e49; }
:root[data-theme="dark"] .rv-action { color: #f4eef6; border-color: #d4c9d7; background: transparent; }
:root[data-theme="dark"] .rv-action-primary { background: #3da1a5; border-color: #3da1a5; }
:root[data-theme="dark"] .rv-top-card:first-child { background: #3a3424; }
:root[data-theme="dark"] .rv-card-desc { color: #b6aebc; }
:root[data-theme="dark"] .rv-list-heading { background: #302a33; }
:root[data-theme="dark"] .rv-bottom { background: #253b39; border-color: #3c514a; }
:root[data-theme="dark"] .rv-bottom p, :root[data-theme="dark"] .rv-field { color: #b6aebc; }
@media (max-width: 760px) {
  .rv-hero { align-items: stretch; flex-direction: column; padding: 25px; }
  .rv-hero-main { padding: 0; }
  .rv-hero h1 { font-size: 28px; }
  .rv-toolbar { max-width: none; justify-content: flex-start; }
  .rv-action { flex: 0 1 auto; }
  .rv-top-grid { grid-template-columns: 1fr; }
  .rv-top-card { min-height: 180px; }
}
.rv-fun { margin-top: 46px; border: 1px solid var(--rv-border); border-radius: 15px; background: var(--surface); }
.rv-fun summary { padding: 20px 24px; cursor: pointer; font-weight: 750; font-size: 17px; }
.rv-fun-content { padding: 0 24px 25px; color: var(--ink); font-size: 13px; line-height: 1.8; }
.rv-fun-content h2 { margin: 8px 0; font-size: 25px; }
.rv-fun-content h3 { margin: 25px 0 8px; font-size: 16px; }
.rv-fun-content p { margin: 8px 0; color: var(--muted); }
.rv-caught { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.rv-caught button { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-alt); color: var(--ink); text-align: left; line-height: 1.6; }
.rv-caught button span { color: var(--muted); }
.rv-caught button[aria-pressed="true"] { border-color: var(--accent); background: var(--soft-accent); }
.rv-caught button[aria-pressed="true"] span { color: var(--accent); }
.rv-caught button small { display: block; color: var(--muted); }
@media (max-width: 600px) { .rv-caught { grid-template-columns: 1fr; } }
.rv-shared { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; padding: 12px 16px; border: 1px solid var(--rv-border); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 12px; }
.rv-shared button { padding: 0; border: 0; background: none; color: var(--accent-deep); font-weight: 700; }
/* Interactive six-category visualization at the end of the report. */
.rv-viz { --viz-surface:#f7f5fd; --viz-panel:#fff; --viz-ink:#2d2947; --viz-muted:#5f5974; --viz-border:#e3def0; --viz-purple:#6c59c7; margin-top:52px; padding:30px; border:1px solid var(--viz-border); border-radius:20px; background:linear-gradient(145deg,#f2effc,#f9f8fd 55%,#f4f1fb); color:var(--viz-ink); }
.rv-viz-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:24px; }
.rv-viz-head h2 { margin:7px 0 8px; color:var(--viz-ink); font-size:27px; line-height:1.3; }
.rv-viz-kicker { color:#7162a9; font-size:12px; font-weight:700; letter-spacing:.12em; }
.rv-viz-head p { margin:0; color:var(--viz-muted); font-size:15px; line-height:1.7; }
.rv-viz-toggle { display:inline-flex; flex:none; gap:4px; padding:4px; border:1px solid var(--viz-border); border-radius:999px; background:var(--viz-panel); }
.rv-viz-toggle button { min-height:40px; padding:0 16px; border:0; border-radius:999px; color:var(--viz-muted); background:transparent; font-size:14px; }
.rv-viz-toggle button[aria-pressed="true"] { background:var(--viz-purple); color:#fff; font-weight:700; }
.rv-viz-summary { display:grid; grid-template-columns:minmax(200px,.8fr) minmax(0,1.6fr); gap:20px; align-items:stretch; }
.rv-viz-plot { min-width:0; display:flex; flex-direction:column; justify-content:center; padding:20px; border:1px solid var(--viz-border); border-radius:15px; background:var(--viz-panel); }
.rv-viz-bars-title { display:flex; justify-content:space-between; gap:10px; margin-bottom:16px; font-size:15px; font-weight:700; }
.rv-viz-bars-title small { font-size:12px; font-weight:400; color:var(--viz-muted); }
.rv-viz-bars { display:grid; gap:13px; }
.rv-viz-bars>div { display:grid; grid-template-columns:35px minmax(0,1fr) 28px; gap:9px; align-items:center; font-size:14px; }
.rv-viz-bars>div>i { display:block; height:8px; overflow:hidden; border-radius:10px; background:#eae7f3; }
.rv-viz-bars>div>i>b { display:block; height:100%; border-radius:inherit; }
.rv-viz-bars strong { font-size:13px; text-align:right; }
.rv-viz-picker { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.rv-viz-picker button { display:flex; min-width:0; min-height:104px; align-items:flex-start; flex-direction:column; gap:7px; padding:15px; border:1px solid var(--viz-border); border-radius:14px; background:var(--viz-panel); color:var(--viz-ink); text-align:left; }
.rv-viz-picker button:hover { border-color:#aa9be2; }
.rv-viz-picker button[aria-pressed="true"] { border-color:#8b78d7; background:#f0ebfd; box-shadow:inset 0 0 0 1px #8b78d7; }
.rv-viz-picker strong { font-size:16px; }
.rv-viz-picker button>span:last-child { color:var(--viz-muted); font-size:14px; }
.rv-viz-symbol { display:grid; place-items:center; width:30px; height:30px; border-radius:10px; color:var(--viz-color); background:color-mix(in srgb,var(--viz-color) 12%,white); font-size:15px; font-weight:700; }
.rv-viz-detail { margin-top:18px; padding:25px; border:1px solid var(--viz-border); border-radius:15px; background:var(--viz-panel); }
.rv-viz-detail-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.rv-viz-detail-title { display:flex; align-items:center; gap:13px; }
.rv-viz-detail-title>span { display:grid; place-items:center; width:46px; height:46px; border-radius:13px; color:var(--viz-color); background:color-mix(in srgb,var(--viz-color) 12%,white); font-size:20px; font-weight:700; }
.rv-viz-detail-title h3 { margin:0; color:var(--viz-ink); font-size:22px; }.rv-viz-detail-title p { margin:6px 0 0; color:var(--viz-muted); font-size:14px; line-height:1.5; }
.rv-viz-count { color:var(--viz-muted); font-size:14px; white-space:nowrap; }
.rv-viz-detail-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:20px; align-items:center; margin-top:16px; }
.rv-viz-radar { display:block; width:min(100%,390px); max-height:325px; margin:auto; overflow:visible; }
.rv-viz-radar-small { max-height:225px; }
.rv-viz-grid { fill:none; stroke:#ddd8eb; stroke-width:1; }.rv-viz-axis { stroke:#ddd8eb; stroke-width:1; }.rv-viz-axis-label { fill:var(--viz-ink); font: 15px "Microsoft YaHei", "PingFang SC", sans-serif; }
.rv-viz-chart-caption { margin:0; color:var(--viz-muted); font-size:13px; line-height:1.5; text-align:center; }
.rv-viz-detail-list h4 { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin:0 0 6px; padding-bottom:12px; border-bottom:1px solid var(--viz-border); font-size:16px; }
.rv-viz-detail-list h4 small { color:var(--viz-muted); font-size:13px; font-weight:400; }
.rv-viz-detail-list button { display:flex; align-items:center; width:100%; gap:12px; padding:12px 2px; border:0; border-bottom:1px solid var(--viz-border); background:transparent; color:var(--viz-ink); text-align:left; }
.rv-viz-detail-list button:hover strong { color:var(--viz-purple); text-decoration:underline; }
.rv-viz-detail-list button>span { flex:1; min-width:0; }.rv-viz-detail-list button strong,.rv-viz-detail-list button small { display:block; }.rv-viz-detail-list button strong { font-size:15px; }.rv-viz-detail-list button small { margin-top:4px; color:var(--viz-muted); font-size:13px; line-height:1.5; }.rv-viz-detail-list button b { flex:none; font-size:14px; white-space:nowrap; }.rv-viz-detail-list button i { color:var(--viz-muted); font-size:23px; font-style:normal; }
.rv-viz-note { margin:18px 0 0; color:var(--viz-muted); font-size:13px; line-height:1.7; }
:root[data-theme="dark"] .rv-viz { --viz-surface:#292437; --viz-panel:#302a3d; --viz-ink:#f4effa; --viz-muted:#d0c8d9; --viz-border:#514861; --viz-purple:#7d68d4; background:#252032; }
:root[data-theme="dark"] .rv-viz-picker button[aria-pressed="true"] { background:#483d68; border-color:#b8a9f1; }
:root[data-theme="dark"] .rv-viz-grid,:root[data-theme="dark"] .rv-viz-axis { stroke:#625a72; }
@media(max-width:760px) { .rv-viz { padding:20px; }.rv-viz-head { align-items:flex-start; flex-direction:column; }.rv-viz-head h2 { font-size:24px; }.rv-viz-summary { grid-template-columns:1fr; }.rv-viz-picker { grid-template-columns:repeat(3,minmax(0,1fr)); }.rv-viz-picker button { min-height:92px; padding:12px; }.rv-viz-detail { padding:18px; }.rv-viz-detail-grid { grid-template-columns:1fr; gap:12px; }.rv-viz-radar { max-height:285px; }.rv-viz-radar-small { max-height:240px; } }
@media(max-width:390px) { .rv-viz { padding:15px; }.rv-viz-picker { gap:7px; }.rv-viz-picker button { padding:10px; }.rv-viz-picker strong { font-size:15px; }.rv-viz-count { font-size:12px; } }
@media print { .rv-viz-toggle { display:none; }.rv-viz { break-inside:avoid; }.rv-viz-picker button { break-inside:avoid; } }
/* Keep chart labels and explanations legible at normal desktop and mobile widths. */
.rv-viz-radar-small .rv-viz-axis-label { font-size:22px; }
.rv-viz-detail-list button small { font-size:15px; }
.rv-viz-chart-caption, .rv-viz-note { font-size:14px; }
.rv-viz-axis-label { font-size:21px; }
.rv-viz-radar-small .rv-viz-axis-label { font-size:22px; }
