/* Scan or text? demo: drop zone, buttons and result. Uses the site's tokens. */

#demo { margin: 1.5rem 0 2rem; }

.drop {
  padding: 1.25rem;
  border: 1.5px dashed var(--rule);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.drop.over { border-color: var(--text); background: var(--hover); }
.drop p { margin: 0 0 0.75rem; color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--text); }
.btn.ghost:hover { background: var(--hover); }
label.btn:has(+ input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.result:empty { display: none; }
.result { margin-top: 1.25rem; padding: 1rem 1.1rem; border: 1px solid var(--rule); border-radius: var(--radius); }
.result .verdict { margin: 0 0 0.6rem; font-family: var(--display); font-size: var(--step-lead); line-height: 1.3; }
.prose .counts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.prose .counts li { margin: 0; color: var(--muted); }
.counts b { color: var(--text); font-variant-numeric: tabular-nums; }
.note { font-size: var(--step-small); color: var(--muted); }
