/* Daily store-wide rating (not the mean of sampled public reviews).
   Shared exact app/store/market/period and selected peer with Review Insights.
 */
.rvh-surface{--rvh-ink:var(--ink-strong,#17263e);margin-bottom:15px}
.rvh-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 12px}
.rvh-app-card{min-width:0;border:1px solid var(--rvc-line,#e1e7f0);border-radius:10px;
 padding:15px;background:var(--soft,#f7f9fc);border-left:3px solid var(--rvc-primary,#586de3)}
.rvh-app-card.peer{border-left-color:var(--rvc-peer,#d68e36)}
.rvh-app-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}
.rvh-app-top strong{font-size:12px;color:var(--rvh-ink);line-height:1.4}
.rvh-app-top span{font-size:10px;font-weight:680;color:var(--secondary,#66758b)}
.rvh-rating{font-weight:850;color:var(--rvh-ink);letter-spacing:-.5px;line-height:1.2;font-size:27px;margin:9px 0}
.rvh-rating small{font-size:12px;letter-spacing:0;font-weight:650;color:var(--secondary,#64748b)}
.rvh-meta{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.rvh-meta b{font-size:11px;padding:4px 7px;background:var(--paper,#fff);border:1px solid var(--rvc-line);
 border-radius:5px;color:var(--ink,#26334a);overflow-wrap:anywhere}
.rvh-meta span{font-size:10px;color:var(--secondary,#64748b)}
.rvh-details{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;padding-top:11px;
 margin-top:12px;border-top:1px solid var(--rvc-line,#e1e7f0);font-size:10px;color:var(--secondary,#64748b)}
.rvh-legend{margin-top:15px;margin-bottom:3px}
.rvh-comparable{font-size:11px;color:var(--secondary,#64748b);padding:8px 11px;background:var(--soft,#f7f9fc);border-radius:8px;margin:5px 0}
.rvh-plot-scroll{width:100%;max-width:100%;overflow-x:auto;scrollbar-color:#a9b9d3 transparent;
  border:1px solid var(--rvc-line,#e1e7f0);border-radius:9px;padding:8px 3px;background:var(--paper,#fff);
  touch-action:pan-x pan-y}
.rvh-plot-scroll svg{display:block;max-width:none;height:298px;min-width:100%}
.rvh-grid-line{stroke:var(--rvc-line,#e1e7f0);stroke-width:1;stroke-dasharray:3 5}
.rvh-grid-label{font-size:10px;fill:var(--secondary,#64748b)}
.rvh-line{stroke-width:2.8;stroke-linecap:round;fill:none}
.rvh-line.primary{stroke:var(--rvc-primary,#586de3)}
.rvh-line.peer{stroke:var(--rvc-peer,#d68e36)}
.rvh-circle{stroke:var(--paper,#fff);stroke-width:2;cursor:help}
.rvh-circle.primary{fill:var(--rvc-primary,#586de3)}
.rvh-circle.peer{fill:var(--rvc-peer,#d68e36)}
.rvh-circle.has-version{stroke:var(--rvh-ink);stroke-width:1.6}
.rvh-point-group:focus-visible{outline:none}
.rvh-point-group:focus-visible .rvh-circle{stroke:var(--rvh-ink);stroke-width:3}
.rvh-version-label{font-size:10px;font-weight:780;paint-order:stroke;stroke:var(--paper,#fff);stroke-width:3px;stroke-linejoin:round}
.rvh-version-label.primary{fill:var(--rvc-primary,#586de3)}.rvh-version-label.peer{fill:var(--rvc-peer,#d68e36)}
.rvh-version-events{padding:10px 0 7px;border-bottom:1px solid var(--rvc-line)}
.rvh-version-events>strong{display:block;font-size:11px;font-weight:800;margin-bottom:9px;color:var(--rvh-ink)}
.rvh-version-events>div{display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px}
.rvh-version-event{display:inline-flex;flex-direction:column;gap:2px;padding:7px 10px;
 border:1px solid var(--rvc-line);border-radius:8px;background:var(--soft,#f7f9fc);
 color:var(--ink,#26334a);font-size:11px;line-height:1.35;border-left:3px solid var(--rvc-primary,#586de3)}
.rvh-version-event.peer{border-left-color:var(--rvc-peer,#d68e36)}
.rvh-version-event b{font-size:10px}
.rvh-version-event small{font-size:10px;color:var(--secondary,#64748b)}
.rvh-table-panel{padding-top:14px}
.rvh-table-panel summary{font-size:12px;font-weight:760;cursor:pointer;color:var(--blue-strong,#5364db)}
.rvh-table-scroll{max-height:430px;max-width:100%;overflow:auto;margin-top:11px;border:1px solid var(--rvc-line);border-radius:8px}
.rvh-table-scroll table{width:100%;border-collapse:collapse;min-width:420px}
.rvh-table-scroll th,.rvh-table-scroll td{padding:11px;border-bottom:1px solid var(--rvc-line);
 vertical-align:top;text-align:left;font-size:11px;line-height:1.5}
.rvh-table-scroll thead{position:sticky;top:0;background:var(--paper,#fff);z-index:1}
.rvh-table-scroll thead th{color:var(--secondary,#64748b);font-size:10px}
.rvh-table-scroll tbody th{white-space:nowrap;font-weight:740;color:var(--rvh-ink)}
.rvh-cell{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.rvh-cell b{font-weight:820;color:var(--rvh-ink)}
.rvh-cell span{font-size:10px;color:var(--ink,#26334a)}
.rvh-cell small{font-size:10px;color:var(--secondary,#64748b)}
.rvh-cell a{font-size:10px;color:var(--blue-strong,#5364db);font-weight:720}
.rvh-missing{color:var(--secondary,#64748b);font-size:10px}
.rvh-hint{font-size:11px;color:var(--secondary,#64748b);line-height:1.65;margin:12px 0 0}
.rvh-source-warning{font-size:11px;color:#b17828;background:#fff6e9;border-radius:7px;padding:8px 11px}
.rvh-empty{font-size:12px;color:var(--secondary,#64748b);padding:20px;border:1px dashed var(--rvc-line);
 border-radius:9px;background:var(--soft,#f7f9fc)}
@media(max-width:720px){.rvh-app-grid{grid-template-columns:1fr;gap:8px}
 .rvh-app-card{padding:12px}.rvh-rating{font-size:24px}
 .rvh-app-top{gap:6px}.rvh-plot-scroll{padding:5px 2px}
 .rvh-version-event{font-size:10px}.rvh-meta b{max-width:100%}
 .rvh-table-panel summary{line-height:1.5}}

.rvh-head-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--secondary,#64748b);white-space:nowrap}
.rvh-head-actions button{font-size:11px;min-height:36px;font-weight:760;cursor:pointer;padding:7px 12px;background:var(--paper,#fff);border:1px solid var(--rvc-line,#e1e7f0);border-radius:8px;color:var(--ink,#26334a)}
.rvh-head-actions button:hover{background:var(--blue-bg,#eef1ff)}
.rvh-head-actions button:disabled{opacity:.5;cursor:default}
@media(max-width:720px){.rvh-head-actions{margin-top:8px;white-space:normal}}

/* Same dashboard tooltip vocabulary as category / keyword charts. */
.rvh-chart-frame{position:relative;min-width:0;isolation:isolate}
.rvh-chart-frame .rvh-plot-scroll{cursor:crosshair}
.rvh-hover-guide{stroke:var(--blue-strong,#5364db);stroke-width:1.4;stroke-dasharray:4 4;pointer-events:none;opacity:.77}
.rvh-point-group .rvh-circle.is-hovered{stroke:var(--blue-strong,#5364db);stroke-width:3.3;filter:drop-shadow(0 0 3px #5364db66)}
.rvh-hover-tooltip{position:absolute;z-index:6;top:13px;
 width:min(288px,calc(100% - 12px));transform:translateX(-50%);
 pointer-events:none;color:var(--ink,#202b42);background:var(--paper,#fff);
 border:1px solid var(--line,#e3e9f1);border-radius:11px;padding:12px 13px;
 box-shadow:0 14px 38px #14203128;line-height:1.45}
.rvh-hover-tooltip[hidden]{display:none!important}
.rvh-tip-date{font-size:11px;font-weight:820;padding:0 0 9px;border-bottom:1px solid var(--line,#e3e9f1);color:var(--ink-strong,#111e33)}
.rvh-tip-series{padding:9px 0 0}
.rvh-tip-series+.rvh-tip-series{margin-top:8px;border-top:1px solid var(--line,#e3e9f1)}
.rvh-tip-name{font-size:11px;font-weight:760;color:var(--ink-strong,#111e33);display:flex;align-items:center;gap:7px}
.rvh-tip-name i{width:11px;height:11px;flex-shrink:0;border-radius:3px;background:var(--rvc-primary,#586de3)}
.rvh-tip-series.peer .rvh-tip-name i{background:var(--rvc-peer,#d68e36)}
.rvh-tip-score{display:flex;align-items:baseline;gap:5px;padding-top:5px}
.rvh-tip-score strong{font-size:21px;letter-spacing:-.55px;color:var(--ink-strong,#111e33);font-variant-numeric:tabular-nums}
.rvh-tip-score small{font-size:10px;color:var(--secondary,#627187)}
.rvh-tip-meta{display:flex;flex-wrap:wrap;gap:3px 12px;font-size:10px;color:var(--secondary,#627187);line-height:1.5}
.rvh-tip-meta span{overflow-wrap:anywhere}
.rvh-tip-empty{font-size:11px;color:var(--secondary,#627187);padding-top:6px}
@media(max-width:700px){.rvh-hover-tooltip{top:8px;padding:10px 12px}.rvh-tip-score strong{font-size:18px}}
