/* 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:14px;font-variant-numeric:tabular-nums}
.rvh-surface .rvc-section-title{gap:10px;margin-bottom:9px}
#rvhExportStatus:empty{display:none}
.rvh-app-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:8px;margin:0 0 8px}
.rvh-app-card{min-width:0;border:1px solid var(--rvc-line);border-radius:9px;padding:10px 12px;
 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:2px 8px}
.rvh-app-top strong{min-width:0;font-size:12px;color:var(--rvh-ink);line-height:1.4;overflow-wrap:anywhere}
.rvh-app-top small,.rvh-summary-dates{font-size:11px;color:var(--secondary,#66758b)}
.rvh-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:8px 0 5px}
.rvh-stat{display:flex;flex-direction:column;gap:3px;min-width:0}
.rvh-stat+.rvh-stat{padding-left:8px;border-left:1px solid var(--rvc-line)}
.rvh-stat>b{color:var(--rvh-ink);font-size:clamp(13px,1.45vw,20px);line-height:1.16;font-weight:780;white-space:nowrap;letter-spacing:-.025em}
.rvh-stat>b.rvh-rating{color:var(--rvc-primary);margin:0;font-size:clamp(17px,1.6vw,23px)}
.rvh-app-card.peer .rvh-stat>b.rvh-rating{color:var(--rvc-peer)}
.rvh-stat>b small{font-size:.65em}
.rvh-stat>span{font-size:11px;line-height:1.25;color:var(--secondary,#64748b)}
.rvh-surface .up{color:#1c725f}.rvh-surface .down{color:#aa3d3a}
body.dark .rvh-surface .up{color:#74cfaf}
body.dark .rvh-surface .down{color:#ffa39d}
.rvh-summary-dates{display:block;line-height:1.4}
.rvh-toolbar{display:flex;align-items:center;justify-content:space-between;gap:3px 14px;flex-wrap:wrap;
 color:var(--secondary,#64748b);font-size:12px;margin:0 0 6px}
.rvh-trend-control,.rvh-release-control{display:inline-flex;align-items:center;min-height:36px;gap:6px;min-width:0}
.rvh-trend-control{cursor:pointer;color:var(--ink);font-weight:670}
.rvh-trend-control input{accent-color:var(--rvc-primary);width:16px;height:16px;margin:0}
.rvh-trend-control i{width:14px;border-top:2px dashed currentColor}
.rvh-release-control select{min-height:34px;max-width:100%;width:min(240px,45vw);padding:3px 6px;font:inherit;
 color:var(--ink);background:var(--paper);border:1px solid var(--rvc-line);border-radius:7px}
.rvh-chart-caption,.rvh-release-panel p{color:var(--secondary,#64748b);font-size:11px;line-height:1.5;margin:7px 0 0}
.rvh-stat>b.rvh-stable{color:var(--secondary);font-size:clamp(12px,1.2vw,17px)}
.rvh-modes{display:inline-flex;gap:2px;padding:2px;border-radius:8px;border:1px solid var(--rvc-line);background:var(--soft);max-width:100%}
.rvh-modes button{border:0;background:none;color:var(--secondary);border-radius:6px;padding:5px 8px;min-height:28px;font:inherit;font-weight:650;cursor:pointer}
.rvh-modes button[aria-pressed=true]{background:var(--paper);color:var(--ink-strong);box-shadow:0 1px 4px #17263e18}
.rvh-history-start,.rvh-trend-summary{margin:4px 0 7px;font-size:11px;color:var(--secondary);line-height:1.4}
.rvh-trend-summary{font-weight:650;color:var(--ink)}
.rvh-release-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.rvh-release-actions button,.rvc-evidence-head button{font:inherit;font-size:12px;color:var(--blue-strong);border:1px solid var(--rvc-line);background:var(--paper);border-radius:7px;padding:5px 9px;min-height:34px;cursor:pointer}
.rvh-release-marker{stroke:var(--ink-strong);stroke-width:1.6;stroke-dasharray:4 3;opacity:.7;pointer-events:none}
.rvh-release-band.after{fill:var(--rvc-peer);opacity:.12}
.rvh-hatch{stroke:var(--paper);stroke-width:.9;opacity:.8;pointer-events:none}
.rvh-circle.primary.first-version,.rvh-circle.peer.first-version{fill:var(--paper);stroke:currentColor;stroke-width:2}
.rvh-circle.first-version.primary{color:var(--rvc-primary)}.rvh-circle.first-version.peer{color:var(--rvc-peer)}
.rvh-pinned-axis{display:none;position:absolute;z-index:2;top:9px;left:4px;background:var(--paper);border-right:1px solid var(--rvc-line);pointer-events:none}
.rvh-axis-visible .rvh-pinned-axis{display:block}
.rvh-trend-control[hidden]{display:none}
.rvh-disclosures{display:flex;flex-wrap:wrap;column-gap:16px;border-top:1px solid var(--rvc-line);margin-top:9px}
.rvh-disclosures .rvh-table-panel,.rvh-topics-link{padding:0;border:0;min-width:0;max-width:100%}
.rvh-disclosures .rvh-table-panel[open]{flex-basis:100%}
.rvh-disclosures .rvh-table-panel>summary,.rvh-topics-link{padding:9px 0;min-height:35px}
.rvh-topics-link{text-align:left;background:none;color:var(--blue-strong);font:inherit;font-size:12px;font-weight:730;cursor:pointer}
.rvh-release-panel{padding:9px 11px;margin-top:8px;background:var(--soft);border:1px solid var(--rvc-line);border-radius:9px;scroll-margin-block:18px}
.rvh-release-panel[hidden]{display:none}
.rvh-release-title{display:flex;align-items:center;justify-content:space-between;gap:3px 10px;flex-wrap:wrap;font-size:12px}
.rvh-release-title span,.rvh-release-wrap small{font-size:11px;color:var(--secondary)}
.rvh-release-wrap table{table-layout:fixed;width:100%;border-collapse:collapse;margin-top:5px}
.rvh-release-wrap th,.rvh-release-wrap td{border-bottom:1px solid var(--rvc-line);text-align:left;padding:6px 5px;font-size:12px;vertical-align:top;overflow-wrap:anywhere}
.rvh-release-wrap th:first-child{width:38%;padding-left:0}.rvh-release-wrap th{font-weight:680}
.rvh-release-wrap small{display:block;margin-top:2px;line-height:1.3}
.rvh-release-wrap td b{font-size:16px;color:var(--rvh-ink)}
.rvh-release-band{fill:var(--blue-strong);opacity:.075;pointer-events:none}
.rvh-trend-plot{pointer-events:none}
.rvh-chart-frame[data-average=off] .rvh-trend-plot{display:none}
.rvh-trend-line{fill:none;stroke-width:2;stroke-dasharray:4 3;stroke-linecap:round;paint-order:stroke}
.rvh-trend-halo{fill:none;stroke:var(--paper,#fff);stroke-width:4;stroke-dasharray:4 3;stroke-linecap:round;opacity:.85}
.rvh-trend-line.primary{stroke:var(--rvc-primary)}.rvh-trend-line.peer{stroke:var(--rvc-peer)}
.rvh-trend-dot.primary{fill:var(--rvc-primary)}.rvh-trend-dot.peer{fill:var(--rvc-peer)}
.rvh-count-bar.is-partial{opacity:.38;stroke:var(--rvh-ink);stroke-width:.7;stroke-dasharray:2 2}
.rvh-point-group[data-rvh-release] :is(.rvh-hit-target,.rvh-circle){cursor:pointer}
.rvh-point-group[aria-pressed=true] .rvh-circle{stroke-width:3.4}
.rvh-version-events>div{padding:2px 0 8px}
.rvh-disclosures .rvh-hint{margin:0 0 7px}
#rvhReviewTopics{scroll-margin-block:80px}
.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;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-chart-heading{font-size:13px;font-weight:760;fill:var(--rvh-ink)}
.rvh-zero-line{stroke:var(--secondary,#64748b);stroke-dasharray:none;opacity:.55}
.rvh-count-bar{opacity:.75;cursor:crosshair}
.rvh-count-bar.primary{fill:var(--rvc-primary,#586de3)}
.rvh-count-bar.peer{fill:var(--rvc-peer,#d68e36)}
.rvh-count-bar.is-hovered,.rvh-point-group:focus-visible .rvh-count-bar{opacity:1;stroke:var(--rvh-ink);stroke-width:1.3}
.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);stroke-dasharray:5 3}
.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-hit-target{fill:transparent;stroke:none;pointer-events:all;cursor:crosshair}
.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-surface .rvh-app-grid{grid-template-columns:1fr;gap:6px}
 .rvh-surface .rvh-app-card{padding:8px 9px}
 .rvh-stat>b{font-size:16px}.rvh-surface .rvh-stat>b.rvh-rating{font-size:20px}
 .rvh-plot-scroll{padding:4px 2px}
 .rvh-pinned-axis{top:5px;left:3px}
 .rvh-modes button{min-height:32px}
 .rvh-table-panel summary{line-height:1.5}
 .rvh-release-wrap .app-identity{align-items:flex-start}
}

.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 .rvc-compare-select{min-width:0;max-width:100%}
.rvh-head-actions select{max-width:min(260px,100%);min-height:36px;background:var(--paper);color:var(--ink);border:1px solid var(--rvc-line);border-radius:8px;font:inherit;padding:5px 6px}
.rvh-head-actions .app-select-value{min-width:0;max-width:100%}
.rvh-head-actions .app-select-value select{min-width:0}
.rvh-export{position:relative;align-self:end}
.rvh-export>summary{min-height:36px;display:flex;align-items:center;gap:4px;padding:5px 7px;border:1px solid var(--rvc-line);border-radius:8px;color:var(--ink);font-weight:710;cursor:pointer;list-style:none}
.rvh-export>summary::after{content:'▾';color:var(--secondary)}
.rvh-export>summary::-webkit-details-marker{display:none}
.rvh-export>div{position:absolute;z-index:8;inset:calc(100% + 4px) 0 auto auto;display:flex;gap:4px;padding:4px;background:var(--paper);border:1px solid var(--rvc-line);border-radius:8px;box-shadow:0 4px 12px #14203120}
.rvh-export:not([open])>div{display:none}
.rvh-disclosures #ratingChartNotes{border:0;margin:0;padding:0 0 8px}
.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:6px;gap:5px;white-space:normal;flex-wrap:nowrap}.rvh-head-actions .rvc-compare-select{flex:1}.rvh-head-actions select{width:min(235px,100%);max-width:100%}}
.rv-page .rv-sample-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rv-page .rv-sample-metrics article{min-height:0;padding:10px 12px}

/* 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-point-group .rvh-circle.peer.is-hovered{stroke:var(--rvc-peer,#d68e36);filter:drop-shadow(0 0 3px #b46a2a66)}
.rvh-hover-tooltip{position:absolute;z-index:6;top:13px;
 width:min(288px,calc(100% - 16px));box-sizing:border-box;
 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}}
