/* Copyright 2026 EmpirioLabs.ai LLC. Licensed under the Apache License, Version 2.0. */
/* What the classifier page adds to the shared Canora page style (style.css, uploaded from space-canora-static). */

.panel h2 {
  margin: 0 0 6px;
  color: var(--strong);
  font-size: 18px;
  font-weight: 600;
}

.panel + .panel { margin-top: 18px; }

.hint { margin: 0 0 14px; color: var(--muted); font-size: 14px; }

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  color: var(--strong);
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.secondary-button:hover { border-color: var(--cyan); color: #fff; }
.secondary-button.recording { border-color: var(--danger); color: #fff; }
.secondary-button.file input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.secondary-button.file:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }

#clip { width: 100%; margin-top: 14px; }

.examples { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.examples button {
  padding: 6px 10px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
}
.examples button:hover { border-color: var(--cyan); color: #fff; }

.results { display: grid; gap: 18px; margin-top: 16px; }
.results:empty { display: none; }
.result-card {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.result-card h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  color: var(--strong);
  font-size: 15px;
  font-weight: 600;
}
.result-card h3 a { color: var(--muted); font-size: 13px; font-weight: 400; text-decoration: none; }
.result-card h3 a:hover { color: var(--cyan); }
.score { display: grid; grid-template-columns: 70px 1fr 52px; align-items: center; gap: 10px; margin: 6px 0; font-size: 14px; }
.score .name { color: var(--text); }
.score.top .name { color: var(--strong); font-weight: 600; }
.score .track { height: 8px; background: var(--surface-strong); border-radius: 4px; overflow: hidden; }
.score .track span { display: block; height: 100%; background: rgba(255, 255, 255, 0.28); border-radius: 4px; }
.score.top .track span { background: var(--cyan); }
.score .value { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
  .actions .secondary-button { flex: 1 1 45%; }
}
