/* Tables are locally scrollable, with values and locus labels available as text. */
.fingerprint-table-scroll { max-width: 100%; overflow-x: auto; margin: 1rem 0; border-radius: .5rem; }
.fingerprint-table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: 1rem; }
.fingerprint-table caption { padding: .35rem 0; font-weight: 700; text-align: left; }
.fingerprint-table th, .fingerprint-table td { border: 1px solid var(--osm-line, #aebeb9); padding: .5rem; text-align: left; vertical-align: top; }
.fingerprint-table thead { background: var(--acc-soft, #e6f2ef); color: var(--ink, #183e3b); }
.fingerprint-table-scroll:focus-visible { outline: 3px solid var(--focus, #1f4fd1); outline-offset: 2px; }
.fingerprint-pilot .kc-visual { max-width: 24rem; margin: .5rem auto; }
.fingerprint-pilot .kc-visual svg { display: block; width: 100%; height: auto; }
.fingerprint-pilot .osm-routes > a { min-width: 0; padding-inline: .15rem; white-space: nowrap; overflow-wrap: normal; }

.fingerprint-scroll-hint { display: none; }
@media (max-width: 38rem) { .fingerprint-scroll-hint { display: block; font-size: .9rem; } }
/* At enlarged text sizes, keep route labels and the course name readable. */
body:has(#fingerprint-pilot) header .top-inner > .brand { flex: 1 0 min(10rem, 100%); min-width: 0; }
@container (max-width: 15rem) {
  main .fingerprint-pilot .osm-routes:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
  .fingerprint-pilot .osm-routes > a { white-space: normal; overflow-wrap: normal; }
}
body:has(#fingerprint-pilot) header.top { container-type: inline-size; }
@container (max-width: 15rem) {
  body:has(#fingerprint-pilot) header.top .top-inner { flex-wrap: wrap; padding-right: 1rem; }
  body:has(#fingerprint-pilot) header.top .top-inner > .brand { flex: 1 0 100%; }
  body:has(#fingerprint-pilot) header.top .settings-shortcut { position: static; }
}
@container (max-width: 15rem) {
  body:has(#fingerprint-pilot) header.top .brand { font-size: .75rem; overflow-wrap: normal; }
  body:has(#fingerprint-pilot) header.top .brand .logo { width: 1.7em; }
}
