/* report-specific styles (on top of the shared theme.css) */

#list { display: flex; flex-direction: column; gap: 8px; }

.report-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--surface-1);
  border: 1px solid var(--outline-variant);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  width: 100%;
  transition: border-color 0.12s, background 0.12s;
}
.report-row:hover { border-color: var(--primary-container); background: var(--surface-2); }
.report-row .msg { min-width: 0; }
.report-row .msg b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-row .msg small { color: var(--on-surface-variant); font-family: var(--font-mono); font-size: 0.72rem; }
.report-row .when { color: var(--on-surface-variant); font-family: var(--font-mono); font-size: 0.72rem; white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot.error { background: var(--poor); }
.dot.warning { background: var(--needs); }
.dot.info { background: var(--primary); }

/* detail modal */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(8px, 4vw, 48px);
  overflow: auto;
  z-index: 40;
}
.sheet {
  width: 100%;
  max-width: 760px;
  margin: auto 0;
}
.field { margin-top: 14px; }
.field > .k {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
}
.field > .k::before { content: "> "; opacity: 0.6; }
.field .v { margin-top: 3px; word-break: break-word; }
.kv { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--on-surface-variant); }
.kv span b { color: var(--on-surface); font-weight: 500; }
