/* Shared mobile shell: keep navigation controls within the viewport. */
@media (max-width: 680px) {
  #topbar { gap: .5rem; padding-inline: .75rem; }
  #topbar .tb-brand { width: auto; min-width: 0; gap: .4rem; flex-shrink: 1; }
  #topbar .tb-mid, #topbar .tb-divider { display: none; }
  #topbar .tb-right { margin-left: auto; gap: .4rem; flex-shrink: 0; }
  #topbar .tb-ver { display: none; }
  /* Long evidence identifiers may wrap; tables retain their own scroll containers. */
  .doc { overflow-wrap: anywhere; }
  .table-scroll { max-width: 100%; overflow-x: auto; }
  .table-scroll > .evidence-table { min-width: 40rem; }
  .table-scroll > .evidence-table th { width: auto; }
}
