/* Checker console page-specific styles. Layout, console and findings
   classes all come from shellproof.css; this file only adds the small extras the
   checker console needs. Works at 375px and in light + dark via the design
   tokens. No colors are hard-coded. */

.side-note {
  padding: 4px 10px 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-muted);
  margin: 0;
}

.tabpane { max-width: 860px; }

.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row-end { align-items: flex-end; }
.field-grow { flex: 1 1 200px; margin-bottom: 0; }

.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--fg-muted);
  white-space: nowrap;
  padding-bottom: 10px;
}
.check-inline input { width: 15px; height: 15px; accent-color: var(--fg); }

.results { margin-top: 24px; }
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.results-sum { min-width: 0; }

/* verdict cards (version tab) */
.verdict + .verdict { margin-top: 16px; }
.verdict-head p { margin: 6px 0 0; color: var(--fg-2); }
.verdict-meta { margin-top: 18px; display: grid; gap: 14px; }
.verdict-meta h4 {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 6px;
  font-weight: 600;
}
.verdict-meta ul { margin: 0; padding-left: 18px; }
.verdict-meta li { margin: 2px 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.verdict-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.verdict-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.scan-progress { margin-top: 16px; display: grid; gap: 8px; }
.scan-progress p { margin: 0; }

.spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--fg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.console-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); }

.dropzone.drag { outline: none; }
.dropzone code { font-size: 12px; }

/* On mobile the sidebar collapses to a horizontal tab row (shellproof.css); keep
   the "Local only" label and note out of that row so it stays a clean strip. */
@media (max-width: 880px) {
  .side-note { display: none; }
  .side .label { display: none; }
}
