/* firebase-changelog-service/admin/views/help-votes.css
   Help Votes: the read-only table of per-article "Was this helpful?" votes.
   Laid out like App Fleet (app-fleet.css) on the admin theme tokens; no new
   tokens. */

.hv-root { max-width: 1280px; margin: 0 auto; padding: 24px; }

.hv-top-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.hv-top-bar h1 { font-size: 22px; font-weight: 700; margin: 0; }
.hv-note { color: var(--lf-text-muted); font-size: 12px; margin-bottom: 18px; max-width: 820px; }
.hv-summary { color: var(--lf-text); font-size: 13px; margin-bottom: 12px; min-height: 18px; }
.hv-warn { color: var(--lf-warn); margin-left: 8px; }

.hv-btn-primary,
.hv-retry {
  background: var(--lf-panel); color: var(--lf-text);
  border: 1px solid var(--lf-border); border-radius: var(--radius-sm, 8px);
  padding: 6px 12px; font-size: 13px; cursor: pointer; transition: background 0.15s;
}
.hv-btn-primary { background: var(--lf-accent); color: var(--lf-accent-contrast, #0c1429); border-color: var(--lf-accent); }
.hv-retry:hover { background: var(--lf-panel-hover); }
.hv-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.hv-btn-primary:focus-visible,
.hv-retry:focus-visible,
.hv-link:focus-visible { outline: 2px solid var(--lf-accent); outline-offset: 2px; }

.hv-table { width: 100%; border-collapse: collapse; background: var(--lf-panel); border: 1px solid var(--lf-border); border-radius: var(--radius-sm, 8px); overflow: hidden; font-size: 13px; }
.hv-table thead th { text-align: left; padding: 10px 12px; background: var(--lf-panel-hover); color: var(--lf-text-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; border-bottom: 1px solid var(--lf-border); white-space: nowrap; }
.hv-table td { padding: 10px 12px; vertical-align: top; color: var(--lf-text); border-bottom: 1px solid var(--lf-border); }
.hv-table tbody tr:last-child td { border-bottom: none; }
.hv-table th.hv-num, .hv-table td.hv-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hv-table td.hv-no { font-weight: 600; }
.hv-table td.hv-low { color: var(--lf-error); font-weight: 600; }
.hv-table td.hv-when { white-space: nowrap; color: var(--lf-text-muted); font-variant-numeric: tabular-nums; }
.hv-article { min-width: 220px; }
.hv-link { color: var(--lf-accent); text-decoration: none; }
.hv-link:hover { text-decoration: underline; }
.hv-id { margin-top: 3px; font-size: 11px; color: var(--lf-text-muted); font-family: var(--lf-mono, 'JetBrains Mono', monospace); word-break: break-all; }

.hv-empty { padding: 48px 24px; text-align: center; color: var(--lf-text-muted); font-size: 14px; background: var(--lf-panel); border: 1px solid var(--lf-border); border-radius: var(--radius-sm, 8px); }
.hv-empty-title { color: var(--lf-text); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.hv-error { padding: 16px; border: 1px solid var(--lf-error-border); background: var(--lf-error-bg); color: var(--lf-error); border-radius: var(--radius-sm, 8px); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hv-root { padding: 16px; }
  .hv-table { display: block; overflow-x: auto; }
  .hv-article { min-width: 160px; }
}
