/* Styles for the tracking debug panel only (opened with ?debug=1 or by typing "dbg").
   Self-contained: it must look the same on every page, so it does not use page tokens. */
.st-panel {
  position: fixed; right: 8px; bottom: 8px; z-index: 2147483000;
  width: min(460px, calc(100vw - 16px)); max-height: 55vh;
  display: flex; flex-direction: column;
  background: #10242b; color: #e8f1f3; border-radius: 12px;
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.st-panel[hidden] { display: none; }
.st-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 10px; border-bottom: 1px solid #28434c; }
.st-title { color: #8fd3e8; font-size: 12px; }
.st-info { flex: 1 1 100%; color: #a9c2c9; font-size: 11px; order: 5; }
.st-btn {
  appearance: none; border: 1px solid #3b5e69; background: #17333c; color: #e8f1f3;
  border-radius: 6px; padding: 4px 9px; font: inherit; cursor: pointer; min-height: 28px;
}
.st-btn:hover { background: #21464f; }
.st-btn:focus-visible { outline: 2px solid #8fd3e8; outline-offset: 2px; }
.st-bar .st-btn:first-of-type { margin-left: auto; }
.st-list { list-style: none; margin: 0; padding: 4px 0; overflow: auto; }
.st-row { padding: 6px 10px; border-bottom: 1px solid #1d3a43; }
.st-head { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.st-n { color: #6f8f99; }
.st-ev { color: #ffd479; font-weight: 700; }
.st-id { color: #8fd3e8; }
.st-status { margin-left: auto; font-size: 11px; color: #9fd8a8; }
.st-suppressed .st-status { color: #f2a1a1; }
.st-logged .st-status { color: #c9c3a0; }
.st-props { display: block; color: #b7cdd3; white-space: pre-wrap; word-break: break-word; font-size: 11px; }
.st-dropped { display: block; color: #f2a1a1; font-size: 11px; }
@media (max-width: 520px) { .st-panel { left: 8px; right: 8px; width: auto; max-height: 45vh; } }
@media (prefers-reduced-motion: no-preference) { .st-panel { transition: opacity .15s; } }
