/* Styles for the in-page PhishGuard micro-demo, applied from app.js.
   Element-level rules only for the native controls (no class is invented in the HTML),
   plus the classes app.js assigns at runtime. */

select {
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--bg-soft);
  color: var(--text);
  font: inherit;
}

.pgToken {
  margin: 0.5rem 0 0.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background-color: var(--bg-soft);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.pgOutcome {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
}

.pgOutcome--ok {
  border-color: var(--accent);
}

.pgOutcome--bad {
  border-color: #f38ba8;
}

.pgOutcome--warn {
  border-color: #f9e2af;
}

.pgOutcome__title {
  margin: 0 0 0.3rem;
  font-weight: 650;
  color: var(--text);
}

/* The spec rows carry a 64-character hash and a 32-character signature. A grid item's
   default min-width is auto, so an unbreakable string widened the column past the viewport
   and the .spec box clipped it — no scrollbar, but the end of the hash was invisible.
   min-width: 0 lets the column shrink and overflow-wrap lets the string break. */
.spec__row,
.spec__key,
.spec__val {
  min-width: 0;
}

.spec__val {
  overflow-wrap: anywhere;
}
